Skip to content

RosRamRoleAttachmentProps

Properties for defining a RosRamRoleAttachment.

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

Initializer

import com.aliyun.ros.cdk.ecs.RosRamRoleAttachmentProps;
RosRamRoleAttachmentProps.builder()
    .instanceIds(IResolvable)
    .instanceIds(java.util.List<java.lang.String)
    .instanceIds(IResolvable>)
    .ramRoleName(java.lang.String)
    .ramRoleName(IResolvable)
//  .policy(java.lang.String)
//  .policy(IResolvable)
    .build();

Properties

Name Type Description
instanceIds com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
ramRoleName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
policy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.

instanceIdsRequired

public java.lang.Object getInstanceIds();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

ramRoleNameRequired

public java.lang.Object getRamRoleName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

policyOptional

public java.lang.Object getPolicy();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable