Listener

Provides a Spotinst Multai Listener.

Create a Listener Resource

def Listener(resource_name, opts=None, balancer_id=None, port=None, protocol=None, tags=None, tls_config=None, __props__=None);
func NewListener(ctx *Context, name string, args ListenerArgs, opts ...ResourceOption) (*Listener, error)
public Listener(string name, ListenerArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ListenerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ListenerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ListenerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Listener Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Listener resource accepts the following input properties:

BalancerId string

The ID of the balancer.

Port int

The port on which the load balancer is listening.

Protocol string

The protocol to allow connections to the load balancer.

Tags List<Pulumi.SpotInst.Multai.Inputs.ListenerTagArgs>

A list of key:value paired tags.

TlsConfig Pulumi.SpotInst.Multai.Inputs.ListenerTlsConfigArgs

Describes the TLSConfig configuration.

BalancerId string

The ID of the balancer.

Port int

The port on which the load balancer is listening.

Protocol string

The protocol to allow connections to the load balancer.

Tags []ListenerTag

A list of key:value paired tags.

TlsConfig ListenerTlsConfig

Describes the TLSConfig configuration.

balancerId string

The ID of the balancer.

port number

The port on which the load balancer is listening.

protocol string

The protocol to allow connections to the load balancer.

tags ListenerTag[]

A list of key:value paired tags.

tlsConfig ListenerTlsConfig

Describes the TLSConfig configuration.

balancer_id str

The ID of the balancer.

port float

The port on which the load balancer is listening.

protocol str

The protocol to allow connections to the load balancer.

tags List[ListenerTag]

A list of key:value paired tags.

tls_config Dict[ListenerTlsConfig]

Describes the TLSConfig configuration.

Outputs

All input properties are implicitly available as output properties. Additionally, the Listener resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing Listener Resource

Get an existing Listener resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ListenerState, opts?: CustomResourceOptions): Listener
static get(resource_name, id, opts=None, balancer_id=None, port=None, protocol=None, tags=None, tls_config=None, __props__=None);
func GetListener(ctx *Context, name string, id IDInput, state *ListenerState, opts ...ResourceOption) (*Listener, error)
public static Listener Get(string name, Input<string> id, ListenerState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

BalancerId string

The ID of the balancer.

Port int

The port on which the load balancer is listening.

Protocol string

The protocol to allow connections to the load balancer.

Tags List<Pulumi.SpotInst.Multai.Inputs.ListenerTagArgs>

A list of key:value paired tags.

TlsConfig Pulumi.SpotInst.Multai.Inputs.ListenerTlsConfigArgs

Describes the TLSConfig configuration.

BalancerId string

The ID of the balancer.

Port int

The port on which the load balancer is listening.

Protocol string

The protocol to allow connections to the load balancer.

Tags []ListenerTag

A list of key:value paired tags.

TlsConfig ListenerTlsConfig

Describes the TLSConfig configuration.

balancerId string

The ID of the balancer.

port number

The port on which the load balancer is listening.

protocol string

The protocol to allow connections to the load balancer.

tags ListenerTag[]

A list of key:value paired tags.

tlsConfig ListenerTlsConfig

Describes the TLSConfig configuration.

balancer_id str

The ID of the balancer.

port float

The port on which the load balancer is listening.

protocol str

The protocol to allow connections to the load balancer.

tags List[ListenerTag]

A list of key:value paired tags.

tls_config Dict[ListenerTlsConfig]

Describes the TLSConfig configuration.

Supporting Types

ListenerTag

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Key string

The tag’s key.

Value string

The tag’s value.

Key string

The tag’s key.

Value string

The tag’s value.

key string

The tag’s key.

value string

The tag’s value.

key str

The tag’s key.

value str

The tag’s value.

ListenerTlsConfig

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

CertificateIds List<string>

Contains one or more certificate chains to present to the other side of the connection.

CipherSuites List<string>

List of supported cipher suites. If cipherSuites is nil, TLS uses a list of suites supported by the implementation.

MaxVersion string

MaxVersion contains the maximum SSL/TLS version that is acceptable.

MinVersion string

MinVersion contains the minimum SSL/TLS version that is acceptable (1.0 is the minimum).

PreferServerCipherSuites bool

Controls whether the server selects the client’s most preferred ciphersuite, or the server’s most preferred ciphersuite.

SessionTicketsDisabled bool

May be set to true to disable session ticket (resumption) support.

CertificateIds []string

Contains one or more certificate chains to present to the other side of the connection.

CipherSuites []string

List of supported cipher suites. If cipherSuites is nil, TLS uses a list of suites supported by the implementation.

MaxVersion string

MaxVersion contains the maximum SSL/TLS version that is acceptable.

MinVersion string

MinVersion contains the minimum SSL/TLS version that is acceptable (1.0 is the minimum).

PreferServerCipherSuites bool

Controls whether the server selects the client’s most preferred ciphersuite, or the server’s most preferred ciphersuite.

SessionTicketsDisabled bool

May be set to true to disable session ticket (resumption) support.

certificateIds string[]

Contains one or more certificate chains to present to the other side of the connection.

cipherSuites string[]

List of supported cipher suites. If cipherSuites is nil, TLS uses a list of suites supported by the implementation.

maxVersion string

MaxVersion contains the maximum SSL/TLS version that is acceptable.

minVersion string

MinVersion contains the minimum SSL/TLS version that is acceptable (1.0 is the minimum).

preferServerCipherSuites boolean

Controls whether the server selects the client’s most preferred ciphersuite, or the server’s most preferred ciphersuite.

sessionTicketsDisabled boolean

May be set to true to disable session ticket (resumption) support.

certificateIds List[str]

Contains one or more certificate chains to present to the other side of the connection.

cipherSuites List[str]

List of supported cipher suites. If cipherSuites is nil, TLS uses a list of suites supported by the implementation.

maxVersion str

MaxVersion contains the maximum SSL/TLS version that is acceptable.

minVersion str

MinVersion contains the minimum SSL/TLS version that is acceptable (1.0 is the minimum).

preferServerCipherSuites bool

Controls whether the server selects the client’s most preferred ciphersuite, or the server’s most preferred ciphersuite.

sessionTicketsDisabled bool

May be set to true to disable session ticket (resumption) support.

Package Details

Repository
https://github.com/pulumi/pulumi-spotinst
License
Apache-2.0
Notes
This Pulumi package is based on the spotinst Terraform Provider.