Class EventTargetEcsTargetNetworkConfiguration


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

      • assignPublicIp

        public java.util.Optional<java.lang.Boolean> assignPublicIp()
        Returns:
        Assign a public IP address to the ENI (Fargate launch type only). Valid values are `true` or `false`. Defaults to `false`. For more information, see [Task Networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html)
      • securityGroups

        public java.util.List<java.lang.String> securityGroups()
        Returns:
        The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used.
      • subnets

        public java.util.List<java.lang.String> subnets()
        Returns:
        The subnets associated with the task or service.