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.86.0
published on Wednesday, Nov 18, 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.86.0
published on Wednesday, Nov 18, 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.

    Look up Existing DomainAccessGrantForOrganization Resource

    Get an existing DomainAccessGrantForOrganization resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): DomainAccessGrantForOrganization
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> DomainAccessGrantForOrganization
    func GetDomainAccessGrantForOrganization(ctx *Context, name string, id IDInput, state *DomainAccessGrantForOrganizationState, opts ...ResourceOption) (*DomainAccessGrantForOrganization, error)
    public static DomainAccessGrantForOrganization Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static DomainAccessGrantForOrganization get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingDomainAccessGrantForOrganization:    type: aws-native:cloudwatch:DomainAccessGrantForOrganization    get:      id: ${id}
    import {
      to = aws-native_cloudwatch_domain_access_grant_for_organization.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state DomainAccessGrantForOrganizationState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    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

    Who manages the grant.

    NameValue
    ServiceManagedSERVICE_MANAGED
    CustomerManagedCUSTOMER_MANAGED
    NameValue
    DomainAccessGrantForOrganizationGrantTypeServiceManagedSERVICE_MANAGED
    DomainAccessGrantForOrganizationGrantTypeCustomerManagedCUSTOMER_MANAGED
    Value
    SERVICE_MANAGED
    CUSTOMER_MANAGED
    NameValue
    ServiceManagedSERVICE_MANAGED
    CustomerManagedCUSTOMER_MANAGED
    NameValue
    ServiceManagedSERVICE_MANAGED
    CustomerManagedCUSTOMER_MANAGED
    NameValue
    SERVICE_MANAGEDSERVICE_MANAGED
    CUSTOMER_MANAGEDCUSTOMER_MANAGED
    Value
    SERVICE_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

    The type of principal the grant is issued to.

    NameValue
    IdcUserIDC_USER
    IdcGroupIDC_GROUP
    IamUserIAM_USER
    IamRoleIAM_ROLE
    IamRootIAM_ROOT
    NameValue
    DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipalPrincipalTypeIdcUserIDC_USER
    DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipalPrincipalTypeIdcGroupIDC_GROUP
    DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipalPrincipalTypeIamUserIAM_USER
    DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipalPrincipalTypeIamRoleIAM_ROLE
    DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipalPrincipalTypeIamRootIAM_ROOT
    Value
    IDC_USER
    IDC_GROUP
    IAM_USER
    IAM_ROLE
    IAM_ROOT
    NameValue
    IdcUserIDC_USER
    IdcGroupIDC_GROUP
    IamUserIAM_USER
    IamRoleIAM_ROLE
    IamRootIAM_ROOT
    NameValue
    IdcUserIDC_USER
    IdcGroupIDC_GROUP
    IamUserIAM_USER
    IamRoleIAM_ROLE
    IamRootIAM_ROOT
    NameValue
    IDC_USERIDC_USER
    IDC_GROUPIDC_GROUP
    IAM_USERIAM_USER
    IAM_ROLEIAM_ROLE
    IAM_ROOTIAM_ROOT
    Value
    IDC_USER
    IDC_GROUP
    IAM_USER
    IAM_ROLE
    IAM_ROOT

    DomainAccessGrantForOrganizationPermission

    The permission granted.

    NameValue
    AdminADMIN
    NameValue
    DomainAccessGrantForOrganizationPermissionAdminADMIN
    Value
    ADMIN
    NameValue
    AdminADMIN
    NameValue
    AdminADMIN
    NameValue
    ADMINADMIN
    Value
    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.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial