Skip to content

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.ListSecurityGroupEgressProperty> Property securityGroupEgress: egress rules for the security group.
securityGroupIngress com.aliyun.ros.cdk.core.IResolvable OR java.util.ListSecurityGroupIngressProperty> 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.

descriptionOptional

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://.


securityGroupEgressOptional

public java.lang.Object getSecurityGroupEgress();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListSecurityGroupEgressProperty>

Property securityGroupEgress: egress rules for the security group.


securityGroupIngressOptional

public java.lang.Object getSecurityGroupIngress();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListSecurityGroupIngressProperty>

Property securityGroupIngress: Ingress rules for the security group.


securityGroupNameOptional

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.