AWS Classic

Pulumi Official
Package maintained by Pulumi
v5.10.0 published on Monday, Jul 11, 2022 by Pulumi

DeploymentStrategy

Provides an AppConfig Deployment Strategy resource.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var example = new Aws.AppConfig.DeploymentStrategy("example", new Aws.AppConfig.DeploymentStrategyArgs
        {
            DeploymentDurationInMinutes = 3,
            Description = "Example Deployment Strategy",
            FinalBakeTimeInMinutes = 4,
            GrowthFactor = 10,
            GrowthType = "LINEAR",
            ReplicateTo = "NONE",
            Tags = 
            {
                { "Type", "AppConfig Deployment Strategy" },
            },
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/appconfig"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appconfig.NewDeploymentStrategy(ctx, "example", &appconfig.DeploymentStrategyArgs{
			DeploymentDurationInMinutes: pulumi.Int(3),
			Description:                 pulumi.String("Example Deployment Strategy"),
			FinalBakeTimeInMinutes:      pulumi.Int(4),
			GrowthFactor:                pulumi.Float64(10),
			GrowthType:                  pulumi.String("LINEAR"),
			ReplicateTo:                 pulumi.String("NONE"),
			Tags: pulumi.StringMap{
				"Type": pulumi.String("AppConfig Deployment Strategy"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new DeploymentStrategy("example", DeploymentStrategyArgs.builder()        
            .deploymentDurationInMinutes(3)
            .description("Example Deployment Strategy")
            .finalBakeTimeInMinutes(4)
            .growthFactor(10)
            .growthType("LINEAR")
            .replicateTo("NONE")
            .tags(Map.of("Type", "AppConfig Deployment Strategy"))
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.appconfig.DeploymentStrategy("example",
    deployment_duration_in_minutes=3,
    description="Example Deployment Strategy",
    final_bake_time_in_minutes=4,
    growth_factor=10,
    growth_type="LINEAR",
    replicate_to="NONE",
    tags={
        "Type": "AppConfig Deployment Strategy",
    })
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.appconfig.DeploymentStrategy("example", {
    deploymentDurationInMinutes: 3,
    description: "Example Deployment Strategy",
    finalBakeTimeInMinutes: 4,
    growthFactor: 10,
    growthType: "LINEAR",
    replicateTo: "NONE",
    tags: {
        Type: "AppConfig Deployment Strategy",
    },
});
resources:
  example:
    type: aws:appconfig:DeploymentStrategy
    properties:
      deploymentDurationInMinutes: 3
      description: Example Deployment Strategy
      finalBakeTimeInMinutes: 4
      growthFactor: 10
      growthType: LINEAR
      replicateTo: NONE
      tags:
        Type: AppConfig Deployment Strategy

Create a DeploymentStrategy Resource

new DeploymentStrategy(name: string, args: DeploymentStrategyArgs, opts?: CustomResourceOptions);
@overload
def DeploymentStrategy(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       deployment_duration_in_minutes: Optional[int] = None,
                       description: Optional[str] = None,
                       final_bake_time_in_minutes: Optional[int] = None,
                       growth_factor: Optional[float] = None,
                       growth_type: Optional[str] = None,
                       name: Optional[str] = None,
                       replicate_to: Optional[str] = None,
                       tags: Optional[Mapping[str, str]] = None)
@overload
def DeploymentStrategy(resource_name: str,
                       args: DeploymentStrategyArgs,
                       opts: Optional[ResourceOptions] = None)
func NewDeploymentStrategy(ctx *Context, name string, args DeploymentStrategyArgs, opts ...ResourceOption) (*DeploymentStrategy, error)
public DeploymentStrategy(string name, DeploymentStrategyArgs args, CustomResourceOptions? opts = null)
public DeploymentStrategy(String name, DeploymentStrategyArgs args)
public DeploymentStrategy(String name, DeploymentStrategyArgs args, CustomResourceOptions options)
type: aws:appconfig:DeploymentStrategy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DeploymentStrategyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args DeploymentStrategyArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args DeploymentStrategyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DeploymentStrategyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DeploymentStrategyArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

DeploymentStrategy Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The DeploymentStrategy resource accepts the following input properties:

DeploymentDurationInMinutes int

Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.

GrowthFactor double

The percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.

ReplicateTo string

Where to save the deployment strategy. Valid values: NONE and SSM_DOCUMENT.

Description string

A description of the deployment strategy. Can be at most 1024 characters.

FinalBakeTimeInMinutes int

The amount of time AWS AppConfig monitors for alarms before considering the deployment to be complete and no longer eligible for automatic roll back. Minimum value of 0, maximum value of 1440.

GrowthType string

The algorithm used to define how percentage grows over time. Valid value: LINEAR and EXPONENTIAL. Defaults to LINEAR.

Name string

A name for the deployment strategy. Must be between 1 and 64 characters in length.

Tags Dictionary<string, string>

A 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.

DeploymentDurationInMinutes int

Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.

GrowthFactor float64

The percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.

ReplicateTo string

Where to save the deployment strategy. Valid values: NONE and SSM_DOCUMENT.

Description string

A description of the deployment strategy. Can be at most 1024 characters.

FinalBakeTimeInMinutes int

The amount of time AWS AppConfig monitors for alarms before considering the deployment to be complete and no longer eligible for automatic roll back. Minimum value of 0, maximum value of 1440.

GrowthType string

The algorithm used to define how percentage grows over time. Valid value: LINEAR and EXPONENTIAL. Defaults to LINEAR.

Name string

A name for the deployment strategy. Must be between 1 and 64 characters in length.

Tags map[string]string

A 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.

deploymentDurationInMinutes Integer

Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.

growthFactor Double

The percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.

replicateTo String

Where to save the deployment strategy. Valid values: NONE and SSM_DOCUMENT.

description String

A description of the deployment strategy. Can be at most 1024 characters.

finalBakeTimeInMinutes Integer

The amount of time AWS AppConfig monitors for alarms before considering the deployment to be complete and no longer eligible for automatic roll back. Minimum value of 0, maximum value of 1440.

growthType String

The algorithm used to define how percentage grows over time. Valid value: LINEAR and EXPONENTIAL. Defaults to LINEAR.

name String

A name for the deployment strategy. Must be between 1 and 64 characters in length.

tags Map<String,String>

A 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.

deploymentDurationInMinutes number

Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.

growthFactor number

The percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.

replicateTo string

Where to save the deployment strategy. Valid values: NONE and SSM_DOCUMENT.

description string

A description of the deployment strategy. Can be at most 1024 characters.

finalBakeTimeInMinutes number

The amount of time AWS AppConfig monitors for alarms before considering the deployment to be complete and no longer eligible for automatic roll back. Minimum value of 0, maximum value of 1440.

growthType string

The algorithm used to define how percentage grows over time. Valid value: LINEAR and EXPONENTIAL. Defaults to LINEAR.

name string

A name for the deployment strategy. Must be between 1 and 64 characters in length.

tags {[key: string]: string}

A 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.

deployment_duration_in_minutes int

Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.

growth_factor float

The percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.

replicate_to str

Where to save the deployment strategy. Valid values: NONE and SSM_DOCUMENT.

description str

A description of the deployment strategy. Can be at most 1024 characters.

final_bake_time_in_minutes int

The amount of time AWS AppConfig monitors for alarms before considering the deployment to be complete and no longer eligible for automatic roll back. Minimum value of 0, maximum value of 1440.

growth_type str

The algorithm used to define how percentage grows over time. Valid value: LINEAR and EXPONENTIAL. Defaults to LINEAR.

name str

A name for the deployment strategy. Must be between 1 and 64 characters in length.

tags Mapping[str, str]

A 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.

deploymentDurationInMinutes Number

Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.

growthFactor Number

The percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.

replicateTo String

Where to save the deployment strategy. Valid values: NONE and SSM_DOCUMENT.

description String

A description of the deployment strategy. Can be at most 1024 characters.

finalBakeTimeInMinutes Number

The amount of time AWS AppConfig monitors for alarms before considering the deployment to be complete and no longer eligible for automatic roll back. Minimum value of 0, maximum value of 1440.

growthType String

The algorithm used to define how percentage grows over time. Valid value: LINEAR and EXPONENTIAL. Defaults to LINEAR.

name String

A name for the deployment strategy. Must be between 1 and 64 characters in length.

tags Map<String>

A 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.

Outputs

All input properties are implicitly available as output properties. Additionally, the DeploymentStrategy resource produces the following output properties:

Arn string

The Amazon Resource Name (ARN) of the AppConfig Deployment Strategy.

Id string

The provider-assigned unique ID for this managed resource.

TagsAll Dictionary<string, string>

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

Arn string

The Amazon Resource Name (ARN) of the AppConfig Deployment Strategy.

Id string

The provider-assigned unique ID for this managed resource.

TagsAll map[string]string

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

arn String

The Amazon Resource Name (ARN) of the AppConfig Deployment Strategy.

id String

The provider-assigned unique ID for this managed resource.

tagsAll Map<String,String>

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

arn string

The Amazon Resource Name (ARN) of the AppConfig Deployment Strategy.

id string

The provider-assigned unique ID for this managed resource.

tagsAll {[key: string]: string}

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

arn str

The Amazon Resource Name (ARN) of the AppConfig Deployment Strategy.

id str

The provider-assigned unique ID for this managed resource.

tags_all Mapping[str, str]

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

arn String

The Amazon Resource Name (ARN) of the AppConfig Deployment Strategy.

id String

The provider-assigned unique ID for this managed resource.

tagsAll Map<String>

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

Look up an Existing DeploymentStrategy Resource

Get an existing DeploymentStrategy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: DeploymentStrategyState, opts?: CustomResourceOptions): DeploymentStrategy
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        deployment_duration_in_minutes: Optional[int] = None,
        description: Optional[str] = None,
        final_bake_time_in_minutes: Optional[int] = None,
        growth_factor: Optional[float] = None,
        growth_type: Optional[str] = None,
        name: Optional[str] = None,
        replicate_to: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None) -> DeploymentStrategy
func GetDeploymentStrategy(ctx *Context, name string, id IDInput, state *DeploymentStrategyState, opts ...ResourceOption) (*DeploymentStrategy, error)
public static DeploymentStrategy Get(string name, Input<string> id, DeploymentStrategyState? state, CustomResourceOptions? opts = null)
public static DeploymentStrategy get(String name, Output<String> id, DeploymentStrategyState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Arn string

The Amazon Resource Name (ARN) of the AppConfig Deployment Strategy.

DeploymentDurationInMinutes int

Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.

Description string

A description of the deployment strategy. Can be at most 1024 characters.

FinalBakeTimeInMinutes int

The amount of time AWS AppConfig monitors for alarms before considering the deployment to be complete and no longer eligible for automatic roll back. Minimum value of 0, maximum value of 1440.

GrowthFactor double

The percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.

GrowthType string

The algorithm used to define how percentage grows over time. Valid value: LINEAR and EXPONENTIAL. Defaults to LINEAR.

Name string

A name for the deployment strategy. Must be between 1 and 64 characters in length.

ReplicateTo string

Where to save the deployment strategy. Valid values: NONE and SSM_DOCUMENT.

Tags Dictionary<string, string>

A 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.

TagsAll Dictionary<string, string>

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

Arn string

The Amazon Resource Name (ARN) of the AppConfig Deployment Strategy.

DeploymentDurationInMinutes int

Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.

Description string

A description of the deployment strategy. Can be at most 1024 characters.

FinalBakeTimeInMinutes int

The amount of time AWS AppConfig monitors for alarms before considering the deployment to be complete and no longer eligible for automatic roll back. Minimum value of 0, maximum value of 1440.

GrowthFactor float64

The percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.

GrowthType string

The algorithm used to define how percentage grows over time. Valid value: LINEAR and EXPONENTIAL. Defaults to LINEAR.

Name string

A name for the deployment strategy. Must be between 1 and 64 characters in length.

ReplicateTo string

Where to save the deployment strategy. Valid values: NONE and SSM_DOCUMENT.

Tags map[string]string

A 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.

TagsAll map[string]string

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

arn String

The Amazon Resource Name (ARN) of the AppConfig Deployment Strategy.

deploymentDurationInMinutes Integer

Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.

description String

A description of the deployment strategy. Can be at most 1024 characters.

finalBakeTimeInMinutes Integer

The amount of time AWS AppConfig monitors for alarms before considering the deployment to be complete and no longer eligible for automatic roll back. Minimum value of 0, maximum value of 1440.

growthFactor Double

The percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.

growthType String

The algorithm used to define how percentage grows over time. Valid value: LINEAR and EXPONENTIAL. Defaults to LINEAR.

name String

A name for the deployment strategy. Must be between 1 and 64 characters in length.

replicateTo String

Where to save the deployment strategy. Valid values: NONE and SSM_DOCUMENT.

tags Map<String,String>

A 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.

tagsAll Map<String,String>

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

arn string

The Amazon Resource Name (ARN) of the AppConfig Deployment Strategy.

deploymentDurationInMinutes number

Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.

description string

A description of the deployment strategy. Can be at most 1024 characters.

finalBakeTimeInMinutes number

The amount of time AWS AppConfig monitors for alarms before considering the deployment to be complete and no longer eligible for automatic roll back. Minimum value of 0, maximum value of 1440.

growthFactor number

The percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.

growthType string

The algorithm used to define how percentage grows over time. Valid value: LINEAR and EXPONENTIAL. Defaults to LINEAR.

name string

A name for the deployment strategy. Must be between 1 and 64 characters in length.

replicateTo string

Where to save the deployment strategy. Valid values: NONE and SSM_DOCUMENT.

tags {[key: string]: string}

A 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.

tagsAll {[key: string]: string}

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

arn str

The Amazon Resource Name (ARN) of the AppConfig Deployment Strategy.

deployment_duration_in_minutes int

Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.

description str

A description of the deployment strategy. Can be at most 1024 characters.

final_bake_time_in_minutes int

The amount of time AWS AppConfig monitors for alarms before considering the deployment to be complete and no longer eligible for automatic roll back. Minimum value of 0, maximum value of 1440.

growth_factor float

The percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.

growth_type str

The algorithm used to define how percentage grows over time. Valid value: LINEAR and EXPONENTIAL. Defaults to LINEAR.

name str

A name for the deployment strategy. Must be between 1 and 64 characters in length.

replicate_to str

Where to save the deployment strategy. Valid values: NONE and SSM_DOCUMENT.

tags Mapping[str, str]

A 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.

tags_all Mapping[str, str]

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

arn String

The Amazon Resource Name (ARN) of the AppConfig Deployment Strategy.

deploymentDurationInMinutes Number

Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.

description String

A description of the deployment strategy. Can be at most 1024 characters.

finalBakeTimeInMinutes Number

The amount of time AWS AppConfig monitors for alarms before considering the deployment to be complete and no longer eligible for automatic roll back. Minimum value of 0, maximum value of 1440.

growthFactor Number

The percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.

growthType String

The algorithm used to define how percentage grows over time. Valid value: LINEAR and EXPONENTIAL. Defaults to LINEAR.

name String

A name for the deployment strategy. Must be between 1 and 64 characters in length.

replicateTo String

Where to save the deployment strategy. Valid values: NONE and SSM_DOCUMENT.

tags Map<String>

A 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.

tagsAll Map<String>

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

Import

AppConfig Deployment Strategies can be imported by using their deployment strategy ID, e.g.,

 $ pulumi import aws:appconfig/deploymentStrategy:DeploymentStrategy example 11xxxxx

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.