AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

HostedConfiguration

A hosted configuration represents configuration stored in the AWS AppConfig hosted configuration store.

Import

import { HostedConfiguration } from 'aws-cdk-lib/aws-appconfig';

Or use the module namespace:

import * as appconfig from 'aws-cdk-lib/aws-appconfig';
// appconfig.HostedConfiguration

Properties

Configuration passed to the constructor as HostedConfigurationProps.

contentRequired
ConfigurationContent

The content of the hosted configuration.

kmsKeyOptional
IKeyRef

The customer managed key to encrypt hosted configuration.

Default: None

latestVersionNumberOptional
number

The latest version number of the hosted configuration.

Default: - None.

versionLabelOptional
string

The version label of the hosted configuration.

Default: - None.

1 property inherited from ConfigurationProps
applicationRequiredinherited from ConfigurationProps
IApplication

The application associated with the configuration.

8 properties inherited from ConfigurationOptions
deletionProtectionCheckOptionalinherited from ConfigurationOptions
DeletionProtectionCheck

A 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 ConfigurationOptions
IKey

The deployment key of the configuration.

Default: - None.

deploymentStrategyOptionalinherited from ConfigurationOptions
IDeploymentStrategyRef

The deployment strategy for the configuration.

Default: - A deployment strategy with the rollout strategy set to RolloutStrategy.CANARY_10_PERCENT_20_MINUTES

deployToOptionalinherited from ConfigurationOptions
IEnvironment[]

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 ConfigurationOptions
string

The description of the configuration.

Default: - No description.

nameOptionalinherited from ConfigurationOptions
string

The name of the configuration.

Default: - A name is generated.

typeOptionalinherited from ConfigurationOptions
ConfigurationType

The type of configuration.

Default: ConfigurationType.FREEFORM

validatorsOptionalinherited from ConfigurationOptions
IValidator[]

The validators for the configuration.

Default: - No validators.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter