Skip to content

Deployment

Source: src/AWS/AppConfig/Deployment.ts

An AWS AppConfig deployment — releases a configuration version to an environment following a deployment strategy. Deployments are immutable and asynchronous: the provider starts the deployment and waits (bounded) for it to reach a terminal state. Any change to the deployed version, strategy, or target creates a new deployment (a replacement). Use an all-at-once strategy (duration 0, bake 0) for a near-instant rollout.

const deployment = yield* AppConfig.Deployment("Rollout", {
applicationId: app.applicationId,
environmentId: env.environmentId,
deploymentStrategyId: strategy.deploymentStrategyId,
configurationProfileId: profile.configurationProfileId,
configurationVersion: String(version.versionNumber),
});