Interface VpcLatticeConfiguration.Builder

  • Method Details

    • roleArn

      The ARN of the IAM role to associate with this VPC Lattice configuration. This is the Amazon ECS infrastructure IAM role that is used to manage your VPC Lattice infrastructure.

      Parameters:
      roleArn - The ARN of the IAM role to associate with this VPC Lattice configuration. This is the Amazon ECS infrastructure IAM role that is used to manage your VPC Lattice infrastructure.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetGroupArn

      VpcLatticeConfiguration.Builder targetGroupArn(String targetGroupArn)

      The full Amazon Resource Name (ARN) of the target group or groups associated with the VPC Lattice configuration that the Amazon ECS tasks will be registered to.

      Parameters:
      targetGroupArn - The full Amazon Resource Name (ARN) of the target group or groups associated with the VPC Lattice configuration that the Amazon ECS tasks will be registered to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • portName

      The name of the port mapping to register in the VPC Lattice target group. This is the name of the portMapping you defined in your task definition.

      Parameters:
      portName - The name of the port mapping to register in the VPC Lattice target group. This is the name of the portMapping you defined in your task definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • advancedConfiguration

      VpcLatticeConfiguration.Builder advancedConfiguration(VpcLatticeAdvancedConfiguration advancedConfiguration)
      Sets the value of the AdvancedConfiguration property for this object.
      Parameters:
      advancedConfiguration - The new value for the AdvancedConfiguration property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • advancedConfiguration

      default VpcLatticeConfiguration.Builder advancedConfiguration(Consumer<VpcLatticeAdvancedConfiguration.Builder> advancedConfiguration)
      Sets the value of the AdvancedConfiguration property for this object. This is a convenience method that creates an instance of the VpcLatticeAdvancedConfiguration.Builder avoiding the need to create one manually via VpcLatticeAdvancedConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to advancedConfiguration(VpcLatticeAdvancedConfiguration).

      Parameters:
      advancedConfiguration - a consumer that will call methods on VpcLatticeAdvancedConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: