CfnDomainNameV2Props
- class aws_cdk.aws_apigateway.CfnDomainNameV2Props(*, certificate_arn=None, domain_name=None, endpoint_configuration=None, policy=None, routing_mode=None, security_policy=None, tags=None)
- Bases: - object- Properties for defining a - CfnDomainNameV2.- Parameters:
- certificate_arn ( - Optional[- str]) – The reference to an AWS -managed certificate that will be used by the private endpoint for this domain name. AWS Certificate Manager is the only supported source.
- domain_name ( - Optional[- str]) – Represents a custom domain name as a user-friendly host name of an API (RestApi).
- endpoint_configuration ( - Union[- IResolvable,- EndpointConfigurationProperty,- Dict[- str,- Any],- None]) – The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has and the IP address types that can invoke it.
- policy ( - Any) – A stringified JSON policy document that applies to the- execute-apiservice for this DomainName regardless of the caller and Method configuration. You can use- Fn::ToJsonStringto enter your- policy. For more information, see Fn::ToJsonString .
- routing_mode ( - Optional[- str]) – The routing mode for this domain name. The routing mode determines how API Gateway sends traffic from your custom domain name to your private APIs. Default: - “BASE_PATH_MAPPING_ONLY”
- security_policy ( - Optional[- str]) – The Transport Layer Security (TLS) version + cipher suite for this DomainName. Only- TLS_1_2is supported.
- tags ( - Optional[- Sequence[- Union[- CfnTag,- Dict[- str,- Any]]]]) – The collection of tags. Each tag element is associated with a given resource.
 
- See:
- ExampleMetadata:
- fixture=_generated 
 - Example: - # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_apigateway as apigateway # policy: Any cfn_domain_name_v2_props = apigateway.CfnDomainNameV2Props( certificate_arn="certificateArn", domain_name="domainName", endpoint_configuration=apigateway.CfnDomainNameV2.EndpointConfigurationProperty( ip_address_type="ipAddressType", types=["types"] ), policy=policy, routing_mode="routingMode", security_policy="securityPolicy", tags=[CfnTag( key="key", value="value" )] ) - Attributes - certificate_arn
- The reference to an AWS -managed certificate that will be used by the private endpoint for this domain name. - AWS Certificate Manager is the only supported source. 
 - domain_name
- Represents a custom domain name as a user-friendly host name of an API (RestApi). 
 - endpoint_configuration
- The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has and the IP address types that can invoke it. 
 - policy
- A stringified JSON policy document that applies to the - execute-apiservice for this DomainName regardless of the caller and Method configuration.- You can use - Fn::ToJsonStringto enter your- policy. For more information, see Fn::ToJsonString .
 - routing_mode
- The routing mode for this domain name. - The routing mode determines how API Gateway sends traffic from your custom domain name to your private APIs. - Default:
- “BASE_PATH_MAPPING_ONLY” 
 
- See:
 
 - security_policy
- The Transport Layer Security (TLS) version + cipher suite for this DomainName. - Only - TLS_1_2is supported.
 - tags
- The collection of tags. - Each tag element is associated with a given resource.