MTLSConfig

class aws_cdk.aws_apigatewayv2.MTLSConfig(*, bucket, key, version=None)

Bases: object

(experimental) The mTLS authentication configuration for a custom domain name.

Parameters
  • bucket (IBucket) – (experimental) The bucket that the trust store is hosted in.

  • key (str) – (experimental) The key in S3 to look at for the trust store.

  • version (Optional[str]) – (experimental) The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket. Default: - latest version

Stability

experimental

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_apigatewayv2 as apigatewayv2
import aws_cdk.aws_s3 as s3

# bucket is of type Bucket

m_tLSConfig = apigatewayv2.MTLSConfig(
    bucket=bucket,
    key="key",

    # the properties below are optional
    version="version"
)

Attributes

bucket

(experimental) The bucket that the trust store is hosted in.

Stability

experimental

Return type

IBucket

key

(experimental) The key in S3 to look at for the trust store.

Stability

experimental

Return type

str

version

(experimental) The version of the S3 object that contains your truststore.

To specify a version, you must have versioning enabled for the S3 bucket.

Default
  • latest version

Stability

experimental

Return type

Optional[str]