SecurityPolicy

class aws_cdk.aws_apigateway.SecurityPolicy(value)

Bases: enum.Enum

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

ExampleMetadata

infused

Example:

# acm_certificate_for_example_com: Any


apigateway.DomainName(self, "custom-domain",
    domain_name="example.com",
    certificate=acm_certificate_for_example_com,
    endpoint_type=apigateway.EndpointType.EDGE,  # default is REGIONAL
    security_policy=apigateway.SecurityPolicy.TLS_1_2
)

Attributes

TLS_1_0

Cipher suite TLS 1.0.

TLS_1_2

Cipher suite TLS 1.2.