interface CfnHostedConfigurationVersionProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppConfig.CfnHostedConfigurationVersionProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsappconfig#CfnHostedConfigurationVersionProps |
![]() | software.amazon.awscdk.services.appconfig.CfnHostedConfigurationVersionProps |
![]() | aws_cdk.aws_appconfig.CfnHostedConfigurationVersionProps |
![]() | 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
Name | Type | Description |
---|---|---|
application | string | The application ID. |
configuration | string | The configuration profile ID. |
content | string | The configuration data, as bytes. |
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 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.
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.