Skip to content

SecurityGroupProps

Properties for defining a SecurityGroup.

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

Initializer

import ros_cdk_ens
ros_cdk_ens.SecurityGroupProps(
  description: typing.Union[str, IResolvable] = None,
  security_group_egress: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, SecurityGroupEgressProperty]]] = None,
  security_group_ingress: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, SecurityGroupIngressProperty]]] = None,
  security_group_name: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the security group.
security_group_egress typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, SecurityGroupEgressProperty]]] Property securityGroupEgress: egress rules for the security group.
security_group_ingress typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, SecurityGroupIngressProperty]]] Property securityGroupIngress: Ingress rules for the security group.
security_group_name typing.Union[str, ros_cdk_core.IResolvable] Property securityGroupName: The name of the security group.

descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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://.


security_group_egressOptional

security_group_egress: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, SecurityGroupEgressProperty]]]

Property securityGroupEgress: egress rules for the security group.


security_group_ingressOptional

security_group_ingress: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, SecurityGroupIngressProperty]]]

Property securityGroupIngress: Ingress rules for the security group.


security_group_nameOptional

security_group_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.