Deployment Args
    data class DeploymentArgs(val applicationId: Output<String>? = null, val configurationProfileId: Output<String>? = null, val configurationVersion: Output<String>? = null, val deploymentStrategyId: Output<String>? = null, val description: Output<String>? = null, val environmentId: Output<String>? = null, val kmsKeyIdentifier: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<DeploymentArgs> 
Provides an AppConfig Deployment resource for an aws.appconfig.Application resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.appconfig.Deployment("example", {
    applicationId: exampleAwsAppconfigApplication.id,
    configurationProfileId: exampleAwsAppconfigConfigurationProfile.configurationProfileId,
    configurationVersion: exampleAwsAppconfigHostedConfigurationVersion.versionNumber,
    deploymentStrategyId: exampleAwsAppconfigDeploymentStrategy.id,
    description: "My example deployment",
    environmentId: exampleAwsAppconfigEnvironment.environmentId,
    kmsKeyIdentifier: exampleAwsKmsKey.arn,
    tags: {
        Type: "AppConfig Deployment",
    },
});Content copied to clipboard
import pulumi
import pulumi_aws as aws
example = aws.appconfig.Deployment("example",
    application_id=example_aws_appconfig_application["id"],
    configuration_profile_id=example_aws_appconfig_configuration_profile["configurationProfileId"],
    configuration_version=example_aws_appconfig_hosted_configuration_version["versionNumber"],
    deployment_strategy_id=example_aws_appconfig_deployment_strategy["id"],
    description="My example deployment",
    environment_id=example_aws_appconfig_environment["environmentId"],
    kms_key_identifier=example_aws_kms_key["arn"],
    tags={
        "Type": "AppConfig Deployment",
    })Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
    var example = new Aws.AppConfig.Deployment("example", new()
    {
        ApplicationId = exampleAwsAppconfigApplication.Id,
        ConfigurationProfileId = exampleAwsAppconfigConfigurationProfile.ConfigurationProfileId,
        ConfigurationVersion = exampleAwsAppconfigHostedConfigurationVersion.VersionNumber,
        DeploymentStrategyId = exampleAwsAppconfigDeploymentStrategy.Id,
        Description = "My example deployment",
        EnvironmentId = exampleAwsAppconfigEnvironment.EnvironmentId,
        KmsKeyIdentifier = exampleAwsKmsKey.Arn,
        Tags =
        {
            { "Type", "AppConfig Deployment" },
        },
    });
});Content copied to clipboard
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appconfig"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appconfig.NewDeployment(ctx, "example", &appconfig.DeploymentArgs{
			ApplicationId:          pulumi.Any(exampleAwsAppconfigApplication.Id),
			ConfigurationProfileId: pulumi.Any(exampleAwsAppconfigConfigurationProfile.ConfigurationProfileId),
			ConfigurationVersion:   pulumi.Any(exampleAwsAppconfigHostedConfigurationVersion.VersionNumber),
			DeploymentStrategyId:   pulumi.Any(exampleAwsAppconfigDeploymentStrategy.Id),
			Description:            pulumi.String("My example deployment"),
			EnvironmentId:          pulumi.Any(exampleAwsAppconfigEnvironment.EnvironmentId),
			KmsKeyIdentifier:       pulumi.Any(exampleAwsKmsKey.Arn),
			Tags: pulumi.StringMap{
				"Type": pulumi.String("AppConfig Deployment"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}Content copied to clipboard
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(exampleAwsAppconfigApplication.id())
            .configurationProfileId(exampleAwsAppconfigConfigurationProfile.configurationProfileId())
            .configurationVersion(exampleAwsAppconfigHostedConfigurationVersion.versionNumber())
            .deploymentStrategyId(exampleAwsAppconfigDeploymentStrategy.id())
            .description("My example deployment")
            .environmentId(exampleAwsAppconfigEnvironment.environmentId())
            .kmsKeyIdentifier(exampleAwsKmsKey.arn())
            .tags(Map.of("Type", "AppConfig Deployment"))
            .build());
    }
}Content copied to clipboard
resources:
  example:
    type: aws:appconfig:Deployment
    properties:
      applicationId: ${exampleAwsAppconfigApplication.id}
      configurationProfileId: ${exampleAwsAppconfigConfigurationProfile.configurationProfileId}
      configurationVersion: ${exampleAwsAppconfigHostedConfigurationVersion.versionNumber}
      deploymentStrategyId: ${exampleAwsAppconfigDeploymentStrategy.id}
      description: My example deployment
      environmentId: ${exampleAwsAppconfigEnvironment.environmentId}
      kmsKeyIdentifier: ${exampleAwsKmsKey.arn}
      tags:
        Type: AppConfig DeploymentContent copied to clipboard
Import
Using pulumi import, import AppConfig Deployments using the application ID, environment ID, and deployment number separated by a slash (/). For example:
$ pulumi import aws:appconfig/deployment:Deployment example 71abcde/11xxxxx/1Content copied to clipboard
Constructors
Link copied to clipboard
                fun DeploymentArgs(applicationId: Output<String>? = null, configurationProfileId: Output<String>? = null, configurationVersion: Output<String>? = null, deploymentStrategyId: Output<String>? = null, description: Output<String>? = null, environmentId: Output<String>? = null, kmsKeyIdentifier: Output<String>? = null, tags: Output<Map<String, String>>? = null)
Functions
Properties
Link copied to clipboard
                Deployment strategy ID or name of a predefined deployment strategy. See Predefined Deployment Strategies for more details.