Skip to main content

SecurityGroupRuleSchema

Defines the schema for a security group rule. These values are mapped from the official EC2 authorize security group egress/ingress document. Please refer to the AWS documentation for more information.

@group

Resources/SecurityGroup

Index

Properties

CidrBlock

CidrBlock: string

The IpV4 network range to allow or deny, in CIDR notation.

Egress

Egress: boolean

Indicates whether this is an egress rule (rule is applied to traffic leaving the security group).

FromPort

FromPort: number

The start of the port range.

IpProtocol

IpProtocol: string

The IP protocol name.

ToPort

ToPort: number

The end of the port range.