jetstream.Provider
Explore with Pulumi AI
The provider type for the jetstream package. By default, resources use package-wide configuration
settings, however an explicit Provider
instance may be created and passed during resource
construction to achieve fine-grained programmatic control over provider settings. See the
documentation for more information.
Create Provider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Provider(name: string, args: ProviderArgs, opts?: CustomResourceOptions);
@overload
def Provider(resource_name: str,
args: ProviderArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Provider(resource_name: str,
opts: Optional[ResourceOptions] = None,
credential_data: Optional[str] = None,
credentials: Optional[str] = None,
nkey: Optional[str] = None,
password: Optional[str] = None,
servers: Optional[str] = None,
tls: Optional[ProviderTlsArgs] = None,
user: Optional[str] = None)
func NewProvider(ctx *Context, name string, args ProviderArgs, opts ...ResourceOption) (*Provider, error)
public Provider(string name, ProviderArgs args, CustomResourceOptions? opts = null)
public Provider(String name, ProviderArgs args)
public Provider(String name, ProviderArgs args, CustomResourceOptions options)
type: pulumi:providers:jetstream
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Provider Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Provider resource accepts the following input properties:
- Servers string
- Comma separated list of NATS servers to connect to
- Credential
Data string - The contents of the NATS 2.0 Credentials file to use
- Credentials string
- Path to the NATS 2.0 credentials file to use for authentication
- Nkey string
- Connect using a NKEY seed stored in a file
- Password string
- Connect using a password
- Tls
Provider
Tls - User string
- Connect using an username, used as token when no password is given
- Servers string
- Comma separated list of NATS servers to connect to
- Credential
Data string - The contents of the NATS 2.0 Credentials file to use
- Credentials string
- Path to the NATS 2.0 credentials file to use for authentication
- Nkey string
- Connect using a NKEY seed stored in a file
- Password string
- Connect using a password
- Tls
Provider
Tls Args - User string
- Connect using an username, used as token when no password is given
- servers String
- Comma separated list of NATS servers to connect to
- credential
Data String - The contents of the NATS 2.0 Credentials file to use
- credentials String
- Path to the NATS 2.0 credentials file to use for authentication
- nkey String
- Connect using a NKEY seed stored in a file
- password String
- Connect using a password
- tls
Provider
Tls - user String
- Connect using an username, used as token when no password is given
- servers string
- Comma separated list of NATS servers to connect to
- credential
Data string - The contents of the NATS 2.0 Credentials file to use
- credentials string
- Path to the NATS 2.0 credentials file to use for authentication
- nkey string
- Connect using a NKEY seed stored in a file
- password string
- Connect using a password
- tls
Provider
Tls - user string
- Connect using an username, used as token when no password is given
- servers str
- Comma separated list of NATS servers to connect to
- credential_
data str - The contents of the NATS 2.0 Credentials file to use
- credentials str
- Path to the NATS 2.0 credentials file to use for authentication
- nkey str
- Connect using a NKEY seed stored in a file
- password str
- Connect using a password
- tls
Provider
Tls Args - user str
- Connect using an username, used as token when no password is given
- servers String
- Comma separated list of NATS servers to connect to
- credential
Data String - The contents of the NATS 2.0 Credentials file to use
- credentials String
- Path to the NATS 2.0 credentials file to use for authentication
- nkey String
- Connect using a NKEY seed stored in a file
- password String
- Connect using a password
- tls Property Map
- user String
- Connect using an username, used as token when no password is given
Outputs
All input properties are implicitly available as output properties. Additionally, the Provider 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 string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
ProviderTls, ProviderTlsArgs
- Ca
File string - Path to the server root CA file (in PEM format). Needed when the NATS server has TLS enabled with an unknown root CA
- Ca
File stringData - The root CA (file) content, in PEM format. Needed when the NATS server has TLS enabled with an unknown root CA
- Cert
File string - Path to client cert file (in PEM format). Needed when NATS server is configured to verify client certificate
- Cert
File stringData - The cert file content (in PEM format). Needed when NATS server is configured to verify client certificate
- Key
File string - Path to client key file (in PEM format). Needed when NATS server is configured to verify client certificate
- Key
File stringData - The key file content (in PEM format). Needed when NATS server is configured to verify client certificate
- Ca
File string - Path to the server root CA file (in PEM format). Needed when the NATS server has TLS enabled with an unknown root CA
- Ca
File stringData - The root CA (file) content, in PEM format. Needed when the NATS server has TLS enabled with an unknown root CA
- Cert
File string - Path to client cert file (in PEM format). Needed when NATS server is configured to verify client certificate
- Cert
File stringData - The cert file content (in PEM format). Needed when NATS server is configured to verify client certificate
- Key
File string - Path to client key file (in PEM format). Needed when NATS server is configured to verify client certificate
- Key
File stringData - The key file content (in PEM format). Needed when NATS server is configured to verify client certificate
- ca
File String - Path to the server root CA file (in PEM format). Needed when the NATS server has TLS enabled with an unknown root CA
- ca
File StringData - The root CA (file) content, in PEM format. Needed when the NATS server has TLS enabled with an unknown root CA
- cert
File String - Path to client cert file (in PEM format). Needed when NATS server is configured to verify client certificate
- cert
File StringData - The cert file content (in PEM format). Needed when NATS server is configured to verify client certificate
- key
File String - Path to client key file (in PEM format). Needed when NATS server is configured to verify client certificate
- key
File StringData - The key file content (in PEM format). Needed when NATS server is configured to verify client certificate
- ca
File string - Path to the server root CA file (in PEM format). Needed when the NATS server has TLS enabled with an unknown root CA
- ca
File stringData - The root CA (file) content, in PEM format. Needed when the NATS server has TLS enabled with an unknown root CA
- cert
File string - Path to client cert file (in PEM format). Needed when NATS server is configured to verify client certificate
- cert
File stringData - The cert file content (in PEM format). Needed when NATS server is configured to verify client certificate
- key
File string - Path to client key file (in PEM format). Needed when NATS server is configured to verify client certificate
- key
File stringData - The key file content (in PEM format). Needed when NATS server is configured to verify client certificate
- ca_
file str - Path to the server root CA file (in PEM format). Needed when the NATS server has TLS enabled with an unknown root CA
- ca_
file_ strdata - The root CA (file) content, in PEM format. Needed when the NATS server has TLS enabled with an unknown root CA
- cert_
file str - Path to client cert file (in PEM format). Needed when NATS server is configured to verify client certificate
- cert_
file_ strdata - The cert file content (in PEM format). Needed when NATS server is configured to verify client certificate
- key_
file str - Path to client key file (in PEM format). Needed when NATS server is configured to verify client certificate
- key_
file_ strdata - The key file content (in PEM format). Needed when NATS server is configured to verify client certificate
- ca
File String - Path to the server root CA file (in PEM format). Needed when the NATS server has TLS enabled with an unknown root CA
- ca
File StringData - The root CA (file) content, in PEM format. Needed when the NATS server has TLS enabled with an unknown root CA
- cert
File String - Path to client cert file (in PEM format). Needed when NATS server is configured to verify client certificate
- cert
File StringData - The cert file content (in PEM format). Needed when NATS server is configured to verify client certificate
- key
File String - Path to client key file (in PEM format). Needed when NATS server is configured to verify client certificate
- key
File StringData - The key file content (in PEM format). Needed when NATS server is configured to verify client certificate
Package Details
- Repository
- jetstream nats-io/terraform-provider-jetstream
- License
- Notes
- This Pulumi package is based on the
jetstream
Terraform Provider.