This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
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:StringDirection:StringPortRange:PortRangePrefixListId:StringProtocol:StringSecurityGroupId: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