1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. cloudwatch
  6. DomainAccessGrantForOrganization

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi

    Resource Type definition for AWS::CloudWatch::DomainAccessGrantForOrganization. An organization access grant authorizes a principal to administer an organization domain.

    Create DomainAccessGrantForOrganization Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DomainAccessGrantForOrganization(name: string, args: DomainAccessGrantForOrganizationArgs, opts?: CustomResourceOptions);
    @overload
    def DomainAccessGrantForOrganization(resource_name: str,
                                         args: DomainAccessGrantForOrganizationArgs,
                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def DomainAccessGrantForOrganization(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         domain_id: Optional[str] = None,
                                         permission: Optional[DomainAccessGrantForOrganizationPermission] = None,
                                         principal: Optional[DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipalArgs] = None,
                                         name: Optional[str] = None,
                                         tags: Optional[Sequence[_root_inputs.CreateOnlyTagArgs]] = None)
    func NewDomainAccessGrantForOrganization(ctx *Context, name string, args DomainAccessGrantForOrganizationArgs, opts ...ResourceOption) (*DomainAccessGrantForOrganization, error)
    public DomainAccessGrantForOrganization(string name, DomainAccessGrantForOrganizationArgs args, CustomResourceOptions? opts = null)
    public DomainAccessGrantForOrganization(String name, DomainAccessGrantForOrganizationArgs args)
    public DomainAccessGrantForOrganization(String name, DomainAccessGrantForOrganizationArgs args, CustomResourceOptions options)
    
    type: aws-native:cloudwatch:DomainAccessGrantForOrganization
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_cloudwatch_domain_access_grant_for_organization" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DomainAccessGrantForOrganizationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DomainAccessGrantForOrganizationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DomainAccessGrantForOrganizationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DomainAccessGrantForOrganizationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DomainAccessGrantForOrganizationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    DomainAccessGrantForOrganization Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DomainAccessGrantForOrganization resource accepts the following input properties:

    DomainId string
    The ID of the organization domain the grant belongs to.
    Permission Pulumi.AwsNative.CloudWatch.DomainAccessGrantForOrganizationPermission
    The permission granted.
    Principal Pulumi.AwsNative.CloudWatch.Inputs.DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipal
    The principal receiving the grant.
    Name string
    A name that identifies the access grant.
    Tags List<Pulumi.AwsNative.Inputs.CreateOnlyTag>
    An array of key-value pairs to apply to this resource.
    DomainId string
    The ID of the organization domain the grant belongs to.
    Permission DomainAccessGrantForOrganizationPermission
    The permission granted.
    Principal DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipalArgs
    The principal receiving the grant.
    Name string
    A name that identifies the access grant.
    Tags CreateOnlyTagArgs
    An array of key-value pairs to apply to this resource.
    domain_id string
    The ID of the organization domain the grant belongs to.
    permission "ADMIN"
    The permission granted.
    principal object
    The principal receiving the grant.
    name string
    A name that identifies the access grant.
    tags list(object)
    An array of key-value pairs to apply to this resource.
    domainId String
    The ID of the organization domain the grant belongs to.
    permission DomainAccessGrantForOrganizationPermission
    The permission granted.
    principal DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipal
    The principal receiving the grant.
    name String
    A name that identifies the access grant.
    tags List<CreateOnlyTag>
    An array of key-value pairs to apply to this resource.
    domainId string
    The ID of the organization domain the grant belongs to.
    permission DomainAccessGrantForOrganizationPermission
    The permission granted.
    principal DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipal
    The principal receiving the grant.
    name string
    A name that identifies the access grant.
    tags CreateOnlyTag[]
    An array of key-value pairs to apply to this resource.
    domain_id str
    The ID of the organization domain the grant belongs to.
    permission DomainAccessGrantForOrganizationPermission
    The permission granted.
    principal DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipalArgs
    The principal receiving the grant.
    name str
    A name that identifies the access grant.
    tags Sequence[CreateOnlyTagArgs]
    An array of key-value pairs to apply to this resource.
    domainId String
    The ID of the organization domain the grant belongs to.
    permission "ADMIN"
    The permission granted.
    principal Property Map
    The principal receiving the grant.
    name String
    A name that identifies the access grant.
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DomainAccessGrantForOrganization resource produces the following output properties:

    Arn string
    The Amazon Resource Name (ARN) of the access grant.
    CreatedAt string
    The timestamp when the grant was created.
    CreatedBy string
    The principal that created the grant.
    GrantId string
    The unique ID of the access grant.
    GrantType Pulumi.AwsNative.CloudWatch.DomainAccessGrantForOrganizationGrantType
    Who manages the grant.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    The timestamp when the grant was last updated.
    Arn string
    The Amazon Resource Name (ARN) of the access grant.
    CreatedAt string
    The timestamp when the grant was created.
    CreatedBy string
    The principal that created the grant.
    GrantId string
    The unique ID of the access grant.
    GrantType DomainAccessGrantForOrganizationGrantType
    Who manages the grant.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    The timestamp when the grant was last updated.
    arn string
    The Amazon Resource Name (ARN) of the access grant.
    created_at string
    The timestamp when the grant was created.
    created_by string
    The principal that created the grant.
    grant_id string
    The unique ID of the access grant.
    grant_type "SERVICE_MANAGED" | "CUSTOMER_MANAGED"
    Who manages the grant.
    id string
    The provider-assigned unique ID for this managed resource.
    updated_at string
    The timestamp when the grant was last updated.
    arn String
    The Amazon Resource Name (ARN) of the access grant.
    createdAt String
    The timestamp when the grant was created.
    createdBy String
    The principal that created the grant.
    grantId String
    The unique ID of the access grant.
    grantType DomainAccessGrantForOrganizationGrantType
    Who manages the grant.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    The timestamp when the grant was last updated.
    arn string
    The Amazon Resource Name (ARN) of the access grant.
    createdAt string
    The timestamp when the grant was created.
    createdBy string
    The principal that created the grant.
    grantId string
    The unique ID of the access grant.
    grantType DomainAccessGrantForOrganizationGrantType
    Who manages the grant.
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    The timestamp when the grant was last updated.
    arn str
    The Amazon Resource Name (ARN) of the access grant.
    created_at str
    The timestamp when the grant was created.
    created_by str
    The principal that created the grant.
    grant_id str
    The unique ID of the access grant.
    grant_type DomainAccessGrantForOrganizationGrantType
    Who manages the grant.
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at str
    The timestamp when the grant was last updated.
    arn String
    The Amazon Resource Name (ARN) of the access grant.
    createdAt String
    The timestamp when the grant was created.
    createdBy String
    The principal that created the grant.
    grantId String
    The unique ID of the access grant.
    grantType "SERVICE_MANAGED" | "CUSTOMER_MANAGED"
    Who manages the grant.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    The timestamp when the grant was last updated.

    Supporting Types

    CreateOnlyTag, CreateOnlyTagArgs

    A set of tags to apply to the resource.
    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    DomainAccessGrantForOrganizationGrantType, DomainAccessGrantForOrganizationGrantTypeArgs

    ServiceManaged
    SERVICE_MANAGED
    CustomerManaged
    CUSTOMER_MANAGED
    DomainAccessGrantForOrganizationGrantTypeServiceManaged
    SERVICE_MANAGED
    DomainAccessGrantForOrganizationGrantTypeCustomerManaged
    CUSTOMER_MANAGED
    "SERVICE_MANAGED"
    SERVICE_MANAGED
    "CUSTOMER_MANAGED"
    CUSTOMER_MANAGED
    ServiceManaged
    SERVICE_MANAGED
    CustomerManaged
    CUSTOMER_MANAGED
    ServiceManaged
    SERVICE_MANAGED
    CustomerManaged
    CUSTOMER_MANAGED
    SERVICE_MANAGED
    SERVICE_MANAGED
    CUSTOMER_MANAGED
    CUSTOMER_MANAGED
    "SERVICE_MANAGED"
    SERVICE_MANAGED
    "CUSTOMER_MANAGED"
    CUSTOMER_MANAGED

    DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipal, DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipalArgs

    The principal the grant is issued to. Supply PrincipalId, or PrincipalAttributes for an attribute-based grant.
    PrincipalType Pulumi.AwsNative.CloudWatch.DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipalPrincipalType
    The type of principal the grant is issued to.
    PrincipalAttributes List<Pulumi.AwsNative.CloudWatch.Inputs.DomainAccessGrantForOrganizationPrincipalAttribute>
    Attribute key-value pairs that select the principals the grant applies to.
    PrincipalId string
    The identifier of the principal, such as an IAM role ARN or an Identity Center user ID.
    PrincipalType DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipalPrincipalType
    The type of principal the grant is issued to.
    PrincipalAttributes []DomainAccessGrantForOrganizationPrincipalAttribute
    Attribute key-value pairs that select the principals the grant applies to.
    PrincipalId string
    The identifier of the principal, such as an IAM role ARN or an Identity Center user ID.
    principal_type "IDC_USER" | "IDC_GROUP" | "IAM_USER" | "IAM_ROLE" | "IAM_ROOT"
    The type of principal the grant is issued to.
    principal_attributes list(object)
    Attribute key-value pairs that select the principals the grant applies to.
    principal_id string
    The identifier of the principal, such as an IAM role ARN or an Identity Center user ID.
    principalType DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipalPrincipalType
    The type of principal the grant is issued to.
    principalAttributes List<DomainAccessGrantForOrganizationPrincipalAttribute>
    Attribute key-value pairs that select the principals the grant applies to.
    principalId String
    The identifier of the principal, such as an IAM role ARN or an Identity Center user ID.
    principalType DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipalPrincipalType
    The type of principal the grant is issued to.
    principalAttributes DomainAccessGrantForOrganizationPrincipalAttribute[]
    Attribute key-value pairs that select the principals the grant applies to.
    principalId string
    The identifier of the principal, such as an IAM role ARN or an Identity Center user ID.
    principal_type DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipalPrincipalType
    The type of principal the grant is issued to.
    principal_attributes Sequence[DomainAccessGrantForOrganizationPrincipalAttribute]
    Attribute key-value pairs that select the principals the grant applies to.
    principal_id str
    The identifier of the principal, such as an IAM role ARN or an Identity Center user ID.
    principalType "IDC_USER" | "IDC_GROUP" | "IAM_USER" | "IAM_ROLE" | "IAM_ROOT"
    The type of principal the grant is issued to.
    principalAttributes List<Property Map>
    Attribute key-value pairs that select the principals the grant applies to.
    principalId String
    The identifier of the principal, such as an IAM role ARN or an Identity Center user ID.

    DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipalPrincipalType, DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipalPrincipalTypeArgs

    IdcUser
    IDC_USER
    IdcGroup
    IDC_GROUP
    IamUser
    IAM_USER
    IamRole
    IAM_ROLE
    IamRoot
    IAM_ROOT
    DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipalPrincipalTypeIdcUser
    IDC_USER
    DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipalPrincipalTypeIdcGroup
    IDC_GROUP
    DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipalPrincipalTypeIamUser
    IAM_USER
    DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipalPrincipalTypeIamRole
    IAM_ROLE
    DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipalPrincipalTypeIamRoot
    IAM_ROOT
    "IDC_USER"
    IDC_USER
    "IDC_GROUP"
    IDC_GROUP
    "IAM_USER"
    IAM_USER
    "IAM_ROLE"
    IAM_ROLE
    "IAM_ROOT"
    IAM_ROOT
    IdcUser
    IDC_USER
    IdcGroup
    IDC_GROUP
    IamUser
    IAM_USER
    IamRole
    IAM_ROLE
    IamRoot
    IAM_ROOT
    IdcUser
    IDC_USER
    IdcGroup
    IDC_GROUP
    IamUser
    IAM_USER
    IamRole
    IAM_ROLE
    IamRoot
    IAM_ROOT
    IDC_USER
    IDC_USER
    IDC_GROUP
    IDC_GROUP
    IAM_USER
    IAM_USER
    IAM_ROLE
    IAM_ROLE
    IAM_ROOT
    IAM_ROOT
    "IDC_USER"
    IDC_USER
    "IDC_GROUP"
    IDC_GROUP
    "IAM_USER"
    IAM_USER
    "IAM_ROLE"
    IAM_ROLE
    "IAM_ROOT"
    IAM_ROOT

    DomainAccessGrantForOrganizationPermission, DomainAccessGrantForOrganizationPermissionArgs

    Admin
    ADMIN
    DomainAccessGrantForOrganizationPermissionAdmin
    ADMIN
    "ADMIN"
    ADMIN
    Admin
    ADMIN
    Admin
    ADMIN
    ADMIN
    ADMIN
    "ADMIN"
    ADMIN

    DomainAccessGrantForOrganizationPrincipalAttribute, DomainAccessGrantForOrganizationPrincipalAttributeArgs

    An attribute key-value pair used to select principals.
    Key string
    The attribute name.
    Value string
    The attribute value.
    Key string
    The attribute name.
    Value string
    The attribute value.
    key string
    The attribute name.
    value string
    The attribute value.
    key String
    The attribute name.
    value String
    The attribute value.
    key string
    The attribute name.
    value string
    The attribute value.
    key str
    The attribute name.
    value str
    The attribute value.
    key String
    The attribute name.
    value String
    The attribute value.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.85.0
    published on Monday, Nov 2, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial