Deployment
Provides an AppConfig Deployment resource for an aws.appconfig.Application
resource.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.appconfig.Deployment;
import com.pulumi.aws.appconfig.DeploymentArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Deployment("example", DeploymentArgs.builder()
.applicationId(aws_appconfig_application.example().id())
.configurationProfileId(aws_appconfig_configuration_profile.example().configuration_profile_id())
.configurationVersion(aws_appconfig_hosted_configuration_version.example().version_number())
.deploymentStrategyId(aws_appconfig_deployment_strategy.example().id())
.description("My example deployment")
.environmentId(aws_appconfig_environment.example().environment_id())
.tags(Map.of("Type", "AppConfig Deployment"))
.build());
}
}
Content copied to clipboard
Import
AppConfig Deployments can be imported by using the application ID, environment ID, and deployment number separated by a slash (/
), e.g.,
$ pulumi import aws:appconfig/deployment:Deployment example 71abcde/11xxxxx/1
Content copied to clipboard
Properties
Link copied to clipboard
Application ID. Must be between 4 and 7 characters in length.
Link copied to clipboard
Configuration profile ID. Must be between 4 and 7 characters in length.
Link copied to clipboard
Configuration version to deploy. Can be at most 1024 characters.
Link copied to clipboard
Deployment number.
Link copied to clipboard
Deployment strategy ID or name of a predefined deployment strategy. See Predefined Deployment Strategies for more details.
Link copied to clipboard
Description of the deployment. Can be at most 1024 characters.
Link copied to clipboard
Environment ID. Must be between 4 and 7 characters in length.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard