interface CfnHostedConfigurationVersionProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppConfig.CfnHostedConfigurationVersionProps |
Java | software.amazon.awscdk.services.appconfig.CfnHostedConfigurationVersionProps |
Python | aws_cdk.aws_appconfig.CfnHostedConfigurationVersionProps |
TypeScript | @aws-cdk/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 * as appconfig from '@aws-cdk/aws-appconfig';
const cfnHostedConfigurationVersionProps: appconfig.CfnHostedConfigurationVersionProps = {
applicationId: 'applicationId',
configurationProfileId: 'configurationProfileId',
content: 'content',
contentType: 'contentType',
// the properties below are optional
description: 'description',
latestVersionNumber: 123,
versionLabel: 'versionLabel',
};
Properties
Name | Type | Description |
---|---|---|
application | string | The application ID. |
configuration | string | The configuration profile ID. |
content | string | The content of the configuration or the configuration data. |
content | string | A standard MIME type describing the format of the configuration content. |
description? | string | A description of the configuration. |
latest | number | An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version. |
version | string | A 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.