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< ? tags, Input<String, String> ?>int?> ? toPort}) -
Creates a new SecurityGroupIngressRuleArgs.
cidrIpv4The source IPv4 CIDR range.cidrIpv6The source IPv6 CIDR range.descriptionThe security group rule description.fromPortThe start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type.ipProtocolThe IP protocol name or number. Use-1to specify all protocols. Note that ifipProtocolis set to-1, it translates to all protocols, all port ranges, andfromPortandtoPortvalues should not be defined.prefixListIdThe ID of the source prefix list.referencedSecurityGroupIdThe source security group that is referenced in the rule.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.securityGroupIdThe ID of the security group.tagsA map of tags to assign to the resource. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.toPortThe 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
-1to specify all protocols. Note that ifipProtocolis set to-1, it translates to all protocols, all port ranges, andfromPortandtoPortvalues 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
-
A map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration 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