RamRoleAttachmentProps
Properties for defining a RamRoleAttachment.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-ramroleattachment
Initializer
import ros_cdk_ecs
ros_cdk_ecs.RamRoleAttachmentProps(
instance_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]],
ram_role_name: typing.Union[str, IResolvable],
policy: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
instance_ids |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] |
Property instanceIds: The instance id that needs to be granted the ram role. |
ram_role_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property ramRoleName: The ram role name. |
policy |
typing.Union[str, ros_cdk_core.IResolvable] |
Property policy: When granting the instance RAM role to one or more ECS instances, you can specify an additional permission policy to further limit the permissions of the RAM role. |
instance_idsRequired
instance_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]
Property instanceIds: The instance id that needs to be granted the ram role.
ram_role_nameRequired
ram_role_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property ramRoleName: The ram role name.
policyOptional
policy: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property policy: When granting the instance RAM role to one or more ECS instances, you can specify an additional permission policy to further limit the permissions of the RAM role.
The length is 1~1024 characters.