DefaultSecurityGroupEgress constructor
Creates a new DefaultSecurityGroupEgress.
cidrBlocks List of CIDR blocks.
description Description of this rule.
fromPort Start port (or ICMP type number if protocol is icmp)
ipv6CidrBlocks List of IPv6 CIDR blocks.
prefixListIds List of prefix list IDs (for allowing access to VPC endpoints)
protocol Protocol. If you select a protocol of "-1" (semantically equivalent to all, which is not a valid value here), you must specify a fromPort and toPort equal to 0. If not icmp, tcp, udp, or -1 use the protocol number.
securityGroups List of security groups. A group name can be used relative to the default VPC. Otherwise, group ID.
self Whether the security group itself will be added as a source to this egress rule.
toPort End range port (or ICMP code if protocol is icmp).
Implementation
const DefaultSecurityGroupEgress({
this.cidrBlocks,
this.description,
required this.fromPort,
this.ipv6CidrBlocks,
this.prefixListIds,
required this.protocol,
this.securityGroups,
this.self,
required this.toPort,
});