CfnHostedConfigurationVersionProps
- class aws_cdk.aws_appconfig.CfnHostedConfigurationVersionProps(*, application_id, configuration_profile_id, content, content_type, description=None, latest_version_number=None, version_label=None)
- Bases: - object- Properties for defining a - CfnHostedConfigurationVersion.- Parameters:
- application_id ( - str) – The application ID.
- configuration_profile_id ( - str) – The configuration profile ID.
- content ( - 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 ( - 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 import aws_appconfig as appconfig cfn_hosted_configuration_version_props = appconfig.CfnHostedConfigurationVersionProps( application_id="applicationId", configuration_profile_id="configurationProfileId", content="content", content_type="contentType", # the properties below are optional 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.