aws_vpc_lattice_listener
account_id
Type: STRING
arn
Type: STRING
Provider name: arn
Description: The Amazon Resource Name (ARN) of the listener.
created_at
Type: TIMESTAMP
Provider name: createdAt
Description: The date and time that the listener was created, in ISO-8601 format.
default_action
Type: STRUCT
Provider name: defaultAction
Description: The actions for the default listener rule.
fixed_response
Type: STRUCT
Provider name: fixedResponse
Description: The fixed response action. The rule returns a custom HTTP response.
status_code
Type: INT32
Provider name: statusCode
Description: The HTTP response code.
forward
Type: STRUCT
Provider name: forward
Description: The forward action. Traffic that matches the rule is forwarded to the specified target groups.
target_groups
Type: UNORDERED_LIST_STRUCT
Provider name: targetGroups
Description: The target groups. Traffic matching the rule is forwarded to the specified target groups. With forward actions, you can assign a weight that controls the prioritization and selection of each target group. This means that requests are distributed to individual target groups based on their weights. For example, if two target groups have the same weight, each target group receives half of the traffic. The default value is 1. This means that if only one target group is provided, there is no need to set the weight; 100% of the traffic goes to that target group.
target_group_identifier
Type: STRING
Provider name: targetGroupIdentifier
Description: The ID or ARN of the target group.
weight
Type: INT32
Provider name: weight
Description: Only required if you specify multiple target groups for a forward action. The weight determines how requests are distributed to the target group. For example, if you specify two target groups, each with a weight of 10, each target group receives half the requests. If you specify two target groups, one with a weight of 10 and the other with a weight of 20, the target group with a weight of 20 receives twice as many requests as the other target group. If there’s only one target group specified, then the default value is 100.
id
Type: STRING
Provider name: id
Description: The ID of the listener.
last_updated_at
Type: TIMESTAMP
Provider name: lastUpdatedAt
Description: The date and time that the listener was last updated, in ISO-8601 format.
name
Type: STRING
Provider name: name
Description: The name of the listener.
port
Type: INT32
Provider name: port
Description: The listener port.
protocol
Type: STRING
Provider name: protocol
Description: The listener protocol.
service_arn
Type: STRING
Provider name: serviceArn
Description: The Amazon Resource Name (ARN) of the service.
service_id
Type: STRING
Provider name: serviceId
Description: The ID of the service.
Type: UNORDERED_LIST_STRING