SecurityGroupCloneProps
Properties for defining a SecurityGroupClone
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-securitygroupclone
Initializer
import ros_cdk_ecs
ros_cdk_ecs.SecurityGroupCloneProps(
source_security_group_id: typing.Union[str, IResolvable],
description: typing.Union[str, IResolvable] = None,
destination_region_id: typing.Union[str, IResolvable] = None,
network_type: typing.Union[str, IResolvable] = None,
resource_group_id: typing.Union[str, IResolvable] = None,
security_group_name: typing.Union[str, IResolvable] = None,
security_group_type: typing.Union[str, IResolvable] = None,
vpc_id: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
source_security_group_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property sourceSecurityGroupId: Source security group ID is used to copy properties to clone new security group. |
description |
typing.Union[str, ros_cdk_core.IResolvable] |
Property description: Description of the security group, [2, 256] characters. |
destination_region_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property destinationRegionId: Clone security group to the specified region. |
network_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property networkType: Clone new security group as classic network type. |
resource_group_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property resourceGroupId: Resource group id. |
security_group_name |
typing.Union[str, 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 '.', '-'. |
security_group_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property securityGroupType: The type of the security group. |
vpc_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property vpcId: Physical ID of the VPC. |
source_security_group_id
Required
source_security_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property sourceSecurityGroupId: Source security group ID is used to copy properties to clone new security group.
If the NetworkType and VpcId is not specified, the same security group will be cloned. If NetworkType or VpcId is specified, only proper security group rules will be cloned.
description
Optional
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property description: Description of the security group, [2, 256] characters.
Do not fill or empty, the default is empty.
destination_region_id
Optional
destination_region_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property destinationRegionId: Clone security group to the specified region.
Default to current region.
network_type
Optional
network_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property networkType: Clone new security group as classic network type.
If the VpcId is specified, the value will be ignored.
resource_group_id
Optional
resource_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property resourceGroupId: Resource group id.
security_group_name
Optional
security_group_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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 '.', '-'.
security_group_type
Optional
security_group_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property securityGroupType: The type of the security group.
Valid values: normal: basic security group enterprise: advanced security group
vpc_id
Optional
vpc_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property vpcId: Physical ID of the VPC.