UNPKG

@formalco/pulumi

Version:

A Pulumi package for creating and managing Formal resources.

88 lines (87 loc) 3.51 kB
import * as pulumi from "@pulumi/pulumi"; /** * Creating a TLS Configuration of a Resource in Formal. */ export declare class ResourceTlsConfiguration extends pulumi.CustomResource { /** * Get an existing ResourceTlsConfiguration resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ResourceTlsConfigurationState, opts?: pulumi.CustomResourceOptions): ResourceTlsConfiguration; /** * Returns true if the given object is an instance of ResourceTlsConfiguration. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ResourceTlsConfiguration; /** * Resource ID for which the TLS configuration is applied to. */ readonly resourceId: pulumi.Output<string>; /** * PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore. */ readonly tlsCaTruststore: pulumi.Output<string | undefined>; /** * Validation mode for the TLS configuration. */ readonly tlsConfig: pulumi.Output<string>; /** * Minimum TLS version to be used for connections. */ readonly tlsMinVersion: pulumi.Output<string | undefined>; /** * Create a ResourceTlsConfiguration resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ResourceTlsConfigurationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ResourceTlsConfiguration resources. */ export interface ResourceTlsConfigurationState { /** * Resource ID for which the TLS configuration is applied to. */ resourceId?: pulumi.Input<string>; /** * PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore. */ tlsCaTruststore?: pulumi.Input<string>; /** * Validation mode for the TLS configuration. */ tlsConfig?: pulumi.Input<string>; /** * Minimum TLS version to be used for connections. */ tlsMinVersion?: pulumi.Input<string>; } /** * The set of arguments for constructing a ResourceTlsConfiguration resource. */ export interface ResourceTlsConfigurationArgs { /** * Resource ID for which the TLS configuration is applied to. */ resourceId: pulumi.Input<string>; /** * PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore. */ tlsCaTruststore?: pulumi.Input<string>; /** * Validation mode for the TLS configuration. */ tlsConfig: pulumi.Input<string>; /** * Minimum TLS version to be used for connections. */ tlsMinVersion?: pulumi.Input<string>; }