ListenerArgs

data class ListenerArgs(val defaultAction: Output<ListenerDefaultActionArgs>? = null, val name: Output<String>? = null, val port: Output<Int>? = null, val protocol: Output<ListenerProtocol>? = null, val serviceIdentifier: Output<String>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<ListenerArgs>

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.

Constructors

Link copied to clipboard
constructor(defaultAction: Output<ListenerDefaultActionArgs>? = null, name: Output<String>? = null, port: Output<Int>? = null, protocol: Output<ListenerProtocol>? = null, serviceIdentifier: Output<String>? = null, tags: Output<List<TagArgs>>? = null)

Properties

Link copied to clipboard

The action for the default rule. Each listener has a default rule. The default rule is used if no other rules match.

Link copied to clipboard
val name: Output<String>? = null

The name of the listener. A listener name must be unique within a service. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen. If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.

Link copied to clipboard
val port: Output<Int>? = null

The listener port. You can specify a value from 1 to 65535. For HTTP, the default is 80. For HTTPS, the default is 443.

Link copied to clipboard
val protocol: Output<ListenerProtocol>? = null

The listener protocol.

Link copied to clipboard
val serviceIdentifier: Output<String>? = null

The ID or Amazon Resource Name (ARN) of the service.

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

The tags for the listener.

Functions

Link copied to clipboard
open override fun toJava(): ListenerArgs