Skip to content

SecurityGroupAttachmentProps

Properties for defining a SecurityGroupAttachment.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nlb-securitygroupattachment

Initializer

import com.aliyun.ros.cdk.nlb.SecurityGroupAttachmentProps;
SecurityGroupAttachmentProps.builder()
    .loadBalancerId(java.lang.String)
    .loadBalancerId(IResolvable)
    .securityGroupIds(java.util.List<java.lang.Object>)
    .securityGroupIds(IResolvable)
    .build();

Properties

Name Type Description
loadBalancerId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property loadBalancerId: The ID of the network-based server load balancer instance to be bound to the security group.
securityGroupIds java.util.List OR com.aliyun.ros.cdk.core.IResolvable Property securityGroupIds: List of security group id.

loadBalancerIdRequired

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

Property loadBalancerId: The ID of the network-based server load balancer instance to be bound to the security group.


securityGroupIdsRequired

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

Property securityGroupIds: List of security group id.