1. Packages
  2. Jetstream Provider
  3. API Docs
  4. Provider
jetstream 0.2.0 published on Monday, Apr 14, 2025 by nats-io

jetstream.Provider

Explore with Pulumi AI

jetstream logo
jetstream 0.2.0 published on Monday, Apr 14, 2025 by nats-io

    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
    CredentialData 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 ProviderTls
    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
    CredentialData 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 ProviderTlsArgs
    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
    credentialData 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 ProviderTls
    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
    credentialData 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 ProviderTls
    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 ProviderTlsArgs
    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
    credentialData 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

    CaFile string
    Path to the server root CA file (in PEM format). Needed when the NATS server has TLS enabled with an unknown root CA
    CaFileData string
    The root CA (file) content, in PEM format. Needed when the NATS server has TLS enabled with an unknown root CA
    CertFile string
    Path to client cert file (in PEM format). Needed when NATS server is configured to verify client certificate
    CertFileData string
    The cert file content (in PEM format). Needed when NATS server is configured to verify client certificate
    KeyFile string
    Path to client key file (in PEM format). Needed when NATS server is configured to verify client certificate
    KeyFileData string
    The key file content (in PEM format). Needed when NATS server is configured to verify client certificate
    CaFile string
    Path to the server root CA file (in PEM format). Needed when the NATS server has TLS enabled with an unknown root CA
    CaFileData string
    The root CA (file) content, in PEM format. Needed when the NATS server has TLS enabled with an unknown root CA
    CertFile string
    Path to client cert file (in PEM format). Needed when NATS server is configured to verify client certificate
    CertFileData string
    The cert file content (in PEM format). Needed when NATS server is configured to verify client certificate
    KeyFile string
    Path to client key file (in PEM format). Needed when NATS server is configured to verify client certificate
    KeyFileData string
    The key file content (in PEM format). Needed when NATS server is configured to verify client certificate
    caFile String
    Path to the server root CA file (in PEM format). Needed when the NATS server has TLS enabled with an unknown root CA
    caFileData String
    The root CA (file) content, in PEM format. Needed when the NATS server has TLS enabled with an unknown root CA
    certFile String
    Path to client cert file (in PEM format). Needed when NATS server is configured to verify client certificate
    certFileData String
    The cert file content (in PEM format). Needed when NATS server is configured to verify client certificate
    keyFile String
    Path to client key file (in PEM format). Needed when NATS server is configured to verify client certificate
    keyFileData String
    The key file content (in PEM format). Needed when NATS server is configured to verify client certificate
    caFile string
    Path to the server root CA file (in PEM format). Needed when the NATS server has TLS enabled with an unknown root CA
    caFileData string
    The root CA (file) content, in PEM format. Needed when the NATS server has TLS enabled with an unknown root CA
    certFile string
    Path to client cert file (in PEM format). Needed when NATS server is configured to verify client certificate
    certFileData string
    The cert file content (in PEM format). Needed when NATS server is configured to verify client certificate
    keyFile string
    Path to client key file (in PEM format). Needed when NATS server is configured to verify client certificate
    keyFileData string
    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_data str
    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_data str
    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_data str
    The key file content (in PEM format). Needed when NATS server is configured to verify client certificate
    caFile String
    Path to the server root CA file (in PEM format). Needed when the NATS server has TLS enabled with an unknown root CA
    caFileData String
    The root CA (file) content, in PEM format. Needed when the NATS server has TLS enabled with an unknown root CA
    certFile String
    Path to client cert file (in PEM format). Needed when NATS server is configured to verify client certificate
    certFileData String
    The cert file content (in PEM format). Needed when NATS server is configured to verify client certificate
    keyFile String
    Path to client key file (in PEM format). Needed when NATS server is configured to verify client certificate
    keyFileData String
    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.
    jetstream logo
    jetstream 0.2.0 published on Monday, Apr 14, 2025 by nats-io