Skip to main content

CreateOrganizationTagConstraintInput

Define a structural tag constraint for your organization. Tag constraints control which tags can be set on resources at each level of the hierarchy.

input CreateOrganizationTagConstraintInput {
key: String!
required: Boolean
scope: TagConstraintScope!
}

Fields

CreateOrganizationTagConstraintInput.key ● String! non-null scalar {#key}

The tag key name. Must start with a letter. Keys starting with MD_ are reserved.

CreateOrganizationTagConstraintInput.required ● Boolean scalar {#required}

Whether this tag must be set when creating a resource at the specified scope.

CreateOrganizationTagConstraintInput.scope ● TagConstraintScope! non-null enum {#scope}

The resource level where this tag is set. Values cascade to child resources.

Member Of

createOrganizationTagConstraint mutation