ScheduleTargetEcsParametersNetworkConfiguration constructor

const ScheduleTargetEcsParametersNetworkConfiguration({
  1. Input<bool?>? assignPublicIp,
  2. Input<List<String>?>? securityGroups,
  3. required Input<List<String>> subnets,
})

Creates a new ScheduleTargetEcsParametersNetworkConfiguration. assignPublicIp Specifies whether the task's elastic network interface receives a public IP address. This attribute is a boolean type, where true maps to ENABLED and false to DISABLED. You can specify true only when the launchType is set to FARGATE. securityGroups Set of 1 to 5 Security Group ID-s to be associated with the task. These security groups must all be in the same VPC. subnets Set of 1 to 16 subnets to be associated with the task. These subnets must all be in the same VPC.

Implementation

const ScheduleTargetEcsParametersNetworkConfiguration({
  this.assignPublicIp,
  this.securityGroups,
  required this.subnets,
});