Skip to content

JoinSecurityGroupProps

Properties for defining a JoinSecurityGroup.

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

Initializer

import com.aliyun.ros.cdk.ecs.JoinSecurityGroupProps;
JoinSecurityGroupProps.builder()
    .securityGroupId(java.lang.String)
    .securityGroupId(IResolvable)
//  .instanceId(java.lang.String)
//  .instanceId(IResolvable)
//  .instanceIdList(java.util.List<java.lang.Object>)
//  .instanceIdList(IResolvable)
//  .networkInterfaceList(java.util.List<java.lang.Object>)
//  .networkInterfaceList(IResolvable)
    .build();

Properties

Name Type Description
securityGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property securityGroupId: Security group id to join.
instanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceId: Instance Id to the join the security group.
instanceIdList java.util.List OR com.aliyun.ros.cdk.core.IResolvable Property instanceIdList: The comma delimited instance id list.If the property "InstanceId" is setting, this property will be ignored.
networkInterfaceList java.util.List OR com.aliyun.ros.cdk.core.IResolvable Property networkInterfaceList: Network interface list.

securityGroupIdRequired

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

Property securityGroupId: Security group id to join.


instanceIdOptional

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

Property instanceId: Instance Id to the join the security group.


instanceIdListOptional

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

Property instanceIdList: The comma delimited instance id list.If the property "InstanceId" is setting, this property will be ignored.


networkInterfaceListOptional

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

Property networkInterfaceList: Network interface list.