SecurityGroupIngress class

Constructors

SecurityGroupIngress({Input<List<String>?>? cidrBlocks, Input<String?>? description, required Input<int> fromPort, Input<List<String>?>? ipv6CidrBlocks, Input<List<String>?>? prefixListIds, required Input<String> protocol, Input<List<String>?>? securityGroups, Input<bool?>? self, required Input<int> toPort})
Creates a new SecurityGroupIngress. cidrBlocks List of CIDR blocks. description Description of this ingress rule. fromPort Start port (or ICMP type number if protocol is icmp or icmpv6). 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 on 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 ingress rule. toPort End range port (or ICMP code if protocol is icmp).
const
SecurityGroupIngress.fromMap(Map<String, dynamic> map)
factory

Properties

cidrBlocks → Input<List<String>?>?
List of CIDR blocks.
final
description → Input<String?>?
Description of this ingress rule.
final
fromPort → Input<int>
Start port (or ICMP type number if protocol is icmp or icmpv6).
final
hashCode → int
The hash code for this object.
no setterinherited
ipv6CidrBlocks → Input<List<String>?>?
List of IPv6 CIDR blocks.
final
prefixListIds → Input<List<String>?>?
List of Prefix List IDs.
final
protocol → Input<String>
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 on the IpPermission API reference.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
securityGroups → Input<List<String>?>?
List of security groups. A group name can be used relative to the default VPC. Otherwise, group ID.
final
self → Input<bool?>?
Whether the security group itself will be added as a source to this ingress rule.
final
toPort → Input<int>
End range port (or ICMP code if protocol is icmp).
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