CfnDeploymentMixinProps
- class aws_cdk.mixins_preview.aws_apigateway.mixins.CfnDeploymentMixinProps(*, deployment_canary_settings=None, description=None, rest_api_id=None, stage_description=None, stage_name=None)
Bases:
objectProperties for CfnDeploymentPropsMixin.
- Parameters:
deployment_canary_settings (
Union[IResolvable,DeploymentCanarySettingsProperty,Dict[str,Any],None]) – The input configuration for a canary deployment.description (
Optional[str]) – The description for the Deployment resource to create.rest_api_id (
Optional[str]) – The string identifier of the associated RestApi.stage_description (
Union[IResolvable,StageDescriptionProperty,Dict[str,Any],None]) – The description of the Stage resource for the Deployment resource to create. To specify a stage description, you must also provide a stage name.stage_name (
Optional[str]) – The name of the Stage resource for the Deployment resource to create.
- 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.mixins_preview.aws_apigateway import mixins as apigateway_mixins cfn_deployment_mixin_props = apigateway_mixins.CfnDeploymentMixinProps( deployment_canary_settings=apigateway_mixins.CfnDeploymentPropsMixin.DeploymentCanarySettingsProperty( percent_traffic=123, stage_variable_overrides={ "stage_variable_overrides_key": "stageVariableOverrides" }, use_stage_cache=False ), description="description", rest_api_id="restApiId", stage_description=apigateway_mixins.CfnDeploymentPropsMixin.StageDescriptionProperty( access_log_setting=apigateway_mixins.CfnDeploymentPropsMixin.AccessLogSettingProperty( destination_arn="destinationArn", format="format" ), cache_cluster_enabled=False, cache_cluster_size="cacheClusterSize", cache_data_encrypted=False, cache_ttl_in_seconds=123, caching_enabled=False, canary_setting=apigateway_mixins.CfnDeploymentPropsMixin.CanarySettingProperty( percent_traffic=123, stage_variable_overrides={ "stage_variable_overrides_key": "stageVariableOverrides" }, use_stage_cache=False ), client_certificate_id="clientCertificateId", data_trace_enabled=False, description="description", documentation_version="documentationVersion", logging_level="loggingLevel", method_settings=[apigateway_mixins.CfnDeploymentPropsMixin.MethodSettingProperty( cache_data_encrypted=False, cache_ttl_in_seconds=123, caching_enabled=False, data_trace_enabled=False, http_method="httpMethod", logging_level="loggingLevel", metrics_enabled=False, resource_path="resourcePath", throttling_burst_limit=123, throttling_rate_limit=123 )], metrics_enabled=False, tags=[CfnTag( key="key", value="value" )], throttling_burst_limit=123, throttling_rate_limit=123, tracing_enabled=False, variables={ "variables_key": "variables" } ), stage_name="stageName" )
Attributes
- deployment_canary_settings
The input configuration for a canary deployment.
- description
The description for the Deployment resource to create.
- rest_api_id
The string identifier of the associated RestApi.
- stage_description
The description of the Stage resource for the Deployment resource to create.
To specify a stage description, you must also provide a stage name.
- stage_name
The name of the Stage resource for the Deployment resource to create.