SecurityGroupProps
Properties for defining a SecurityGroup.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ens-securitygroup
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkens"
&alicloudroscdkens.SecurityGroupProps {
Description: interface{},
SecurityGroupEgress: interface{},
SecurityGroupIngress: interface{},
SecurityGroupName: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
Description |
interface{} |
Property description: The description of the security group. |
SecurityGroupEgress |
interface{} |
Property securityGroupEgress: egress rules for the security group. |
SecurityGroupIngress |
interface{} |
Property securityGroupIngress: Ingress rules for the security group. |
SecurityGroupName |
interface{} |
Property securityGroupName: The name of the security group. |
DescriptionOptional
Description interface{}
- Type: interface{}
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
SecurityGroupEgress interface{}
- Type: interface{}
Property securityGroupEgress: egress rules for the security group.
SecurityGroupIngressOptional
SecurityGroupIngress interface{}
- Type: interface{}
Property securityGroupIngress: Ingress rules for the security group.
SecurityGroupNameOptional
SecurityGroupName interface{}
- Type: interface{}
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.