Skip to content
v2.274.0

VirtualGatewayClientPolicyTlsProperty Struct ​

An object that represents a Transport Layer Security (TLS) client policy.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appmesh as appmesh } from 'aws-cdk-lib';
const virtualGatewayClientPolicyTlsProperty: appmesh.CfnVirtualGateway.VirtualGatewayClientPolicyTlsProperty = {
  validation: {
    trust: {
      acm: {
        certificateAuthorityArns: ['certificateAuthorityArns'],
      },
      file: {
        certificateChain: 'certificateChain',
      },
      sds: {
        secretName: 'secretName',
      },
    },

    // the properties below are optional
    subjectAlternativeNames: {
      match: {
        exact: ['exact'],
      },
    },
  },

  // the properties below are optional
  certificate: {
    file: {
      certificateChain: 'certificateChain',
      privateKey: 'privateKey',
    },
    sds: {
      secretName: 'secretName',
    },
  },
  enforce: false,
  ports: [123],
};

Properties ​

certificateoptionalIResolvable | CfnVirtualGateway.VirtualGatewayClientTlsCertificatePropertycertificateoptionaltyping.Union[IResolvable, VirtualGatewayClientTlsCertificateProperty]certificateoptionalIResolvableCertificateoptionalIResolvableCertificateoptionalinterface{}#
A reference to an object that represents a virtual gateway's client's Transport Layer Security (TLS) certificate.
enforceoptionalboolean | IResolvableenforceoptionaltyping.Union[bool, IResolvable]enforceoptionalBooleanEnforceoptionalboolEnforceoptionalinterface{}#
Whether the policy is enforced.

The default is True , if a value isn't specified.

portsoptionalnumber[] | IResolvableportsoptionaltyping.Union[typing.List[int | float], IResolvable]portsoptionalList<Number>Portsoptionaldouble[]Portsoptionalinterface{}#
One or more ports that the policy is enforced for.
A reference to an object that represents a Transport Layer Security (TLS) validation context.