ListenerArgs class

The set of arguments for Listener. The set of arguments for Listener.

Constructors

ListenerArgs({required Input<ListenerDefaultAction> defaultAction, Input<String?>? name, Input<int?>? port, required Input<String> protocol, Input<String?>? region, Input<String?>? serviceArn, Input<String?>? serviceIdentifier, Input<Map<String, String>?>? tags})
Creates a new ListenerArgs. defaultAction Default action block for the default listener rule. Default action blocks are defined below. name Name of the listener. A listener name must be unique within a service. 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. port Listener port. You can specify a value from 1 to 65535. If port is not specified and protocol is HTTP, the value will default to 80. If port is not specified and protocol is HTTPS, the value will default to 443. protocol Protocol for the listener. Supported values are HTTP, HTTPS or TLS_PASSTHROUGH region Region where this resource will be managed. Defaults to the Region set in the provider configuration. serviceArn ARN of the VPC Lattice service. You must include either the serviceArn or serviceIdentifier arguments. serviceIdentifier ID of the VPC Lattice service. You must include either the serviceArn or serviceIdentifier arguments. tags Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
const
ListenerArgs.fromMap(Map<String, dynamic> map)
factory

Properties

defaultAction → Input<ListenerDefaultAction>
Default action block for the default listener rule. Default action blocks are defined below.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
Name of the listener. A listener name must be unique within a service. 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.
final
port → Input<int?>?
Listener port. You can specify a value from 1 to 65535. If port is not specified and protocol is HTTP, the value will default to 80. If port is not specified and protocol is HTTPS, the value will default to 443.
final
protocol → Input<String>
Protocol for the listener. Supported values are HTTP, HTTPS or TLS_PASSTHROUGH
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceArn → Input<String?>?
ARN of the VPC Lattice service. You must include either the serviceArn or serviceIdentifier arguments.
final
serviceIdentifier → Input<String?>?
ID of the VPC Lattice service. You must include either the serviceArn or serviceIdentifier arguments. > NOTE: You must specify one of the following arguments: serviceArn or serviceIdentifier.
final
tags → Input<Map<String, String>?>?
Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited