SecurityGroupEgressRuleArgs constructor

const SecurityGroupEgressRuleArgs({
  1. Input<String?>? cidrIpv4,
  2. Input<String?>? cidrIpv6,
  3. Input<String?>? description,
  4. Input<int?>? fromPort,
  5. required Input<String> ipProtocol,
  6. Input<String?>? prefixListId,
  7. Input<String?>? referencedSecurityGroupId,
  8. Input<String?>? region,
  9. required Input<String> securityGroupId,
  10. Input<Map<String, String>?>? tags,
  11. Input<int?>? toPort,
})

Creates a new SecurityGroupEgressRuleArgs. cidrIpv4 The destination IPv4 CIDR range. cidrIpv6 The destination IPv6 CIDR range. description The security group rule description. fromPort The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type. ipProtocol The IP protocol name or number. Use -1 to specify all protocols. Note that if ipProtocol is set to -1, it translates to all protocols, all port ranges, and fromPort and toPort values should not be defined. prefixListId The ID of the destination prefix list. referencedSecurityGroupId The destination security group that is referenced in the rule. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. securityGroupId The ID of the security group. tags A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. toPort The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.

Implementation

const SecurityGroupEgressRuleArgs({
  this.cidrIpv4,
  this.cidrIpv6,
  this.description,
  this.fromPort,
  required this.ipProtocol,
  this.prefixListId,
  this.referencedSecurityGroupId,
  this.region,
  required this.securityGroupId,
  this.tags,
  this.toPort,
});