Deployment

class Deployment : KotlinCustomResource

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

Properties

Link copied to clipboard
val applicationId: Output<String>

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

Link copied to clipboard
val arn: Output<String>

ARN of the AppConfig Deployment.

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
val deploymentNumber: Output<Int>

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
val description: Output<String>?

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

Link copied to clipboard
val environmentId: Output<String>

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

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val state: Output<String>

State of the deployment.

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

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.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>