We recommend new projects start with resources from the AWS provider.
published on Monday, Nov 2, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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:
- Domain
Id string - The ID of the organization domain the grant belongs to.
- Permission
Pulumi.
Aws Native. Cloud Watch. Domain Access Grant For Organization Permission - The permission granted.
- Principal
Pulumi.
Aws Native. Cloud Watch. Inputs. Domain Access Grant For Organization Organization Access Grant Principal - The principal receiving the grant.
- Name string
- A name that identifies the access grant.
-
List<Pulumi.
Aws Native. Inputs. Create Only Tag> - 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
Domain
Access Grant For Organization Permission - The permission granted.
- Principal
Domain
Access Grant For Organization Organization Access Grant Principal Args - The principal receiving the grant.
- Name string
- A name that identifies the access grant.
-
Create
Only Tag Args - 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.
- list(object)
- 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
Domain
Access Grant For Organization Permission - The permission granted.
- principal
Domain
Access Grant For Organization Organization Access Grant Principal - The principal receiving the grant.
- name String
- A name that identifies the access grant.
-
List<Create
Only Tag> - 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
Domain
Access Grant For Organization Permission - The permission granted.
- principal
Domain
Access Grant For Organization Organization Access Grant Principal - The principal receiving the grant.
- name string
- A name that identifies the access grant.
-
Create
Only Tag[] - 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
Domain
Access Grant For Organization Permission - The permission granted.
- principal
Domain
Access Grant For Organization Organization Access Grant Principal Args - The principal receiving the grant.
- name str
- A name that identifies the access grant.
-
Sequence[Create
Only Tag Args] - 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 Property Map
- The principal receiving the grant.
- name String
- A name that identifies the access grant.
- 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.
- 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 Pulumi.Aws Native. Cloud Watch. Domain Access Grant For Organization Grant Type - 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.
- 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 DomainAccess Grant For Organization Grant Type - 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.
- 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.
- 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 DomainAccess Grant For Organization Grant Type - 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.
- 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 DomainAccess Grant For Organization Grant Type - 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 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 DomainAccess Grant For Organization Grant Type - 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.
- 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.
Supporting Types
CreateOnlyTag, CreateOnlyTagArgs
A set of tags to apply to the resource.DomainAccessGrantForOrganizationGrantType, DomainAccessGrantForOrganizationGrantTypeArgs
- Service
Managed SERVICE_MANAGED- Customer
Managed CUSTOMER_MANAGED
- Domain
Access Grant For Organization Grant Type Service Managed SERVICE_MANAGED- Domain
Access Grant For Organization Grant Type Customer Managed CUSTOMER_MANAGED
- "SERVICE_MANAGED"
SERVICE_MANAGED- "CUSTOMER_MANAGED"
CUSTOMER_MANAGED
- Service
Managed SERVICE_MANAGED- Customer
Managed CUSTOMER_MANAGED
- Service
Managed SERVICE_MANAGED- Customer
Managed 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.- Principal
Type Pulumi.Aws Native. Cloud Watch. Domain Access Grant For Organization Organization Access Grant Principal Principal Type - The type of principal the grant is issued to.
- Principal
Attributes List<Pulumi.Aws Native. Cloud Watch. Inputs. Domain Access Grant For Organization Principal Attribute> - 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.
- Principal
Type DomainAccess Grant For Organization Organization Access Grant Principal Principal Type - The type of principal the grant is issued to.
- Principal
Attributes []DomainAccess Grant For Organization Principal Attribute - 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.
- 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.
- principal
Type DomainAccess Grant For Organization Organization Access Grant Principal Principal Type - The type of principal the grant is issued to.
- principal
Attributes List<DomainAccess Grant For Organization Principal Attribute> - 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.
- principal
Type DomainAccess Grant For Organization Organization Access Grant Principal Principal Type - The type of principal the grant is issued to.
- principal
Attributes DomainAccess Grant For Organization Principal Attribute[] - 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.
- principal_
type DomainAccess Grant For Organization Organization Access Grant Principal Principal Type - The type of principal the grant is issued to.
- principal_
attributes Sequence[DomainAccess Grant For Organization Principal Attribute] - 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.
- principal
Type "IDC_USER" | "IDC_GROUP" | "IAM_USER" | "IAM_ROLE" | "IAM_ROOT" - The type of principal the grant is issued to.
- principal
Attributes List<Property Map> - 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.
DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipalPrincipalType, DomainAccessGrantForOrganizationOrganizationAccessGrantPrincipalPrincipalTypeArgs
- Idc
User IDC_USER- Idc
Group IDC_GROUP- Iam
User IAM_USER- Iam
Role IAM_ROLE- Iam
Root IAM_ROOT
- Domain
Access Grant For Organization Organization Access Grant Principal Principal Type Idc User IDC_USER- Domain
Access Grant For Organization Organization Access Grant Principal Principal Type Idc Group IDC_GROUP- Domain
Access Grant For Organization Organization Access Grant Principal Principal Type Iam User IAM_USER- Domain
Access Grant For Organization Organization Access Grant Principal Principal Type Iam Role IAM_ROLE- Domain
Access Grant For Organization Organization Access Grant Principal Principal Type Iam Root 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
- 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
- "IDC_USER"
IDC_USER- "IDC_GROUP"
IDC_GROUP- "IAM_USER"
IAM_USER- "IAM_ROLE"
IAM_ROLE- "IAM_ROOT"
IAM_ROOT
DomainAccessGrantForOrganizationPermission, DomainAccessGrantForOrganizationPermissionArgs
- Admin
ADMIN
- Domain
Access Grant For Organization Permission Admin ADMIN
- "ADMIN"
ADMIN
- Admin
ADMIN
- Admin
ADMIN
- ADMIN
ADMIN
- "ADMIN"
ADMIN
DomainAccessGrantForOrganizationPrincipalAttribute, DomainAccessGrantForOrganizationPrincipalAttributeArgs
An attribute key-value pair used to select principals.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Nov 2, 2026 by Pulumi