aws-cdk-lib.aws_appconfig.CfnHostedConfigurationVersionProps

interface CfnHostedConfigurationVersionProps

LanguageType name
.NETAmazon.CDK.AWS.AppConfig.CfnHostedConfigurationVersionProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappconfig#CfnHostedConfigurationVersionProps
Javasoftware.amazon.awscdk.services.appconfig.CfnHostedConfigurationVersionProps
Pythonaws_cdk.aws_appconfig.CfnHostedConfigurationVersionProps
TypeScript aws-cdk-lib » aws_appconfig » CfnHostedConfigurationVersionProps

Properties for defining a CfnHostedConfigurationVersion.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appconfig as appconfig } from 'aws-cdk-lib';
const cfnHostedConfigurationVersionProps: appconfig.CfnHostedConfigurationVersionProps = {
  applicationId: 'applicationId',
  configurationProfileId: 'configurationProfileId',
  content: 'content',
  contentType: 'contentType',

  // the properties below are optional
  description: 'description',
  latestVersionNumber: 123,
  versionLabel: 'versionLabel',
};

Properties

NameTypeDescription
applicationIdstringThe application ID.
configurationProfileIdstringThe configuration profile ID.
contentstringThe content of the configuration or the configuration data.
contentTypestringA standard MIME type describing the format of the configuration content.
description?stringA description of the configuration.
latestVersionNumber?numberAn optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version.
versionLabel?stringA user-defined label for an AWS AppConfig hosted configuration version.

applicationId

Type: string

The application ID.


configurationProfileId

Type: string

The configuration profile ID.


content

Type: string

The content of the configuration or the configuration data.


contentType

Type: string

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

For more information, see Content-Type .


description?

Type: string (optional)

A description of the configuration.


latestVersionNumber?

Type: number (optional)

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.


versionLabel?

Type: string (optional)

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