CfnApplicationPropsMixin
- class aws_cdk.mixins_preview.aws_appconfig.mixins.CfnApplicationPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::AppConfig::Applicationresource 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:
- 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 import mixins from aws_cdk.mixins_preview.aws_appconfig import mixins as appconfig_mixins cfn_application_props_mixin = appconfig_mixins.CfnApplicationPropsMixin(appconfig_mixins.CfnApplicationMixinProps( description="description", name="name", tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::AppConfig::Application.- Parameters:
props (
Union[CfnApplicationMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- 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)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental