Skip to content

IPolicyAttachment

Represents a PolicyAttachment.

Properties

Name Type Description
node ros_cdk_core.ConstructNode The construct tree node for this construct.
env ros_cdk_core.IResourceEnvironment The environment this resource belongs to.
stack ros_cdk_core.Stack The stack in which this resource is defined.
attr_attach_date typing.Union[str, ros_cdk_core.IResolvable] Attribute AttachDate: Authorization time.
attr_description typing.Union[str, ros_cdk_core.IResolvable] Attribute Description: Policy description.
attr_policy_name typing.Union[str, ros_cdk_core.IResolvable] Attribute PolicyName: The name of the policy.
attr_policy_type typing.Union[str, ros_cdk_core.IResolvable] Attribute PolicyType: The type of the policy.
attr_principal_name typing.Union[str, ros_cdk_core.IResolvable] Attribute PrincipalName: The name of the object to which you want to attach the policy.
attr_principal_type typing.Union[str, ros_cdk_core.IResolvable] Attribute PrincipalType: The type of the object to which you want to attach the policy.
attr_resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Attribute ResourceGroupId: The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs.
props PolicyAttachmentProps No description.

nodeRequired

node: ConstructNode
  • Type: ros_cdk_core.ConstructNode

The construct tree node for this construct.


envRequired

env: IResourceEnvironment
  • Type: ros_cdk_core.IResourceEnvironment

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.


stackRequired

stack: Stack
  • Type: ros_cdk_core.Stack

The stack in which this resource is defined.


attr_attach_dateRequired

attr_attach_date: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute AttachDate: Authorization time.


attr_descriptionRequired

attr_description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Description: Policy description.


attr_policy_nameRequired

attr_policy_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute PolicyName: The name of the policy.


attr_policy_typeRequired

attr_policy_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute PolicyType: The type of the policy.


attr_principal_nameRequired

attr_principal_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute PrincipalName: The name of the object to which you want to attach the policy.


attr_principal_typeRequired

attr_principal_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute PrincipalType: The type of the object to which you want to attach the policy.

Valid values: IMSUser: RAM user, IMSGroup: RAM user group, ServiceRole: RAM role


attr_resource_group_idRequired

attr_resource_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute ResourceGroupId: The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs.


propsRequired

props: PolicyAttachmentProps