Interface ManagedInstancesNetworkConfiguration.Builder

  • Method Details

    • subnets

      The list of subnet IDs where Amazon ECS can launch Amazon ECS Managed Instances. Instances are distributed across the specified subnets for high availability. All subnets must be in the same VPC.

      Parameters:
      subnets - The list of subnet IDs where Amazon ECS can launch Amazon ECS Managed Instances. Instances are distributed across the specified subnets for high availability. All subnets must be in the same VPC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnets

      The list of subnet IDs where Amazon ECS can launch Amazon ECS Managed Instances. Instances are distributed across the specified subnets for high availability. All subnets must be in the same VPC.

      Parameters:
      subnets - The list of subnet IDs where Amazon ECS can launch Amazon ECS Managed Instances. Instances are distributed across the specified subnets for high availability. All subnets must be in the same VPC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroups

      The list of security group IDs to apply to Amazon ECS Managed Instances. These security groups control the network traffic allowed to and from the instances.

      Parameters:
      securityGroups - The list of security group IDs to apply to Amazon ECS Managed Instances. These security groups control the network traffic allowed to and from the instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroups

      ManagedInstancesNetworkConfiguration.Builder securityGroups(String... securityGroups)

      The list of security group IDs to apply to Amazon ECS Managed Instances. These security groups control the network traffic allowed to and from the instances.

      Parameters:
      securityGroups - The list of security group IDs to apply to Amazon ECS Managed Instances. These security groups control the network traffic allowed to and from the instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.