Interface ManagedInstancesNetworkConfiguration.Builder

    • Method Detail

      • subnets

        ManagedInstancesNetworkConfiguration.Builder subnets​(Collection<String> 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

        ManagedInstancesNetworkConfiguration.Builder subnets​(String... 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

        ManagedInstancesNetworkConfiguration.Builder securityGroups​(Collection<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.
      • 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.