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 content of the configuration or the configuration 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.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.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.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 content of the configuration or the configuration 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.
- 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.