SecurityGroupProps
Properties for defining a SecurityGroup
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-securitygroup
Initializer
import { SecurityGroupProps } from '@alicloud/ros-cdk-ecs'
const securityGroupProps: SecurityGroupProps = { ... }
Properties
Name | Type | Description |
---|---|---|
description |
string | @alicloud/ros-cdk-core.IResolvable |
Property description: Description of the security group, [2, 256] characters. |
resourceGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property resourceGroupId: Resource group id. |
securityGroupEgress |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | SecurityGroupEgressProperty[] |
Property securityGroupEgress: egress rules for the security group. |
securityGroupIngress |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | SecurityGroupIngressProperty[] |
Property securityGroupIngress: Ingress rules for the security group. |
securityGroupName |
string | @alicloud/ros-cdk-core.IResolvable |
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 |
string | @alicloud/ros-cdk-core.IResolvable |
Property securityGroupType: The type of the security group. |
tags |
TagsProperty[] |
Property tags: Tags to attach to security group. |
vpcId |
string | @alicloud/ros-cdk-core.IResolvable |
Property vpcId: Physical ID of the VPC. |
description
Optional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: Description of the security group, [2, 256] characters.
Do not fill or empty, the default is empty.
resourceGroupId
Optional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: Resource group id.
securityGroupEgress
Optional
public readonly securityGroupEgress: IResolvable | IResolvable | SecurityGroupEgressProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | SecurityGroupEgressProperty[]
Property securityGroupEgress: egress rules for the security group.
securityGroupIngress
Optional
public readonly securityGroupIngress: IResolvable | IResolvable | SecurityGroupIngressProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | SecurityGroupIngressProperty[]
Property securityGroupIngress: Ingress rules for the security group.
securityGroupName
Optional
public readonly securityGroupName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
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
Optional
public readonly securityGroupType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property securityGroupType: The type of the security group.
Valid values: normal: basic security group enterprise: advanced security group
tags
Optional
public readonly 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.
vpcId
Optional
public readonly vpcId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vpcId: Physical ID of the VPC.