SecurityGroupIngressRuleArgs class

The set of arguments for SecurityGroupIngressRule. The set of arguments for SecurityGroupIngressRule.

Constructors

SecurityGroupIngressRuleArgs({Input<String?>? cidrIpv4, Input<String?>? cidrIpv6, Input<String?>? description, Input<int?>? fromPort, required Input<String> ipProtocol, Input<String?>? prefixListId, Input<String?>? referencedSecurityGroupId, Input<String?>? region, required Input<String> securityGroupId, Input<Map<String, String>?>? tags, Input<int?>? toPort})
Creates a new SecurityGroupIngressRuleArgs. cidrIpv4 The source IPv4 CIDR range. cidrIpv6 The source 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 source prefix list. referencedSecurityGroupId The source 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.
const
SecurityGroupIngressRuleArgs.fromMap(Map<String, dynamic> map)
factory

Properties

cidrIpv4 → Input<String?>?
The source IPv4 CIDR range.
final
cidrIpv6 → Input<String?>?
The source IPv6 CIDR range.
final
description → Input<String?>?
The security group rule description.
final
fromPort → Input<int?>?
The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type.
final
hashCode → int
The hash code for this object.
no setterinherited
ipProtocol → Input<String>
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.
final
prefixListId → Input<String?>?
The ID of the source prefix list.
final
referencedSecurityGroupId → Input<String?>?
The source security group that is referenced in the rule.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
securityGroupId → Input<String>
The ID of the security group.
final
tags → Input<Map<String, String>?>?
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.
final
toPort → Input<int?>?
The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited