Try AWS Native preview for resources not in the classic version.
aws.appconfig.DeploymentStrategy
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Provides an AppConfig Deployment Strategy resource.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.AppConfig.DeploymentStrategy("example", new()
{
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 com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.appconfig.DeploymentStrategy;
import com.pulumi.aws.appconfig.DeploymentStrategyArgs;
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 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 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:
- Deployment
Duration intIn Minutes Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.
- Growth
Factor double Percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.
- Replicate
To string Where to save the deployment strategy. Valid values:
NONE
andSSM_DOCUMENT
.- Description string
Description of the deployment strategy. Can be at most 1024 characters.
- Final
Bake intTime In Minutes 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 string Algorithm used to define how percentage grows over time. Valid value:
LINEAR
andEXPONENTIAL
. Defaults toLINEAR
.- Name string
Name for the deployment strategy. Must be between 1 and 64 characters in length.
- Dictionary<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.
- Deployment
Duration intIn Minutes Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.
- Growth
Factor float64 Percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.
- Replicate
To string Where to save the deployment strategy. Valid values:
NONE
andSSM_DOCUMENT
.- Description string
Description of the deployment strategy. Can be at most 1024 characters.
- Final
Bake intTime In Minutes 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 string Algorithm used to define how percentage grows over time. Valid value:
LINEAR
andEXPONENTIAL
. Defaults toLINEAR
.- Name string
Name for the deployment strategy. Must be between 1 and 64 characters in length.
- 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.
- deployment
Duration IntegerIn Minutes Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.
- growth
Factor Double Percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.
- replicate
To String Where to save the deployment strategy. Valid values:
NONE
andSSM_DOCUMENT
.- description String
Description of the deployment strategy. Can be at most 1024 characters.
- final
Bake IntegerTime In Minutes 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 String Algorithm used to define how percentage grows over time. Valid value:
LINEAR
andEXPONENTIAL
. Defaults toLINEAR
.- name String
Name for the deployment strategy. Must be between 1 and 64 characters in length.
- 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.
- deployment
Duration numberIn Minutes Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.
- growth
Factor number Percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.
- replicate
To string Where to save the deployment strategy. Valid values:
NONE
andSSM_DOCUMENT
.- description string
Description of the deployment strategy. Can be at most 1024 characters.
- final
Bake numberTime In Minutes 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 string Algorithm used to define how percentage grows over time. Valid value:
LINEAR
andEXPONENTIAL
. Defaults toLINEAR
.- name string
Name for the deployment strategy. Must be between 1 and 64 characters in length.
- {[key: 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.
- deployment_
duration_ intin_ minutes Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.
- growth_
factor float 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
andSSM_DOCUMENT
.- description str
Description of the deployment strategy. Can be at most 1024 characters.
- final_
bake_ inttime_ in_ minutes 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 Algorithm used to define how percentage grows over time. Valid value:
LINEAR
andEXPONENTIAL
. Defaults toLINEAR
.- name str
Name for the deployment strategy. Must be between 1 and 64 characters in length.
- Mapping[str, str]
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 NumberIn Minutes Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.
- growth
Factor Number Percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.
- replicate
To String Where to save the deployment strategy. Valid values:
NONE
andSSM_DOCUMENT
.- description String
Description of the deployment strategy. Can be at most 1024 characters.
- final
Bake NumberTime In Minutes 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 String Algorithm used to define how percentage grows over time. Valid value:
LINEAR
andEXPONENTIAL
. Defaults toLINEAR
.- name String
Name for the deployment strategy. Must be between 1 and 64 characters in length.
- Map<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.
Outputs
All input properties are implicitly available as output properties. Additionally, the DeploymentStrategy resource produces the following output properties:
Look up 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.
- Arn string
ARN of the AppConfig Deployment Strategy.
- Deployment
Duration intIn Minutes Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.
- Description string
Description of the deployment strategy. Can be at most 1024 characters.
- Final
Bake intTime In Minutes 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 double Percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.
- Growth
Type string Algorithm used to define how percentage grows over time. Valid value:
LINEAR
andEXPONENTIAL
. Defaults toLINEAR
.- Name string
Name for the deployment strategy. Must be between 1 and 64 characters in length.
- Replicate
To string Where to save the deployment strategy. Valid values:
NONE
andSSM_DOCUMENT
.- Dictionary<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.- Dictionary<string, string>
Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Arn string
ARN of the AppConfig Deployment Strategy.
- Deployment
Duration intIn Minutes Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.
- Description string
Description of the deployment strategy. Can be at most 1024 characters.
- Final
Bake intTime In Minutes 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 float64 Percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.
- Growth
Type string Algorithm used to define how percentage grows over time. Valid value:
LINEAR
andEXPONENTIAL
. Defaults toLINEAR
.- Name string
Name for the deployment strategy. Must be between 1 and 64 characters in length.
- Replicate
To string Where to save the deployment strategy. Valid values:
NONE
andSSM_DOCUMENT
.- 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.- map[string]string
Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
ARN of the AppConfig Deployment Strategy.
- deployment
Duration IntegerIn Minutes Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.
- description String
Description of the deployment strategy. Can be at most 1024 characters.
- final
Bake IntegerTime In Minutes 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 Double Percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.
- growth
Type String Algorithm used to define how percentage grows over time. Valid value:
LINEAR
andEXPONENTIAL
. Defaults toLINEAR
.- name String
Name for the deployment strategy. Must be between 1 and 64 characters in length.
- replicate
To String Where to save the deployment strategy. Valid values:
NONE
andSSM_DOCUMENT
.- 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.- Map<String,String>
Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn string
ARN of the AppConfig Deployment Strategy.
- deployment
Duration numberIn Minutes Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.
- description string
Description of the deployment strategy. Can be at most 1024 characters.
- final
Bake numberTime In Minutes 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 number Percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.
- growth
Type string Algorithm used to define how percentage grows over time. Valid value:
LINEAR
andEXPONENTIAL
. Defaults toLINEAR
.- name string
Name for the deployment strategy. Must be between 1 and 64 characters in length.
- replicate
To string Where to save the deployment strategy. Valid values:
NONE
andSSM_DOCUMENT
.- {[key: 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.- {[key: string]: string}
Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn str
ARN of the AppConfig Deployment Strategy.
- deployment_
duration_ intin_ minutes Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.
- description str
Description of the deployment strategy. Can be at most 1024 characters.
- final_
bake_ inttime_ in_ minutes 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 Percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.
- growth_
type str Algorithm used to define how percentage grows over time. Valid value:
LINEAR
andEXPONENTIAL
. Defaults toLINEAR
.- name str
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
andSSM_DOCUMENT
.- Mapping[str, str]
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.- Mapping[str, str]
Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
ARN of the AppConfig Deployment Strategy.
- deployment
Duration NumberIn Minutes Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.
- description String
Description of the deployment strategy. Can be at most 1024 characters.
- final
Bake NumberTime In Minutes 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 Number Percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.
- growth
Type String Algorithm used to define how percentage grows over time. Valid value:
LINEAR
andEXPONENTIAL
. Defaults toLINEAR
.- name String
Name for the deployment strategy. Must be between 1 and 64 characters in length.
- replicate
To String Where to save the deployment strategy. Valid values:
NONE
andSSM_DOCUMENT
.- Map<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.- Map<String>
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
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.