DefaultSecurityGroupIngress class

Constructors

DefaultSecurityGroupIngress({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 DefaultSecurityGroupIngress. cidrBlocks List of CIDR blocks. description Description of the security group. fromPort Start port (or ICMP type number if protocol is icmp) ipv6CidrBlocks List of IPv6 CIDR blocks. prefixListIds List of prefix list IDs (for allowing access to VPC endpoints) 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. If not icmp, tcp, udp, or -1 use the protocol number. 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).
const
DefaultSecurityGroupIngress.fromMap(Map<String, dynamic> map)
factory

Properties

cidrBlocks → Input<List<String>?>?
List of CIDR blocks.
final
description → Input<String?>?
Description of the security group.
final
fromPort → Input<int>
Start port (or ICMP type number if protocol is icmp)
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 (for allowing access to VPC endpoints)
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. If not icmp, tcp, udp, or -1 use the protocol number.
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 egress 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