Schedule Aws Vpc Configuration Args
data class ScheduleAwsVpcConfigurationArgs(val assignPublicIp: Output<ScheduleAssignPublicIp>? = null, val securityGroups: Output<List<String>>? = null, val subnets: Output<List<String>>) : ConvertibleToJava<ScheduleAwsVpcConfigurationArgs>
This structure specifies the VPC subnets and security groups for the task, and whether a public IP address is to be used. This structure is relevant only for ECS tasks that use the awsvpc network mode.
Constructors
Link copied to clipboard
constructor(assignPublicIp: Output<ScheduleAssignPublicIp>? = null, securityGroups: Output<List<String>>? = null, subnets: Output<List<String>>)
Properties
Link copied to clipboard
Specifies whether the task's elastic network interface receives a public IP address. You can specify ENABLED
only when LaunchType
in EcsParameters
is set to FARGATE
.
Link copied to clipboard
Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.