DefaultSecurityGroupIngressArgs

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

Constructors

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

Properties

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

List of CIDR blocks.

Link copied to clipboard
val description: Output<String>? = null

Description of this rule.

Link copied to clipboard
val fromPort: Output<Int>

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

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

List of IPv6 CIDR blocks.

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

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

Link copied to clipboard
val protocol: Output<String>

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: Output<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: Output<Boolean>? = null

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

Link copied to clipboard
val toPort: Output<Int>

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

Functions

Link copied to clipboard
open override fun toJava(): DefaultSecurityGroupIngressArgs