Listener
Provides a Spotinst Multai Listener.
Create a Listener Resource
new Listener(name: string, args: ListenerArgs, opts?: CustomResourceOptions);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:
- Balancer
Id 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.
-
List<Pulumi.
Spot Inst. Multai. Inputs. Listener Tag Args> A list of key:value paired tags.
- Tls
Config Pulumi.Spot Inst. Multai. Inputs. Listener Tls Config Args Describes the TLSConfig configuration.
- Balancer
Id 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.
-
[]Listener
Tag A list of key:value paired tags.
- Tls
Config ListenerTls Config Describes the TLSConfig configuration.
- balancer
Id 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.
-
Listener
Tag[] A list of key:value paired tags.
- tls
Config ListenerTls Config 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.
-
List[Listener
Tag] A list of key:value paired tags.
- tls_
config Dict[ListenerTls Config] Describes the TLSConfig configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the Listener resource produces the following output properties:
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): Listenerstatic 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:
- Balancer
Id 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.
-
List<Pulumi.
Spot Inst. Multai. Inputs. Listener Tag Args> A list of key:value paired tags.
- Tls
Config Pulumi.Spot Inst. Multai. Inputs. Listener Tls Config Args Describes the TLSConfig configuration.
- Balancer
Id 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.
-
[]Listener
Tag A list of key:value paired tags.
- Tls
Config ListenerTls Config Describes the TLSConfig configuration.
- balancer
Id 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.
-
Listener
Tag[] A list of key:value paired tags.
- tls
Config ListenerTls Config 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.
-
List[Listener
Tag] A list of key:value paired tags.
- tls_
config Dict[ListenerTls Config] Describes the TLSConfig configuration.
Supporting Types
ListenerTag
ListenerTlsConfig
- Certificate
Ids List<string> Contains one or more certificate chains to present to the other side of the connection.
- Cipher
Suites List<string> List of supported cipher suites. If cipherSuites is nil, TLS uses a list of suites supported by the implementation.
- Max
Version string MaxVersion contains the maximum SSL/TLS version that is acceptable.
- Min
Version string MinVersion contains the minimum SSL/TLS version that is acceptable (1.0 is the minimum).
- Prefer
Server boolCipher Suites Controls whether the server selects the client’s most preferred ciphersuite, or the server’s most preferred ciphersuite.
- Session
Tickets boolDisabled May be set to true to disable session ticket (resumption) support.
- Certificate
Ids []string Contains one or more certificate chains to present to the other side of the connection.
- Cipher
Suites []string List of supported cipher suites. If cipherSuites is nil, TLS uses a list of suites supported by the implementation.
- Max
Version string MaxVersion contains the maximum SSL/TLS version that is acceptable.
- Min
Version string MinVersion contains the minimum SSL/TLS version that is acceptable (1.0 is the minimum).
- Prefer
Server boolCipher Suites Controls whether the server selects the client’s most preferred ciphersuite, or the server’s most preferred ciphersuite.
- Session
Tickets boolDisabled May be set to true to disable session ticket (resumption) support.
- certificate
Ids string[] Contains one or more certificate chains to present to the other side of the connection.
- cipher
Suites string[] List of supported cipher suites. If cipherSuites is nil, TLS uses a list of suites supported by the implementation.
- max
Version string MaxVersion contains the maximum SSL/TLS version that is acceptable.
- min
Version string MinVersion contains the minimum SSL/TLS version that is acceptable (1.0 is the minimum).
- prefer
Server booleanCipher Suites Controls whether the server selects the client’s most preferred ciphersuite, or the server’s most preferred ciphersuite.
- session
Tickets booleanDisabled May be set to true to disable session ticket (resumption) support.
- certificate
Ids List[str] Contains one or more certificate chains to present to the other side of the connection.
- cipher
Suites List[str] List of supported cipher suites. If cipherSuites is nil, TLS uses a list of suites supported by the implementation.
- max
Version str MaxVersion contains the maximum SSL/TLS version that is acceptable.
- min
Version str MinVersion contains the minimum SSL/TLS version that is acceptable (1.0 is the minimum).
- prefer
Server boolCipher Suites Controls whether the server selects the client’s most preferred ciphersuite, or the server’s most preferred ciphersuite.
- session
Tickets boolDisabled 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
spotinstTerraform Provider.