DomainMappingOptions

class aws_cdk.aws_apigatewayv2.DomainMappingOptions(*, domain_name, mapping_key=None)

Bases: object

(experimental) Options for DomainMapping.

Parameters
  • domain_name (IDomainName) – (experimental) The domain name for the mapping.

  • mapping_key (Optional[str]) – (experimental) The API mapping key. Leave it undefined for the root path mapping. Default: - empty key for the root path mapping

Stability

experimental

Attributes

domain_name

(experimental) The domain name for the mapping.

Stability

experimental

Return type

IDomainName

mapping_key

(experimental) The API mapping key.

Leave it undefined for the root path mapping.

Default
  • empty key for the root path mapping

Stability

experimental

Return type

Optional[str]