Skip to content

ECS  >  Structures  >  VpcLatticeConfiguration

VpcLatticeConfiguration

Structure Class

VpcLatticeConfiguration dataclass

Bases: _SerdeShape

The VPC Lattice configuration for your service that holds the information for the target group(s) Amazon ECS tasks will be registered to.

Attributes

advanced_configuration class-attribute instance-attribute
advanced_configuration: VpcLatticeAdvancedConfiguration | None = ...

The advanced settings for VPC Lattice used in blue/green deployments. Specify the alternate target group and listener rules required for traffic shifting during blue/green deployments. For more information, see Required resources for Amazon ECS blue/green deployments in the Amazon Elastic Container Service Developer Guide.

port_name instance-attribute
port_name: str

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.

role_arn instance-attribute
role_arn: str

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.

target_group_arn instance-attribute
target_group_arn: str

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.