SecurityGroupProps
Properties for defining a SecurityGroup
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ens-securitygroup
Initializer
import com.aliyun.ros.cdk.ens.SecurityGroupProps;
SecurityGroupProps.builder()
// .description(java.lang.String)
// .description(IResolvable)
// .securityGroupEgress(IResolvable)
// .securityGroupEgress(java.util.List<IResolvable)
// .securityGroupEgress(SecurityGroupEgressProperty>)
// .securityGroupIngress(IResolvable)
// .securityGroupIngress(java.util.List<IResolvable)
// .securityGroupIngress(SecurityGroupIngressProperty>)
// .securityGroupName(java.lang.String)
// .securityGroupName(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: The description of the security group. |
securityGroupEgress |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property securityGroupEgress: egress rules for the security group. |
securityGroupIngress |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property securityGroupIngress: Ingress rules for the security group. |
securityGroupName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property securityGroupName: The name of the security group. |
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the security group.
The description must be 2 to 256 characters in length. It must start with a letter but cannot start with http:// or https://.
securityGroupEgress
Optional
public java.lang.Object getSecurityGroupEgress();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
SecurityGroupEgressProperty>
Property securityGroupEgress: egress rules for the security group.
securityGroupIngress
Optional
public java.lang.Object getSecurityGroupIngress();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
SecurityGroupIngressProperty>
Property securityGroupIngress: Ingress rules for the security group.
securityGroupName
Optional
public java.lang.Object getSecurityGroupName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property securityGroupName: The name of the security group.
The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-). By default, this parameter is empty.