Creates a listener for a service. Before you start using your Amazon VPC Lattice service, you must add one or more listeners. A listener is a process that checks for connection requests to your services.
default_action
(Attributes) (see below for nested schema)protocol
(String)name
(String)port
(Number)service_identifier
(String)tags
(Attributes Set) (see below for nested schema)arn
(String)id
(String) Uniquely identifies the resource.listener_id
(String)service_arn
(String)service_id
(String)default_action
Optional:
fixed_response
(Attributes) (see below for nested schema)forward
(Attributes) (see below for nested schema)default_action.fixed_response
Required:
status_code
(Number)default_action.forward
Required:
target_groups
(Attributes List) (see below for nested schema)default_action.forward.target_groups
Required:
target_group_identifier
(String)Optional:
weight
(Number)tags
Required:
key
(String)value
(String)Import is supported using the following syntax:
$ terraform import awscc_vpclattice_listener.example <resource ID>