RamRoleAttachmentProps
Properties for defining a RamRoleAttachment.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-ramroleattachment
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs"
&alicloudroscdkecs.RamRoleAttachmentProps {
InstanceIds: interface{},
RamRoleName: interface{},
Policy: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
InstanceIds |
interface{} |
Property instanceIds: The instance id that needs to be granted the ram role. |
RamRoleName |
interface{} |
Property ramRoleName: The ram role name. |
Policy |
interface{} |
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
InstanceIds interface{}
- Type: interface{}
Property instanceIds: The instance id that needs to be granted the ram role.
RamRoleNameRequired
RamRoleName interface{}
- Type: interface{}
Property ramRoleName: The ram role name.
PolicyOptional
Policy interface{}
- Type: interface{}
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.