aws-cdk-lib.aws_apigateway.SecurityPolicy

enum SecurityPolicy

LanguageType name
.NETAmazon.CDK.AWS.APIGateway.SecurityPolicy
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsapigateway#SecurityPolicy
Javasoftware.amazon.awscdk.services.apigateway.SecurityPolicy
Pythonaws_cdk.aws_apigateway.SecurityPolicy
TypeScript (source)aws-cdk-lib » aws_apigateway » SecurityPolicy

The minimum version of the SSL protocol that you want API Gateway to use for HTTPS connections.

Example

declare const acmCertificateForExampleCom: any;

new apigateway.DomainName(this, 'custom-domain', {
  domainName: 'example.com',
  certificate: acmCertificateForExampleCom,
  endpointType: apigateway.EndpointType.EDGE, // default is REGIONAL
  securityPolicy: apigateway.SecurityPolicy.TLS_1_2
});

Members

NameDescription
TLS_1_0Cipher suite TLS 1.0.
TLS_1_2Cipher suite TLS 1.2.

TLS_1_0

Cipher suite TLS 1.0.


TLS_1_2

Cipher suite TLS 1.2.