Class ScheduleTargetEcsParametersNetworkConfiguration


  • public final class ScheduleTargetEcsParametersNetworkConfiguration
    extends java.lang.Object
    • Method Detail

      • assignPublicIp

        public java.util.Optional<java.lang.Boolean> assignPublicIp()
        Returns:
        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

        public java.util.List<java.lang.String> securityGroups()
        Returns:
        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

        public java.util.List<java.lang.String> subnets()
        Returns:
        Set of 1 to 16 subnets to be associated with the task. These subnets must all be in the same VPC.