Skip to content

SecurityGroupProps

Properties for defining a SecurityGroup.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ens-securitygroup

Initializer

import { SecurityGroupProps } from '@alicloud/ros-cdk-ens'
const securityGroupProps: SecurityGroupProps = { ... }

Properties

Name Type Description
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the security group.
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: The name of the security group.

descriptionOptional

public readonly description: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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

public readonly securityGroupEgress: IResolvable | IResolvable | SecurityGroupEgressProperty[];

Property securityGroupEgress: egress rules for the security group.


securityGroupIngressOptional

public readonly securityGroupIngress: IResolvable | IResolvable | SecurityGroupIngressProperty[];

Property securityGroupIngress: Ingress rules for the security group.


securityGroupNameOptional

public readonly securityGroupName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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.