1. Packages
  2. Formal Provider
  3. API Docs
  4. ResourceTlsConfiguration
Formal v1.0.2 published on Thursday, Aug 14, 2025 by Formal

formal.ResourceTlsConfiguration

Explore with Pulumi AI

formal logo
Formal v1.0.2 published on Thursday, Aug 14, 2025 by Formal

    Creating a TLS Configuration of a Resource in Formal.

    Create ResourceTlsConfiguration Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ResourceTlsConfiguration(name: string, args: ResourceTlsConfigurationArgs, opts?: CustomResourceOptions);
    @overload
    def ResourceTlsConfiguration(resource_name: str,
                                 args: ResourceTlsConfigurationArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def ResourceTlsConfiguration(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 resource_id: Optional[str] = None,
                                 tls_config: Optional[str] = None,
                                 tls_ca_truststore: Optional[str] = None,
                                 tls_min_version: Optional[str] = None)
    func NewResourceTlsConfiguration(ctx *Context, name string, args ResourceTlsConfigurationArgs, opts ...ResourceOption) (*ResourceTlsConfiguration, error)
    public ResourceTlsConfiguration(string name, ResourceTlsConfigurationArgs args, CustomResourceOptions? opts = null)
    public ResourceTlsConfiguration(String name, ResourceTlsConfigurationArgs args)
    public ResourceTlsConfiguration(String name, ResourceTlsConfigurationArgs args, CustomResourceOptions options)
    
    type: formal:ResourceTlsConfiguration
    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 ResourceTlsConfigurationArgs
    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 ResourceTlsConfigurationArgs
    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 ResourceTlsConfigurationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ResourceTlsConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ResourceTlsConfigurationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var resourceTlsConfigurationResource = new Pulumi.ResourceTlsConfiguration("resourceTlsConfigurationResource", new()
    {
        ResourceId = "string",
        TlsConfig = "string",
        TlsCaTruststore = "string",
        TlsMinVersion = "string",
    });
    
    example, err := formal.NewResourceTlsConfiguration(ctx, "resourceTlsConfigurationResource", &formal.ResourceTlsConfigurationArgs{
    	ResourceId:      pulumi.String("string"),
    	TlsConfig:       pulumi.String("string"),
    	TlsCaTruststore: pulumi.String("string"),
    	TlsMinVersion:   pulumi.String("string"),
    })
    
    var resourceTlsConfigurationResource = new ResourceTlsConfiguration("resourceTlsConfigurationResource", ResourceTlsConfigurationArgs.builder()
        .resourceId("string")
        .tlsConfig("string")
        .tlsCaTruststore("string")
        .tlsMinVersion("string")
        .build());
    
    resource_tls_configuration_resource = formal.ResourceTlsConfiguration("resourceTlsConfigurationResource",
        resource_id="string",
        tls_config="string",
        tls_ca_truststore="string",
        tls_min_version="string")
    
    const resourceTlsConfigurationResource = new formal.ResourceTlsConfiguration("resourceTlsConfigurationResource", {
        resourceId: "string",
        tlsConfig: "string",
        tlsCaTruststore: "string",
        tlsMinVersion: "string",
    });
    
    type: formal:ResourceTlsConfiguration
    properties:
        resourceId: string
        tlsCaTruststore: string
        tlsConfig: string
        tlsMinVersion: string
    

    ResourceTlsConfiguration 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 ResourceTlsConfiguration resource accepts the following input properties:

    ResourceId string
    Resource ID for which the TLS configuration is applied to.
    TlsConfig string
    Validation mode for the TLS configuration.
    TlsCaTruststore string
    PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore.
    TlsMinVersion string
    Minimum TLS version to be used for connections.
    ResourceId string
    Resource ID for which the TLS configuration is applied to.
    TlsConfig string
    Validation mode for the TLS configuration.
    TlsCaTruststore string
    PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore.
    TlsMinVersion string
    Minimum TLS version to be used for connections.
    resourceId String
    Resource ID for which the TLS configuration is applied to.
    tlsConfig String
    Validation mode for the TLS configuration.
    tlsCaTruststore String
    PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore.
    tlsMinVersion String
    Minimum TLS version to be used for connections.
    resourceId string
    Resource ID for which the TLS configuration is applied to.
    tlsConfig string
    Validation mode for the TLS configuration.
    tlsCaTruststore string
    PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore.
    tlsMinVersion string
    Minimum TLS version to be used for connections.
    resource_id str
    Resource ID for which the TLS configuration is applied to.
    tls_config str
    Validation mode for the TLS configuration.
    tls_ca_truststore str
    PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore.
    tls_min_version str
    Minimum TLS version to be used for connections.
    resourceId String
    Resource ID for which the TLS configuration is applied to.
    tlsConfig String
    Validation mode for the TLS configuration.
    tlsCaTruststore String
    PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore.
    tlsMinVersion String
    Minimum TLS version to be used for connections.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ResourceTlsConfiguration 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.

    Look up Existing ResourceTlsConfiguration Resource

    Get an existing ResourceTlsConfiguration 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?: ResourceTlsConfigurationState, opts?: CustomResourceOptions): ResourceTlsConfiguration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            resource_id: Optional[str] = None,
            tls_ca_truststore: Optional[str] = None,
            tls_config: Optional[str] = None,
            tls_min_version: Optional[str] = None) -> ResourceTlsConfiguration
    func GetResourceTlsConfiguration(ctx *Context, name string, id IDInput, state *ResourceTlsConfigurationState, opts ...ResourceOption) (*ResourceTlsConfiguration, error)
    public static ResourceTlsConfiguration Get(string name, Input<string> id, ResourceTlsConfigurationState? state, CustomResourceOptions? opts = null)
    public static ResourceTlsConfiguration get(String name, Output<String> id, ResourceTlsConfigurationState state, CustomResourceOptions options)
    resources:  _:    type: formal:ResourceTlsConfiguration    get:      id: ${id}
    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.
    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:
    ResourceId string
    Resource ID for which the TLS configuration is applied to.
    TlsCaTruststore string
    PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore.
    TlsConfig string
    Validation mode for the TLS configuration.
    TlsMinVersion string
    Minimum TLS version to be used for connections.
    ResourceId string
    Resource ID for which the TLS configuration is applied to.
    TlsCaTruststore string
    PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore.
    TlsConfig string
    Validation mode for the TLS configuration.
    TlsMinVersion string
    Minimum TLS version to be used for connections.
    resourceId String
    Resource ID for which the TLS configuration is applied to.
    tlsCaTruststore String
    PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore.
    tlsConfig String
    Validation mode for the TLS configuration.
    tlsMinVersion String
    Minimum TLS version to be used for connections.
    resourceId string
    Resource ID for which the TLS configuration is applied to.
    tlsCaTruststore string
    PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore.
    tlsConfig string
    Validation mode for the TLS configuration.
    tlsMinVersion string
    Minimum TLS version to be used for connections.
    resource_id str
    Resource ID for which the TLS configuration is applied to.
    tls_ca_truststore str
    PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore.
    tls_config str
    Validation mode for the TLS configuration.
    tls_min_version str
    Minimum TLS version to be used for connections.
    resourceId String
    Resource ID for which the TLS configuration is applied to.
    tlsCaTruststore String
    PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore.
    tlsConfig String
    Validation mode for the TLS configuration.
    tlsMinVersion String
    Minimum TLS version to be used for connections.

    Package Details

    Repository
    formal formalco/pulumi-formal
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the formal Terraform Provider.
    formal logo
    Formal v1.0.2 published on Thursday, Aug 14, 2025 by Formal