ServiceAwsVpcConfigurationArgs

data class ServiceAwsVpcConfigurationArgs(val assignPublicIp: Output<ServiceAwsVpcConfigurationAssignPublicIp>? = null, val securityGroups: Output<List<String>>? = null, val subnets: Output<List<String>>? = null) : ConvertibleToJava<ServiceAwsVpcConfigurationArgs>

An object representing the networking details for a task or service. For example `awsVpcConfiguration={subnets=["subnet-12344321"],securityGroups=["sg-12344321"]}`.

Constructors

Link copied to clipboard
constructor(assignPublicIp: Output<ServiceAwsVpcConfigurationAssignPublicIp>? = null, securityGroups: Output<List<String>>? = null, subnets: Output<List<String>>? = null)

Properties

Link copied to clipboard

Whether the task's elastic network interface receives a public IP address. Consider the following when you set this value:

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

The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified. All specified security groups must be from the same VPC.

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

The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified. All specified subnets must be from the same VPC.

Functions

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