CfnApplicationPropsMixin

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

Bases: Mixin

The AWS::AppConfig::Application resource creates an application.

In AWS AppConfig , an application is simply an organizational construct like a folder. This organizational construct has a relationship with some unit of executable code. For example, you could create an application called MyMobileApp to organize and manage configuration data for a mobile application installed by your users.

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-application.html

CloudformationResource:

AWS::AppConfig::Application

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

# merge_strategy: cdk.IMergeStrategy

cfn_application_props_mixin = appconfig_mixins.CfnApplicationPropsMixin(appconfig_mixins.CfnApplicationMixinProps(
    description="description",
    name="name",
    tags=[cdk.CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=merge_strategy
)

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

Parameters:
  • props (Union[CfnApplicationMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[IMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['description', 'name', 'tags']

Static Methods

classmethod is_mixin(x)

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.

TagsProperty

class CfnApplicationPropsMixin.TagsProperty(*, key=None, value=None)

Bases: object

Metadata to assign to the application.

Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.

Parameters:
  • key (Optional[str]) – The key-value string map. The valid character set is [a-zA-Z+-=._:/] . The tag key can be up to 128 characters and must not start with aws: .

  • value (Optional[str]) – The tag value can be up to 256 characters.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-application-tags.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_appconfig import mixins as appconfig_mixins

tags_property = appconfig_mixins.CfnApplicationPropsMixin.TagsProperty(
    key="key",
    value="value"
)

Attributes

key

The key-value string map.

The valid character set is [a-zA-Z+-=._:/] . The tag key can be up to 128 characters and must not start with aws: .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-application-tags.html#cfn-appconfig-application-tags-key

value

The tag value can be up to 256 characters.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-application-tags.html#cfn-appconfig-application-tags-value