AWS::AppConfig::HostedConfigurationVersionCreate a new configuration in the AWS AppConfig hosted configuration store. Configurations must be 1 MB or smaller. The AWS AppConfig hosted configuration store provides the following benefits over other configuration store options. - You don't need to set up and configure other services such as Amazon Simple Storage Service ( Amazon S3 ) or Parameter Store. - You don't need to configure AWS Identity and Access Management ( IAM ) permissions to use the configuration store. - You can store configurations in any content type. - There is no cost to use the store. - You can create a configuration and add it to the store when you create a configuration profile.
import { CfnHostedConfigurationVersion } from 'aws-cdk-lib/aws-appconfig';Or use the module namespace:
import * as appconfig from 'aws-cdk-lib/aws-appconfig';
// appconfig.CfnHostedConfigurationVersionConfiguration passed to the constructor as CfnHostedConfigurationVersionProps.
applicationIdRequiredstring | IApplicationRefThe application ID.
configurationProfileIdRequiredstring | IConfigurationProfileRefThe configuration profile ID.
contentRequiredstringThe 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.
contentTypeRequiredstringA standard MIME type describing the format of the configuration content. For more information, see [Content-Type](https://docs.aws.amazon.com/https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17) .
descriptionOptionalstringA description of the configuration. > Due to HTTP limitations, this field only supports ASCII characters.
latestVersionNumberOptionalnumberAn 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.
versionLabelOptionalstringA user-defined label for an AWS AppConfig hosted configuration version.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-appconfigAWS::AppConfig::HostedConfigurationVersion