SecurityGroupsProps
Properties for defining a SecurityGroups
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-securitygroups
Initializer
import { datasource } from '@alicloud/ros-cdk-ecs'
const securityGroupsProps: datasource.SecurityGroupsProps = { ... }
Properties
Name | Type | Description |
---|---|---|
networkType |
string | @alicloud/ros-cdk-core.IResolvable |
Property networkType: The network type of the security group. |
refreshOptions |
string | @alicloud/ros-cdk-core.IResolvable |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
resourceGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property resourceGroupId: The ID of the resource group to which the instance belongs. |
securityGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property securityGroupId: The ID of the security group. |
securityGroupIds |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property securityGroupIds: The IDs of security groups. |
securityGroupName |
string | @alicloud/ros-cdk-core.IResolvable |
Property securityGroupName: The name of the security group. |
securityGroupType |
string | @alicloud/ros-cdk-core.IResolvable |
Property securityGroupType: The type of the security group. |
tags |
@alicloud/ros-cdk-ecs.datasource.RosSecurityGroups.TagsProperty[] |
Property tags: Tags of securitygroup. |
vpcId |
string | @alicloud/ros-cdk-core.IResolvable |
Property vpcId: The ID of the virtual private cloud (VPC) to which the security group belongs. |
networkType
Optional
public readonly networkType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property networkType: The network type of the security group.
Valid values: vpc classic
refreshOptions
Optional
public readonly refreshOptions: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values: - Never: Never refresh the datasource resource when the stack is updated. - Always: Always refresh the datasource resource when the stack is updated. Default is Never.
resourceGroupId
Optional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: The ID of the resource group to which the instance belongs.
If this parameter is specified to query resources,up to 1,000 resources that belong to the specified resource group can be displayed in the response.
securityGroupId
Optional
public readonly securityGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property securityGroupId: The ID of the security group.
securityGroupIds
Optional
public readonly securityGroupIds: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property securityGroupIds: The IDs of security groups.
The value is a JSON array that consists of up to 100 security group IDs. Separate multiple security group IDs with commas (,).
securityGroupName
Optional
public readonly securityGroupName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property securityGroupName: The name of the security group.
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 Note If you do not specify this parameter, both basic and advanced security groups are queried.
tags
Optional
public readonly tags: TagsProperty[];
- Type: @alicloud/ros-cdk-ecs.datasource.RosSecurityGroups.TagsProperty[]
Property tags: Tags of securitygroup.
vpcId
Optional
public readonly vpcId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vpcId: The ID of the virtual private cloud (VPC) to which the security group belongs.