public static final class CfnVirtualNode.TlsValidationContextProperty.Builder
extends java.lang.Object
CfnVirtualNode.TlsValidationContextProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnVirtualNode.TlsValidationContextProperty |
build()
Builds the configured instance.
|
CfnVirtualNode.TlsValidationContextProperty.Builder |
subjectAlternativeNames(CfnVirtualNode.SubjectAlternativeNamesProperty subjectAlternativeNames)
Sets the value of
CfnVirtualNode.TlsValidationContextProperty.getSubjectAlternativeNames() |
CfnVirtualNode.TlsValidationContextProperty.Builder |
subjectAlternativeNames(IResolvable subjectAlternativeNames)
Sets the value of
CfnVirtualNode.TlsValidationContextProperty.getSubjectAlternativeNames() |
CfnVirtualNode.TlsValidationContextProperty.Builder |
trust(CfnVirtualNode.TlsValidationContextTrustProperty trust)
Sets the value of
CfnVirtualNode.TlsValidationContextProperty.getTrust() |
CfnVirtualNode.TlsValidationContextProperty.Builder |
trust(IResolvable trust)
Sets the value of
CfnVirtualNode.TlsValidationContextProperty.getTrust() |
public CfnVirtualNode.TlsValidationContextProperty.Builder trust(IResolvable trust)
CfnVirtualNode.TlsValidationContextProperty.getTrust()
trust
- A reference to where to retrieve the trust chain when validating a peer’s Transport Layer Security (TLS) certificate. This parameter is required.this
public CfnVirtualNode.TlsValidationContextProperty.Builder trust(CfnVirtualNode.TlsValidationContextTrustProperty trust)
CfnVirtualNode.TlsValidationContextProperty.getTrust()
trust
- A reference to where to retrieve the trust chain when validating a peer’s Transport Layer Security (TLS) certificate. This parameter is required.this
public CfnVirtualNode.TlsValidationContextProperty.Builder subjectAlternativeNames(IResolvable subjectAlternativeNames)
CfnVirtualNode.TlsValidationContextProperty.getSubjectAlternativeNames()
subjectAlternativeNames
- A reference to an object that represents the SANs for a Transport Layer Security (TLS) validation context.
If you don't specify SANs on the terminating mesh endpoint, the Envoy proxy for that node doesn't verify the SAN on a peer client certificate. If you don't specify SANs on the originating mesh endpoint, the SAN on the certificate provided by the terminating endpoint must match the mesh endpoint service discovery configuration. Since SPIRE vended certificates have a SPIFFE ID as a name, you must set the SAN since the name doesn't match the service discovery name.this
public CfnVirtualNode.TlsValidationContextProperty.Builder subjectAlternativeNames(CfnVirtualNode.SubjectAlternativeNamesProperty subjectAlternativeNames)
CfnVirtualNode.TlsValidationContextProperty.getSubjectAlternativeNames()
subjectAlternativeNames
- A reference to an object that represents the SANs for a Transport Layer Security (TLS) validation context.
If you don't specify SANs on the terminating mesh endpoint, the Envoy proxy for that node doesn't verify the SAN on a peer client certificate. If you don't specify SANs on the originating mesh endpoint, the SAN on the certificate provided by the terminating endpoint must match the mesh endpoint service discovery configuration. Since SPIRE vended certificates have a SPIFFE ID as a name, you must set the SAN since the name doesn't match the service discovery name.this
public CfnVirtualNode.TlsValidationContextProperty build()
CfnVirtualNode.TlsValidationContextProperty
java.lang.NullPointerException
- if any required attribute was not provided