DefaultSecurityGroupIngress

data class DefaultSecurityGroupIngress(val cidrBlocks: List<String>? = null, val description: String? = null, val fromPort: Int, val ipv6CidrBlocks: List<String>? = null, val prefixListIds: List<String>? = null, val protocol: String, val securityGroups: List<String>? = null, val self: Boolean? = null, val toPort: Int)

Constructors

Link copied to clipboard
constructor(cidrBlocks: List<String>? = null, description: String? = null, fromPort: Int, ipv6CidrBlocks: List<String>? = null, prefixListIds: List<String>? = null, protocol: String, securityGroups: List<String>? = null, self: Boolean? = null, toPort: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val cidrBlocks: List<String>? = null

List of CIDR blocks.

Link copied to clipboard
val description: String? = null

Description of this rule.

Link copied to clipboard

Start port (or ICMP type number if protocol is icmp)

Link copied to clipboard
val ipv6CidrBlocks: List<String>? = null

List of IPv6 CIDR blocks.

Link copied to clipboard
val prefixListIds: List<String>? = null

List of prefix list IDs (for allowing access to VPC endpoints)

Link copied to clipboard

Protocol. If you select a protocol of "-1" (semantically equivalent to all, which is not a valid value here), you must specify a from_port and to_port equal to 0. If not icmp, tcp, udp, or -1 use the protocol number.

Link copied to clipboard
val securityGroups: List<String>? = null

List of security groups. A group name can be used relative to the default VPC. Otherwise, group ID.

Link copied to clipboard
val self: Boolean? = null

Whether the security group itself will be added as a source to this egress rule.

Link copied to clipboard
val toPort: Int

End range port (or ICMP code if protocol is icmp).