SecurityGroupEgress constructor

const SecurityGroupEgress({
  1. Input<List<String>?>? cidrBlocks,
  2. Input<String?>? description,
  3. required Input<int> fromPort,
  4. Input<List<String>?>? ipv6CidrBlocks,
  5. Input<List<String>?>? prefixListIds,
  6. required Input<String> protocol,
  7. Input<List<String>?>? securityGroups,
  8. Input<bool?>? self,
  9. required Input<int> toPort,
})

Creates a new SecurityGroupEgress. cidrBlocks List of CIDR blocks. description Description of this egress rule. fromPort Start port (or ICMP type number if protocol is icmp) ipv6CidrBlocks List of IPv6 CIDR blocks. prefixListIds List of Prefix List IDs. 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. The supported values are defined in the IpProtocol argument in the IpPermission API reference. 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 SecurityGroupEgress({
  this.cidrBlocks,
  this.description,
  required this.fromPort,
  this.ipv6CidrBlocks,
  this.prefixListIds,
  required this.protocol,
  this.securityGroups,
  this.self,
  required this.toPort,
});