Skip to content

RamRoleAttachmentProps

Properties for defining a RamRoleAttachment.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-ramroleattachment

Initializer

import { RamRoleAttachmentProps } from '@alicloud/ros-cdk-ecs'
const ramRoleAttachmentProps: RamRoleAttachmentProps = { ... }

Properties

Name Type Description
instanceIds @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property instanceIds: The instance id that needs to be granted the ram role.
ramRoleName string | @alicloud/ros-cdk-core.IResolvable Property ramRoleName: The ram role name.
policy string | @alicloud/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.

instanceIdsRequired

public readonly instanceIds: IResolvable | string | IResolvable[];
  • Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]

Property instanceIds: The instance id that needs to be granted the ram role.


ramRoleNameRequired

public readonly ramRoleName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property ramRoleName: The ram role name.


policyOptional

public readonly policy: string | IResolvable;
  • Type: string | @alicloud/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.