Skip to content

RamRoleAttachmentProps

Properties for defining a RamRoleAttachment.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Ecs;
new RamRoleAttachmentProps {
    object InstanceIds,
    object RamRoleName,
    object Policy = null
};

Properties

Name Type Description
InstanceIds object Property instanceIds: The instance id that needs to be granted the ram role.
RamRoleName object Property ramRoleName: The ram role name.
Policy object 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 object InstanceIds { get; set; }
  • Type: object

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


RamRoleNameRequired

public object RamRoleName { get; set; }
  • Type: object

Property ramRoleName: The ram role name.


PolicyOptional

public object Policy { get; set; }
  • Type: object

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.