We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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:
- 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.
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) -> DomainAccessGrantForOrganizationfunc 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.
DomainAccessGrantForOrganizationGrantType
Who manages the grant.
| Name | Value |
|---|---|
| Service | SERVICE_MANAGED |
| Customer | CUSTOMER_MANAGED |
| Name | Value |
|---|---|
| Domain | SERVICE_MANAGED |
| Domain | CUSTOMER_MANAGED |
| Value |
|---|
SERVICE_MANAGED |
CUSTOMER_MANAGED |
| Name | Value |
|---|---|
| Service | SERVICE_MANAGED |
| Customer | CUSTOMER_MANAGED |
| Name | Value |
|---|---|
| Service | SERVICE_MANAGED |
| Customer | CUSTOMER_MANAGED |
| Name | Value |
|---|---|
| SERVICE_MANAGED | SERVICE_MANAGED |
| CUSTOMER_MANAGED | CUSTOMER_MANAGED |
| Value |
|---|
SERVICE_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
The type of principal the grant is issued to.
| Name | Value |
|---|---|
| Idc | IDC_USER |
| Idc | IDC_GROUP |
| Iam | IAM_USER |
| Iam | IAM_ROLE |
| Iam | IAM_ROOT |
| Name | Value |
|---|---|
| Domain | IDC_USER |
| Domain | IDC_GROUP |
| Domain | IAM_USER |
| Domain | IAM_ROLE |
| Domain | IAM_ROOT |
| Value |
|---|
IDC_USER |
IDC_GROUP |
IAM_USER |
IAM_ROLE |
IAM_ROOT |
| Name | Value |
|---|---|
| Idc | IDC_USER |
| Idc | IDC_GROUP |
| Iam | IAM_USER |
| Iam | IAM_ROLE |
| Iam | IAM_ROOT |
| Name | Value |
|---|---|
| Idc | IDC_USER |
| Idc | IDC_GROUP |
| Iam | IAM_USER |
| Iam | IAM_ROLE |
| Iam | IAM_ROOT |
| Name | Value |
|---|---|
| IDC_USER | IDC_USER |
| IDC_GROUP | IDC_GROUP |
| IAM_USER | IAM_USER |
| IAM_ROLE | IAM_ROLE |
| IAM_ROOT | IAM_ROOT |
| Value |
|---|
IDC_USER |
IDC_GROUP |
IAM_USER |
IAM_ROLE |
IAM_ROOT |
DomainAccessGrantForOrganizationPermission
The permission granted.
| Name | Value |
|---|---|
| Admin | ADMIN |
| Name | Value |
|---|---|
| Domain | ADMIN |
| Value |
|---|
ADMIN |
| Name | Value |
|---|---|
| Admin | ADMIN |
| Name | Value |
|---|---|
| Admin | ADMIN |
| Name | Value |
|---|---|
| ADMIN | ADMIN |
| Value |
|---|
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 Wednesday, Nov 18, 2026 by Pulumi