Skip to content

HostedConfigurationVersion

Source: src/AWS/AppConfig/HostedConfigurationVersion.ts

An AWS AppConfig hosted configuration version — the actual configuration content stored in the AppConfig hosted store. Versions are immutable: each change to the content produces a new version (a replacement), and its versionNumber is what you deploy through a Deployment.

const version = yield* AppConfig.HostedConfigurationVersion("V1", {
applicationId: app.applicationId,
configurationProfileId: profile.configurationProfileId,
content: JSON.stringify({ featureX: true }),
contentType: "application/json",
});
// version.versionNumber -> 1