Resource Type definition for AWS::GlobalAccelerator::Listener
resource "awscc_globalaccelerator_listener" "example" {
accelerator_arn = awscc_globalaccelerator_accelerator.example.id
protocol = "TCP"
port_ranges = [{
from_port = "80"
to_port = "80"
}]
}
accelerator_arn
(String) The Amazon Resource Name (ARN) of the accelerator.port_ranges
(Attributes List) (see below for nested schema)client_affinity
(String) Client affinity lets you direct all requests from a user to the same endpoint.protocol
(String) The protocol for the listener.id
(String) Uniquely identifies the resource.listener_arn
(String) The Amazon Resource Name (ARN) of the listener.port_ranges
Required:
from_port
(Number) A network port numberto_port
(Number) A network port numberImport is supported using the following syntax:
$ terraform import awscc_globalaccelerator_listener.example <resource ID>