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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html

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.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html#cfn-appconfig-hostedconfigurationversion-applicationid

configuration_profile_id

The configuration profile ID.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html#cfn-appconfig-hostedconfigurationversion-configurationprofileid

content

The content of the configuration or the configuration data.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html#cfn-appconfig-hostedconfigurationversion-content

content_type

A standard MIME type describing the format of the configuration content.

For more information, see Content-Type .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html#cfn-appconfig-hostedconfigurationversion-contenttype

description

A description of the configuration.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html#cfn-appconfig-hostedconfigurationversion-description

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.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html#cfn-appconfig-hostedconfigurationversion-latestversionnumber

version_label

A user-defined label for an AWS AppConfig hosted configuration version.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html#cfn-appconfig-hostedconfigurationversion-versionlabel