AWS::EC2::NetworkInsightsAnalysis AnalysisSecurityGroupRule - AWS CloudFormation

AWS::EC2::NetworkInsightsAnalysis AnalysisSecurityGroupRule

Describes a security group rule.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Cidr" : String, "Direction" : String, "PortRange" : PortRange, "PrefixListId" : String, "Protocol" : String, "SecurityGroupId" : String }

YAML

Cidr: String Direction: String PortRange: PortRange PrefixListId: String Protocol: String SecurityGroupId: String

Properties

Cidr

The IPv4 address range, in CIDR notation.

Required: No

Type: String

Update requires: No interruption

Direction

The direction. The following are the possible values:

  • egress

  • ingress

Required: No

Type: String

Update requires: No interruption

PortRange

The port range.

Required: No

Type: PortRange

Update requires: No interruption

PrefixListId

The prefix list ID.

Required: No

Type: String

Update requires: No interruption

Protocol

The protocol name.

Required: No

Type: String

Update requires: No interruption

SecurityGroupId

The security group ID.

Required: No

Type: String

Update requires: No interruption