CfnHostedConfigurationVersionPropsMixin
- class aws_cdk.mixins_preview.aws_appconfig.mixins.CfnHostedConfigurationVersionPropsMixin(props, *, strategy=None)
Bases:
MixinCreate a new configuration in the AWS AppConfig hosted configuration store.
Configurations must be 1 MB or smaller. The AWS AppConfig hosted configuration store provides the following benefits over other configuration store options.
You don’t need to set up and configure other services such as Amazon Simple Storage Service ( Amazon S3 ) or Parameter Store.
You don’t need to configure AWS Identity and Access Management ( IAM ) permissions to use the configuration store.
You can store configurations in any content type.
There is no cost to use the store.
You can create a configuration and add it to the store when you create a configuration profile.
- See:
- CloudformationResource:
AWS::AppConfig::HostedConfigurationVersion
- 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_hosted_configuration_version_props_mixin = appconfig_mixins.CfnHostedConfigurationVersionPropsMixin(appconfig_mixins.CfnHostedConfigurationVersionMixinProps( application_id="applicationId", configuration_profile_id="configurationProfileId", content="content", content_type="contentType", description="description", latest_version_number=123, version_label="versionLabel" ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::AppConfig::HostedConfigurationVersion.- Parameters:
props (
Union[CfnHostedConfigurationVersionMixinProps,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 = ['applicationId', 'configurationProfileId', 'content', 'contentType', 'description', 'latestVersionNumber', 'versionLabel']
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