Skip to content
v2.278.0

MutualTlsAuthenticationProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sam as sam } from 'aws-cdk-lib';
const mutualTlsAuthenticationProperty: sam.CfnHttpApi.MutualTlsAuthenticationProperty = {
  truststoreUri: 'truststoreUri',
  truststoreVersion: false,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sam as sam

mutual_tls_authentication_property = sam.CfnHttpApi.MutualTlsAuthenticationProperty(
    truststore_uri="truststoreUri",
    truststore_version=False
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sam.*;

MutualTlsAuthenticationProperty mutualTlsAuthenticationProperty = MutualTlsAuthenticationProperty.builder()
        .truststoreUri("truststoreUri")
        .truststoreVersion(false)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SAM;

var mutualTlsAuthenticationProperty = new MutualTlsAuthenticationProperty {
    TruststoreUri = "truststoreUri",
    TruststoreVersion = false
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

mutualTlsAuthenticationProperty := &MutualTlsAuthenticationProperty{
	TruststoreUri: jsii.String("truststoreUri"),
	TruststoreVersion: jsii.Boolean(false),
}

Properties ​

truststoreUrioptionalstringtruststore_urioptionalstrtruststoreUrioptionalStringTruststoreUrioptionalstringTruststoreUrioptional*string #
truststoreVersionoptionalboolean | IResolvabletruststore_versionoptionaltyping.Union[bool, IResolvable]truststoreVersionoptionalBooleanTruststoreVersionoptionalboolTruststoreVersionoptionalinterface{} #