CfnDeployment

class aws_cdk.aws_apigateway.CfnDeployment(scope, id, *, rest_api_id, deployment_canary_settings=None, description=None, stage_description=None, stage_name=None)

Bases: aws_cdk.core.CfnResource

A CloudFormation AWS::ApiGateway::Deployment.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-deployment.html

CloudformationResource

AWS::ApiGateway::Deployment

Create a new AWS::ApiGateway::Deployment.

Parameters
  • scope (Construct) –

    • scope in which this resource is defined.

  • id (str) –

    • scoped id of the resource.

  • rest_api_id (str) – AWS::ApiGateway::Deployment.RestApiId.

  • deployment_canary_settings (Union[IResolvable, DeploymentCanarySettingsProperty, None]) – AWS::ApiGateway::Deployment.DeploymentCanarySettings.

  • description (Optional[str]) – AWS::ApiGateway::Deployment.Description.

  • stage_description (Union[IResolvable, StageDescriptionProperty, None]) – AWS::ApiGateway::Deployment.StageDescription.

  • stage_name (Optional[str]) – AWS::ApiGateway::Deployment.StageName.

Methods

add_deletion_override(path)

Syntactic sugar for addOverride(path, undefined).

Parameters

path (str) – The path of the value to delete.

Return type

None

add_depends_on(target)

Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.

This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope.

Parameters

target (CfnResource) –

Return type

None

add_metadata(key, value)

Add a value to the CloudFormation Resource Metadata.

Parameters
  • key (str) –

  • value (Any) –

See

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html

Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.

Return type

None

add_override(path, value)

Adds an override to the synthesized CloudFormation resource.

To add a property override, either use addPropertyOverride or prefix path with “Properties.” (i.e. Properties.TopicName).

If the override is nested, separate each nested level using a dot (.) in the path parameter. If there is an array as part of the nesting, specify the index in the path.

To include a literal . in the property name, prefix with a \. In most programming languages you will need to write this as "\\." because the \ itself will need to be escaped.

For example:

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
add_override("Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes", ["myattribute"])
add_override("Properties.GlobalSecondaryIndexes.1.ProjectionType", "INCLUDE")

would add the overrides Example:

"Properties": {
   "GlobalSecondaryIndexes": [
     {
       "Projection": {
         "NonKeyAttributes": [ "myattribute" ]
         ...
       }
       ...
     },
     {
       "ProjectionType": "INCLUDE"
       ...
     },
   ]
   ...
}
Parameters
  • path (str) –

    • The path of the property, you can use dot notation to override values in complex types. Any intermdediate keys will be created as needed.

  • value (Any) –

    • The value. Could be primitive or complex.

Return type

None

add_property_deletion_override(property_path)

Adds an override that deletes the value of a property from the resource definition.

Parameters

property_path (str) – The path to the property.

Return type

None

add_property_override(property_path, value)

Adds an override to a resource property.

Syntactic sugar for addOverride("Properties.<...>", value).

Parameters
  • property_path (str) – The path of the property.

  • value (Any) – The value.

Return type

None

apply_removal_policy(policy=None, *, apply_to_update_replace_policy=None, default=None)

Sets the deletion policy of the resource based on the removal policy specified.

Parameters
  • policy (Optional[RemovalPolicy]) –

  • apply_to_update_replace_policy (Optional[bool]) – Apply the same deletion policy to the resource’s “UpdateReplacePolicy”. Default: true

  • default (Optional[RemovalPolicy]) – The default policy to apply in case the removal policy is not defined. Default: - Default value is resource specific. To determine the default value for a resoure, please consult that specific resource’s documentation.

Return type

None

get_att(attribute_name)

Returns a token for an runtime attribute of this resource.

Ideally, use generated attribute accessors (e.g. resource.arn), but this can be used for future compatibility in case there is no generated attribute.

Parameters

attribute_name (str) – The name of the attribute.

Return type

Reference

get_metadata(key)

Retrieve a value value from the CloudFormation Resource Metadata.

Parameters

key (str) –

See

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html

Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.

Return type

Any

inspect(inspector)

(experimental) Examines the CloudFormation resource and discloses attributes.

Parameters

inspector (TreeInspector) –

  • tree inspector to collect and process attributes.

Stability

experimental

Return type

None

override_logical_id(new_logical_id)

Overrides the auto-generated logical ID with a specific ID.

Parameters

new_logical_id (str) – The new logical ID to use for this stack element.

Return type

None

to_string()

Returns a string representation of this construct.

Return type

str

Returns

a string representation of this resource

Attributes

CFN_RESOURCE_TYPE_NAME = 'AWS::ApiGateway::Deployment'
cfn_options

Options for this resource, such as condition, update policy etc.

Return type

ICfnResourceOptions

cfn_resource_type

AWS resource type.

Return type

str

creation_stack

return:

the stack trace of the point where this Resource was created from, sourced from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most node +internal+ entries filtered.

Return type

List[str]

deployment_canary_settings

AWS::ApiGateway::Deployment.DeploymentCanarySettings.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-deployment.html#cfn-apigateway-deployment-deploymentcanarysettings

Return type

Union[IResolvable, DeploymentCanarySettingsProperty, None]

description

AWS::ApiGateway::Deployment.Description.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-deployment.html#cfn-apigateway-deployment-description

Return type

Optional[str]

logical_id

The logical ID for this CloudFormation stack element.

The logical ID of the element is calculated from the path of the resource node in the construct tree.

To override this value, use overrideLogicalId(newLogicalId).

Return type

str

Returns

the logical ID as a stringified token. This value will only get resolved during synthesis.

node

The construct tree node associated with this construct.

Return type

ConstructNode

ref

Return a string that will be resolved to a CloudFormation { Ref } for this element.

If, by any chance, the intrinsic reference of a resource is not a string, you could coerce it to an IResolvable through Lazy.any({ produce: resource.ref }).

Return type

str

rest_api_id

AWS::ApiGateway::Deployment.RestApiId.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-deployment.html#cfn-apigateway-deployment-restapiid

Return type

str

stack

The stack in which this element is defined.

CfnElements must be defined within a stack scope (directly or indirectly).

Return type

Stack

stage_description

AWS::ApiGateway::Deployment.StageDescription.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-deployment.html#cfn-apigateway-deployment-stagedescription

Return type

Union[IResolvable, StageDescriptionProperty, None]

stage_name

AWS::ApiGateway::Deployment.StageName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-deployment.html#cfn-apigateway-deployment-stagename

Return type

Optional[str]

Static Methods

classmethod is_cfn_element(x)

Returns true if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of instanceof to allow stack elements from different versions of this library to be included in the same stack.

Parameters

x (Any) –

Return type

bool

Returns

The construct as a stack element or undefined if it is not a stack element.

classmethod is_cfn_resource(construct)

Check whether the given construct is a CfnResource.

Parameters

construct (IConstruct) –

Return type

bool

classmethod is_construct(x)

Return whether the given object is a Construct.

Parameters

x (Any) –

Return type

bool

AccessLogSettingProperty

class CfnDeployment.AccessLogSettingProperty(*, destination_arn=None, format=None)

Bases: object

Parameters
  • destination_arn (Optional[str]) – CfnDeployment.AccessLogSettingProperty.DestinationArn.

  • format (Optional[str]) – CfnDeployment.AccessLogSettingProperty.Format.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-accesslogsetting.html

Attributes

destination_arn

CfnDeployment.AccessLogSettingProperty.DestinationArn.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-accesslogsetting.html#cfn-apigateway-deployment-accesslogsetting-destinationarn

Return type

Optional[str]

format

CfnDeployment.AccessLogSettingProperty.Format.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-accesslogsetting.html#cfn-apigateway-deployment-accesslogsetting-format

Return type

Optional[str]

CanarySettingProperty

class CfnDeployment.CanarySettingProperty(*, percent_traffic=None, stage_variable_overrides=None, use_stage_cache=None)

Bases: object

Parameters
  • percent_traffic (Union[int, float, None]) – CfnDeployment.CanarySettingProperty.PercentTraffic.

  • stage_variable_overrides (Union[IResolvable, Mapping[str, str], None]) – CfnDeployment.CanarySettingProperty.StageVariableOverrides.

  • use_stage_cache (Union[bool, IResolvable, None]) – CfnDeployment.CanarySettingProperty.UseStageCache.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-canarysetting.html

Attributes

percent_traffic

CfnDeployment.CanarySettingProperty.PercentTraffic.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-canarysetting.html#cfn-apigateway-deployment-canarysetting-percenttraffic

Return type

Union[int, float, None]

stage_variable_overrides

CfnDeployment.CanarySettingProperty.StageVariableOverrides.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-canarysetting.html#cfn-apigateway-deployment-canarysetting-stagevariableoverrides

Return type

Union[IResolvable, Mapping[str, str], None]

use_stage_cache

CfnDeployment.CanarySettingProperty.UseStageCache.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-canarysetting.html#cfn-apigateway-deployment-canarysetting-usestagecache

Return type

Union[bool, IResolvable, None]

DeploymentCanarySettingsProperty

class CfnDeployment.DeploymentCanarySettingsProperty(*, percent_traffic=None, stage_variable_overrides=None, use_stage_cache=None)

Bases: object

Parameters
  • percent_traffic (Union[int, float, None]) – CfnDeployment.DeploymentCanarySettingsProperty.PercentTraffic.

  • stage_variable_overrides (Union[IResolvable, Mapping[str, str], None]) – CfnDeployment.DeploymentCanarySettingsProperty.StageVariableOverrides.

  • use_stage_cache (Union[bool, IResolvable, None]) – CfnDeployment.DeploymentCanarySettingsProperty.UseStageCache.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-deploymentcanarysettings.html

Attributes

percent_traffic

CfnDeployment.DeploymentCanarySettingsProperty.PercentTraffic.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-deploymentcanarysettings.html#cfn-apigateway-deployment-deploymentcanarysettings-percenttraffic

Return type

Union[int, float, None]

stage_variable_overrides

CfnDeployment.DeploymentCanarySettingsProperty.StageVariableOverrides.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-deploymentcanarysettings.html#cfn-apigateway-deployment-deploymentcanarysettings-stagevariableoverrides

Return type

Union[IResolvable, Mapping[str, str], None]

use_stage_cache

CfnDeployment.DeploymentCanarySettingsProperty.UseStageCache.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-deploymentcanarysettings.html#cfn-apigateway-deployment-deploymentcanarysettings-usestagecache

Return type

Union[bool, IResolvable, None]

MethodSettingProperty

class CfnDeployment.MethodSettingProperty(*, cache_data_encrypted=None, cache_ttl_in_seconds=None, caching_enabled=None, data_trace_enabled=None, http_method=None, logging_level=None, metrics_enabled=None, resource_path=None, throttling_burst_limit=None, throttling_rate_limit=None)

Bases: object

Parameters
  • cache_data_encrypted (Union[bool, IResolvable, None]) – CfnDeployment.MethodSettingProperty.CacheDataEncrypted.

  • cache_ttl_in_seconds (Union[int, float, None]) – CfnDeployment.MethodSettingProperty.CacheTtlInSeconds.

  • caching_enabled (Union[bool, IResolvable, None]) – CfnDeployment.MethodSettingProperty.CachingEnabled.

  • data_trace_enabled (Union[bool, IResolvable, None]) – CfnDeployment.MethodSettingProperty.DataTraceEnabled.

  • http_method (Optional[str]) – CfnDeployment.MethodSettingProperty.HttpMethod.

  • logging_level (Optional[str]) – CfnDeployment.MethodSettingProperty.LoggingLevel.

  • metrics_enabled (Union[bool, IResolvable, None]) – CfnDeployment.MethodSettingProperty.MetricsEnabled.

  • resource_path (Optional[str]) – CfnDeployment.MethodSettingProperty.ResourcePath.

  • throttling_burst_limit (Union[int, float, None]) – CfnDeployment.MethodSettingProperty.ThrottlingBurstLimit.

  • throttling_rate_limit (Union[int, float, None]) – CfnDeployment.MethodSettingProperty.ThrottlingRateLimit.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription-methodsetting.html

Attributes

cache_data_encrypted

CfnDeployment.MethodSettingProperty.CacheDataEncrypted.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-cachedataencrypted

Return type

Union[bool, IResolvable, None]

cache_ttl_in_seconds

CfnDeployment.MethodSettingProperty.CacheTtlInSeconds.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-cachettlinseconds

Return type

Union[int, float, None]

caching_enabled

CfnDeployment.MethodSettingProperty.CachingEnabled.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-cachingenabled

Return type

Union[bool, IResolvable, None]

data_trace_enabled

CfnDeployment.MethodSettingProperty.DataTraceEnabled.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-datatraceenabled

Return type

Union[bool, IResolvable, None]

http_method

CfnDeployment.MethodSettingProperty.HttpMethod.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-httpmethod

Return type

Optional[str]

logging_level

CfnDeployment.MethodSettingProperty.LoggingLevel.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-logginglevel

Return type

Optional[str]

metrics_enabled

CfnDeployment.MethodSettingProperty.MetricsEnabled.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-metricsenabled

Return type

Union[bool, IResolvable, None]

resource_path

CfnDeployment.MethodSettingProperty.ResourcePath.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-resourcepath

Return type

Optional[str]

throttling_burst_limit

CfnDeployment.MethodSettingProperty.ThrottlingBurstLimit.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-throttlingburstlimit

Return type

Union[int, float, None]

throttling_rate_limit

CfnDeployment.MethodSettingProperty.ThrottlingRateLimit.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-throttlingratelimit

Return type

Union[int, float, None]

StageDescriptionProperty

class CfnDeployment.StageDescriptionProperty(*, access_log_setting=None, cache_cluster_enabled=None, cache_cluster_size=None, cache_data_encrypted=None, cache_ttl_in_seconds=None, caching_enabled=None, canary_setting=None, client_certificate_id=None, data_trace_enabled=None, description=None, documentation_version=None, logging_level=None, method_settings=None, metrics_enabled=None, tags=None, throttling_burst_limit=None, throttling_rate_limit=None, tracing_enabled=None, variables=None)

Bases: object

Parameters
  • access_log_setting (Union[IResolvable, AccessLogSettingProperty, None]) – CfnDeployment.StageDescriptionProperty.AccessLogSetting.

  • cache_cluster_enabled (Union[bool, IResolvable, None]) – CfnDeployment.StageDescriptionProperty.CacheClusterEnabled.

  • cache_cluster_size (Optional[str]) – CfnDeployment.StageDescriptionProperty.CacheClusterSize.

  • cache_data_encrypted (Union[bool, IResolvable, None]) – CfnDeployment.StageDescriptionProperty.CacheDataEncrypted.

  • cache_ttl_in_seconds (Union[int, float, None]) – CfnDeployment.StageDescriptionProperty.CacheTtlInSeconds.

  • caching_enabled (Union[bool, IResolvable, None]) – CfnDeployment.StageDescriptionProperty.CachingEnabled.

  • canary_setting (Union[IResolvable, CanarySettingProperty, None]) – CfnDeployment.StageDescriptionProperty.CanarySetting.

  • client_certificate_id (Optional[str]) – CfnDeployment.StageDescriptionProperty.ClientCertificateId.

  • data_trace_enabled (Union[bool, IResolvable, None]) – CfnDeployment.StageDescriptionProperty.DataTraceEnabled.

  • description (Optional[str]) – CfnDeployment.StageDescriptionProperty.Description.

  • documentation_version (Optional[str]) – CfnDeployment.StageDescriptionProperty.DocumentationVersion.

  • logging_level (Optional[str]) – CfnDeployment.StageDescriptionProperty.LoggingLevel.

  • method_settings (Union[IResolvable, List[Union[IResolvable, MethodSettingProperty]], None]) – CfnDeployment.StageDescriptionProperty.MethodSettings.

  • metrics_enabled (Union[bool, IResolvable, None]) – CfnDeployment.StageDescriptionProperty.MetricsEnabled.

  • tags (Optional[List[CfnTag]]) – CfnDeployment.StageDescriptionProperty.Tags.

  • throttling_burst_limit (Union[int, float, None]) – CfnDeployment.StageDescriptionProperty.ThrottlingBurstLimit.

  • throttling_rate_limit (Union[int, float, None]) – CfnDeployment.StageDescriptionProperty.ThrottlingRateLimit.

  • tracing_enabled (Union[bool, IResolvable, None]) – CfnDeployment.StageDescriptionProperty.TracingEnabled.

  • variables (Union[IResolvable, Mapping[str, str], None]) – CfnDeployment.StageDescriptionProperty.Variables.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html

Attributes

access_log_setting

CfnDeployment.StageDescriptionProperty.AccessLogSetting.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-accesslogsetting

Return type

Union[IResolvable, AccessLogSettingProperty, None]

cache_cluster_enabled

CfnDeployment.StageDescriptionProperty.CacheClusterEnabled.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-cacheclusterenabled

Return type

Union[bool, IResolvable, None]

cache_cluster_size

CfnDeployment.StageDescriptionProperty.CacheClusterSize.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-cacheclustersize

Return type

Optional[str]

cache_data_encrypted

CfnDeployment.StageDescriptionProperty.CacheDataEncrypted.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-cachedataencrypted

Return type

Union[bool, IResolvable, None]

cache_ttl_in_seconds

CfnDeployment.StageDescriptionProperty.CacheTtlInSeconds.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-cachettlinseconds

Return type

Union[int, float, None]

caching_enabled

CfnDeployment.StageDescriptionProperty.CachingEnabled.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-cachingenabled

Return type

Union[bool, IResolvable, None]

canary_setting

CfnDeployment.StageDescriptionProperty.CanarySetting.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-canarysetting

Return type

Union[IResolvable, CanarySettingProperty, None]

client_certificate_id

CfnDeployment.StageDescriptionProperty.ClientCertificateId.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-clientcertificateid

Return type

Optional[str]

data_trace_enabled

CfnDeployment.StageDescriptionProperty.DataTraceEnabled.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-datatraceenabled

Return type

Union[bool, IResolvable, None]

description

CfnDeployment.StageDescriptionProperty.Description.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-description

Return type

Optional[str]

documentation_version

CfnDeployment.StageDescriptionProperty.DocumentationVersion.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-documentationversion

Return type

Optional[str]

logging_level

CfnDeployment.StageDescriptionProperty.LoggingLevel.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-logginglevel

Return type

Optional[str]

method_settings

CfnDeployment.StageDescriptionProperty.MethodSettings.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-methodsettings

Return type

Union[IResolvable, List[Union[IResolvable, MethodSettingProperty]], None]

metrics_enabled

CfnDeployment.StageDescriptionProperty.MetricsEnabled.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-metricsenabled

Return type

Union[bool, IResolvable, None]

tags

CfnDeployment.StageDescriptionProperty.Tags.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-tags

Return type

Optional[List[CfnTag]]

throttling_burst_limit

CfnDeployment.StageDescriptionProperty.ThrottlingBurstLimit.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-throttlingburstlimit

Return type

Union[int, float, None]

throttling_rate_limit

CfnDeployment.StageDescriptionProperty.ThrottlingRateLimit.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-throttlingratelimit

Return type

Union[int, float, None]

tracing_enabled

CfnDeployment.StageDescriptionProperty.TracingEnabled.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-tracingenabled

Return type

Union[bool, IResolvable, None]

variables

CfnDeployment.StageDescriptionProperty.Variables.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-variables

Return type

Union[IResolvable, Mapping[str, str], None]