A hosted configuration represents configuration stored in the AWS AppConfig hosted configuration store.
import { HostedConfiguration } from 'aws-cdk-lib/aws-appconfig';Or use the module namespace:
import * as appconfig from 'aws-cdk-lib/aws-appconfig';
// appconfig.HostedConfigurationConfiguration passed to the constructor as HostedConfigurationProps.
contentRequiredConfigurationContentThe content of the hosted configuration.
kmsKeyOptionalIKeyRefThe customer managed key to encrypt hosted configuration.
Default: None
latestVersionNumberOptionalnumberThe latest version number of the hosted configuration.
Default: - None.
versionLabelOptionalstringThe version label of the hosted configuration.
Default: - None.
ConfigurationPropsapplicationRequiredinherited from ConfigurationPropsIApplicationThe application associated with the configuration.
ConfigurationOptionsdeletionProtectionCheckOptionalinherited from ConfigurationOptionsDeletionProtectionCheckA parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile if your application has called either `GetLatestConfiguration` or `GetConfiguration` for the configuration profile during the specified interval.
Default: DeletionProtectionCheck.ACCOUNT_DEFAULT
deploymentKeyOptionalinherited from ConfigurationOptionsIKeyThe deployment key of the configuration.
Default: - None.
deploymentStrategyOptionalinherited from ConfigurationOptionsIDeploymentStrategyRefThe deployment strategy for the configuration.
Default: - A deployment strategy with the rollout strategy set to
RolloutStrategy.CANARY_10_PERCENT_20_MINUTES
deployToOptionalinherited from ConfigurationOptionsIEnvironment[]The list of environments to deploy the configuration to. If this parameter is not specified, then there will be no deployment created alongside this configuration. Deployments can be added later using the `IEnvironment.addDeployment` or `IEnvironment.addDeployments` methods.
Default: - None.
descriptionOptionalinherited from ConfigurationOptionsstringThe description of the configuration.
Default: - No description.
nameOptionalinherited from ConfigurationOptionsstringThe name of the configuration.
Default: - A name is generated.
typeOptionalinherited from ConfigurationOptionsConfigurationTypeThe type of configuration.
Default: ConfigurationType.FREEFORM
validatorsOptionalinherited from ConfigurationOptionsIValidator[]The validators for the configuration.
Default: - No validators.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-appconfig