formal.ResourceTlsConfiguration
Explore with Pulumi AI
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:
- Resource
Id string - Resource ID for which the TLS configuration is applied to.
- Tls
Config string - Validation mode for the TLS configuration.
- Tls
Ca stringTruststore - PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore.
- Tls
Min stringVersion - Minimum TLS version to be used for connections.
- Resource
Id string - Resource ID for which the TLS configuration is applied to.
- Tls
Config string - Validation mode for the TLS configuration.
- Tls
Ca stringTruststore - PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore.
- Tls
Min stringVersion - Minimum TLS version to be used for connections.
- resource
Id String - Resource ID for which the TLS configuration is applied to.
- tls
Config String - Validation mode for the TLS configuration.
- tls
Ca StringTruststore - PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore.
- tls
Min StringVersion - Minimum TLS version to be used for connections.
- resource
Id string - Resource ID for which the TLS configuration is applied to.
- tls
Config string - Validation mode for the TLS configuration.
- tls
Ca stringTruststore - PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore.
- tls
Min stringVersion - 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_ strtruststore - PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore.
- tls_
min_ strversion - Minimum TLS version to be used for connections.
- resource
Id String - Resource ID for which the TLS configuration is applied to.
- tls
Config String - Validation mode for the TLS configuration.
- tls
Ca StringTruststore - PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore.
- tls
Min StringVersion - 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.
- Resource
Id string - Resource ID for which the TLS configuration is applied to.
- Tls
Ca stringTruststore - PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore.
- Tls
Config string - Validation mode for the TLS configuration.
- Tls
Min stringVersion - Minimum TLS version to be used for connections.
- Resource
Id string - Resource ID for which the TLS configuration is applied to.
- Tls
Ca stringTruststore - PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore.
- Tls
Config string - Validation mode for the TLS configuration.
- Tls
Min stringVersion - Minimum TLS version to be used for connections.
- resource
Id String - Resource ID for which the TLS configuration is applied to.
- tls
Ca StringTruststore - PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore.
- tls
Config String - Validation mode for the TLS configuration.
- tls
Min StringVersion - Minimum TLS version to be used for connections.
- resource
Id string - Resource ID for which the TLS configuration is applied to.
- tls
Ca stringTruststore - PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore.
- tls
Config string - Validation mode for the TLS configuration.
- tls
Min stringVersion - Minimum TLS version to be used for connections.
- resource_
id str - Resource ID for which the TLS configuration is applied to.
- tls_
ca_ strtruststore - 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_ strversion - Minimum TLS version to be used for connections.
- resource
Id String - Resource ID for which the TLS configuration is applied to.
- tls
Ca StringTruststore - PEM encoded CA certificate to verify resource certificates. Only required if resource certificates are not trusted by the root CA truststore.
- tls
Config String - Validation mode for the TLS configuration.
- tls
Min StringVersion - 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.