SecurityGroupProps
Properties for defining a SecurityGroup.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-securitygroup
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs"
&alicloudroscdkecs.SecurityGroupProps {
Description: interface{},
ResourceGroupId: interface{},
SecurityGroupEgress: interface{},
SecurityGroupIngress: interface{},
SecurityGroupName: interface{},
SecurityGroupType: interface{},
Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs.RosSecurityGroup.TagsProperty,
VpcId: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
Description |
interface{} |
Property description: Description of the security group, [2, 256] characters. |
ResourceGroupId |
interface{} |
Property resourceGroupId: Resource group id. |
SecurityGroupEgress |
interface{} |
Property securityGroupEgress: egress rules for the security group. |
SecurityGroupIngress |
interface{} |
Property securityGroupIngress: Ingress rules for the security group. |
SecurityGroupName |
interface{} |
Property securityGroupName: Display name of the security group, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-'. |
SecurityGroupType |
interface{} |
Property securityGroupType: The type of the security group. |
Tags |
*[]TagsProperty |
Property tags: Tags to attach to security group. |
VpcId |
interface{} |
Property vpcId: Physical ID of the VPC. |
DescriptionOptional
Description interface{}
- Type: interface{}
Property description: Description of the security group, [2, 256] characters.
Do not fill or empty, the default is empty.
ResourceGroupIdOptional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: Resource group id.
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: Display name of the security group, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-'.
SecurityGroupTypeOptional
SecurityGroupType interface{}
- Type: interface{}
Property securityGroupType: The type of the security group.
Valid values: normal: basic security group enterprise: advanced security group
TagsOptional
Tags *[]TagsProperty
- Type: *[]TagsProperty
Property tags: Tags to attach to security group.
Max support 20 tags to add during create security group. Each tag with two properties Key and Value, and Key is required.
VpcIdOptional
VpcId interface{}
- Type: interface{}
Property vpcId: Physical ID of the VPC.