CfnHostedConfigurationVersionMixinProps
- class aws_cdk.mixins_preview.aws_appconfig.mixins.CfnHostedConfigurationVersionMixinProps(*, application_id=None, configuration_profile_id=None, content=None, content_type=None, description=None, latest_version_number=None, version_label=None)
Bases:
objectProperties for CfnHostedConfigurationVersionPropsMixin.
- Parameters:
application_id (
Optional[str]) – The application ID.configuration_profile_id (
Optional[str]) – The configuration profile ID.content (
Optional[str]) – The configuration data, as bytes. .. epigraph:: AWS AppConfig accepts any type of data, including text formats like JSON or TOML, or binary formats like protocol buffers or compressed data.content_type (
Optional[str]) – A standard MIME type describing the format of the configuration content. For more information, see Content-Type .description (
Optional[str]) – A description of the configuration. .. epigraph:: Due to HTTP limitations, this field only supports ASCII characters.latest_version_number (
Union[int,float,None]) – An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version. To ensure your data is not overwritten when creating multiple hosted configuration versions in rapid succession, specify the version number of the latest hosted configuration version.version_label (
Optional[str]) – A user-defined label for an AWS AppConfig hosted configuration version.
- See:
- 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 cfn_hosted_configuration_version_mixin_props = appconfig_mixins.CfnHostedConfigurationVersionMixinProps( application_id="applicationId", configuration_profile_id="configurationProfileId", content="content", content_type="contentType", description="description", latest_version_number=123, version_label="versionLabel" )
Attributes
- application_id
The application ID.
- configuration_profile_id
The configuration profile ID.
- content
The configuration data, as bytes.
AWS AppConfig accepts any type of data, including text formats like JSON or TOML, or binary formats like protocol buffers or compressed data.
- content_type
A standard MIME type describing the format of the configuration content.
For more information, see Content-Type .
- description
A description of the configuration.
Due to HTTP limitations, this field only supports ASCII characters.
- latest_version_number
An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version.
To ensure your data is not overwritten when creating multiple hosted configuration versions in rapid succession, specify the version number of the latest hosted configuration version.
- version_label
A user-defined label for an AWS AppConfig hosted configuration version.