interface TlsConfigProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.APIGatewayv2.CfnIntegration.TlsConfigProperty |
Java | software.amazon.awscdk.services.apigatewayv2.CfnIntegration.TlsConfigProperty |
Python | aws_cdk.aws_apigatewayv2.CfnIntegration.TlsConfigProperty |
TypeScript | @aws-cdk/aws-apigatewayv2 » CfnIntegration » TlsConfigProperty |
The TlsConfig
property specifies the TLS configuration for a private integration.
If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as apigatewayv2 from '@aws-cdk/aws-apigatewayv2';
const tlsConfigProperty: apigatewayv2.CfnIntegration.TlsConfigProperty = {
serverNameToVerify: 'serverNameToVerify',
};
Properties
Name | Type | Description |
---|---|---|
server | string | If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate. |
serverNameToVerify?
Type:
string
(optional)
If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate.
The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual hosting.