ClientTlsPolicyArgs constructor
- Input<
GoogleCloudNetworksecurityV1CertificateProvider> ? clientCertificate, - required Input<
String> clientTlsPolicyId, - Input<
String> ? description, - Input<
Map< ? labels,String, String> > - Input<
String> ? location, - Input<
String> ? name, - Input<
String> ? project, - Input<
List< ? serverValidationCa,ValidationCA> > - Input<
String> ? sni,
Creates a new ClientTlsPolicyArgs.
clientCertificate Optional. Defines a mechanism to provision client identity (public and private keys) for peer to peer authentication. The presence of this dictates mTLS.
clientTlsPolicyId Required. Short name of the ClientTlsPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "client_mtls_policy".
description Optional. Free-text description of the resource.
labels Optional. Set of label tags associated with the resource.
location Optional.
name Name of the ClientTlsPolicy resource. It matches the pattern projects/*/locations/{location}/clientTlsPolicies/{client_tls_policy}
project Optional.
serverValidationCa Optional. Defines the mechanism to obtain the Certificate Authority certificate to validate the server certificate. If empty, client does not validate the server certificate.
sni Optional. Server Name Indication string to present to the server during TLS handshake. E.g: "secure.example.com".
Implementation
const ClientTlsPolicyArgs({
this.clientCertificate,
required this.clientTlsPolicyId,
this.description,
this.labels,
this.location,
this.name,
this.project,
this.serverValidationCa,
this.sni,
});