DeploymentArgs

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 tags: Output<Map<String, String>>? = null) : ConvertibleToJava<DeploymentArgs>

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());
}
}

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

Constructors

Link copied to clipboard
constructor(applicationId: Output<String>? = null, configurationProfileId: Output<String>? = null, configurationVersion: Output<String>? = null, deploymentStrategyId: Output<String>? = null, description: Output<String>? = null, environmentId: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val applicationId: Output<String>? = null

Application ID. Must be between 4 and 7 characters in length.

Link copied to clipboard
val configurationProfileId: Output<String>? = null

Configuration profile ID. Must be between 4 and 7 characters in length.

Link copied to clipboard
val configurationVersion: Output<String>? = null

Configuration version to deploy. Can be at most 1024 characters.

Link copied to clipboard
val deploymentStrategyId: Output<String>? = null

Deployment strategy ID or name of a predefined deployment strategy. See Predefined Deployment Strategies for more details.

Link copied to clipboard
val description: Output<String>? = null

Description of the deployment. Can be at most 1024 characters.

Link copied to clipboard
val environmentId: Output<String>? = null

Environment ID. Must be between 4 and 7 characters in length.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Functions

Link copied to clipboard
open override fun toJava(): DeploymentArgs