SecurityGroupIngressArgs

data class SecurityGroupIngressArgs(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<SecurityGroupIngressArgs>

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 ingress rule.

Link copied to clipboard
val fromPort: Output<Int>

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

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.

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. The supported values are defined in the IpProtocol argument on the IpPermission API reference. The following arguments are optional:

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 ingress 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(): SecurityGroupIngressArgs