IAttributeGroup
- class aws_cdk.aws_servicecatalogappregistry_alpha.IAttributeGroup(*args, **kwargs)
Bases:
IResource
,Protocol
(experimental) A Service Catalog AppRegistry Attribute Group.
- Stability:
experimental
Methods
- apply_removal_policy(policy)
Apply the given removal policy to this resource.
The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you’ve removed it from the CDK application or because you’ve made a change that requires the resource to be replaced.
The resource can be deleted (
RemovalPolicy.DESTROY
), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN
).- Parameters:
policy (
RemovalPolicy
) –- Return type:
None
- associate_with(application)
(experimental) Associate an application with attribute group If the attribute group is already associated, it will ignore duplicate request.
- Parameters:
application (
IApplication
) –- Stability:
experimental
- Return type:
None
(experimental) Share the attribute group resource with other IAM entities, accounts, or OUs.
- Parameters:
id (
str
) – The construct name for the share.name (
str
) – (experimental) Name of the share.accounts (
Optional
[Sequence
[str
]]) – (experimental) A list of AWS accounts that the application will be shared with. Default: - No accounts specified for shareorganization_arns (
Optional
[Sequence
[str
]]) – (experimental) A list of AWS Organization or Organizational Units (OUs) ARNs that the application will be shared with. Default: - No AWS Organizations or OUs specified for shareroles (
Optional
[Sequence
[IRole
]]) – (experimental) A list of AWS IAM roles that the application will be shared with. Default: - No IAM roles specified for shareshare_permission (
Union
[str
,SharePermission
,None
]) – (experimental) An option to manage access to the application or attribute group. Default: - Principals will be assigned read only permissions on the application or attribute group.users (
Optional
[Sequence
[IUser
]]) – (experimental) A list of AWS IAM users that the application will be shared with. Default: - No IAM Users specified for share
- Stability:
experimental
- Return type:
None
Attributes
- attribute_group_arn
(experimental) The ARN of the attribute group.
- Stability:
experimental
- Attribute:
true
- attribute_group_id
(experimental) The ID of the attribute group.
- Stability:
experimental
- Attribute:
true
- env
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
- node
The tree node.
- stack
The stack in which this resource is defined.