CfnDeploymentStrategyPropsMixin

class aws_cdk.mixins_preview.aws_appconfig.mixins.CfnDeploymentStrategyPropsMixin(props, *, strategy=None)

Bases: Mixin

The AWS::AppConfig::DeploymentStrategy resource creates an AWS AppConfig deployment strategy.

A deployment strategy defines important criteria for rolling out your configuration to the designated targets. A deployment strategy includes: the overall duration required, a percentage of targets to receive the deployment during each interval, an algorithm that defines how percentage grows, and bake time.

AWS AppConfig requires that you create resources and deploy a configuration in the following order:

  • Create an application

  • Create an environment

  • Create a configuration profile

  • Choose a pre-defined deployment strategy or create your own

  • Deploy the configuration

For more information, see AWS AppConfig in the AWS AppConfig User Guide .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deploymentstrategy.html

CloudformationResource:

AWS::AppConfig::DeploymentStrategy

Mixin:

true

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 import mixins
from aws_cdk.mixins_preview.aws_appconfig import mixins as appconfig_mixins

cfn_deployment_strategy_props_mixin = appconfig_mixins.CfnDeploymentStrategyPropsMixin(appconfig_mixins.CfnDeploymentStrategyMixinProps(
    deployment_duration_in_minutes=123,
    description="description",
    final_bake_time_in_minutes=123,
    growth_factor=123,
    growth_type="growthType",
    name="name",
    replicate_to="replicateTo",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::AppConfig::DeploymentStrategy.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['deploymentDurationInMinutes', 'description', 'finalBakeTimeInMinutes', 'growthFactor', 'growthType', 'name', 'replicateTo', 'tags']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental