CfnHttpApiMixinProps
- class aws_cdk.mixins_preview.aws_sam.mixins.CfnHttpApiMixinProps(*, access_log_setting=None, auth=None, cors_configuration=None, default_route_settings=None, definition_body=None, definition_uri=None, description=None, disable_execute_api_endpoint=None, domain=None, fail_on_warnings=None, route_settings=None, stage_name=None, stage_variables=None, tags=None)
Bases:
objectProperties for CfnHttpApiPropsMixin.
- Parameters:
access_log_setting (
Union[IResolvable,AccessLogSettingProperty,Dict[str,Any],None])auth (
Union[IResolvable,HttpApiAuthProperty,Dict[str,Any],None])cors_configuration (
Union[bool,IResolvable,CorsConfigurationObjectProperty,Dict[str,Any],None])default_route_settings (
Union[IResolvable,RouteSettingsProperty,Dict[str,Any],None])definition_body (
Any)definition_uri (
Union[str,IResolvable,S3LocationProperty,Dict[str,Any],None])description (
Optional[str])disable_execute_api_endpoint (
Union[bool,IResolvable,None])domain (
Union[IResolvable,HttpApiDomainConfigurationProperty,Dict[str,Any],None])fail_on_warnings (
Union[bool,IResolvable,None])route_settings (
Union[IResolvable,RouteSettingsProperty,Dict[str,Any],None])stage_name (
Optional[str])stage_variables (
Union[Mapping[str,str],IResolvable,None])tags (
Optional[Mapping[str,str]])
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-httpapi.html
- 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.mixins_preview.aws_sam import mixins as sam_mixins # authorizers: Any # definition_body: Any cfn_http_api_mixin_props = sam_mixins.CfnHttpApiMixinProps( access_log_setting=sam_mixins.CfnHttpApiPropsMixin.AccessLogSettingProperty( destination_arn="destinationArn", format="format" ), auth=sam_mixins.CfnHttpApiPropsMixin.HttpApiAuthProperty( authorizers=authorizers, default_authorizer="defaultAuthorizer" ), cors_configuration=False, default_route_settings=sam_mixins.CfnHttpApiPropsMixin.RouteSettingsProperty( data_trace_enabled=False, detailed_metrics_enabled=False, logging_level="loggingLevel", throttling_burst_limit=123, throttling_rate_limit=123 ), definition_body=definition_body, definition_uri="definitionUri", description="description", disable_execute_api_endpoint=False, domain=sam_mixins.CfnHttpApiPropsMixin.HttpApiDomainConfigurationProperty( base_path="basePath", certificate_arn="certificateArn", domain_name="domainName", endpoint_configuration="endpointConfiguration", mutual_tls_authentication=sam_mixins.CfnHttpApiPropsMixin.MutualTlsAuthenticationProperty( truststore_uri="truststoreUri", truststore_version=False ), route53=sam_mixins.CfnHttpApiPropsMixin.Route53ConfigurationProperty( distributed_domain_name="distributedDomainName", evaluate_target_health=False, hosted_zone_id="hostedZoneId", hosted_zone_name="hostedZoneName", ip_v6=False ), security_policy="securityPolicy" ), fail_on_warnings=False, route_settings=sam_mixins.CfnHttpApiPropsMixin.RouteSettingsProperty( data_trace_enabled=False, detailed_metrics_enabled=False, logging_level="loggingLevel", throttling_burst_limit=123, throttling_rate_limit=123 ), stage_name="stageName", stage_variables={ "stage_variables_key": "stageVariables" }, tags={ "tags_key": "tags" } )
Attributes
- access_log_setting
-
- Type:
see
- auth
-
- Type:
see
- cors_configuration
-
- Type:
see
- default_route_settings
-
- Type:
see
- definition_body
-
- Type:
see
- definition_uri
-
- Type:
see
- description
-
- Type:
see
- disable_execute_api_endpoint
-
- Type:
see
- domain
-
- Type:
see
- fail_on_warnings
-
- Type:
see
- route_settings
-
- Type:
see
- stage_name
-
- Type:
see
- stage_variables
-
- Type:
see