AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
This is the response object from the CreateDeploymentStrategy operation.
Namespace: Amazon.AppConfig.Model
Assembly: AWSSDK.AppConfig.dll
Version: 3.x.y.z
public class CreateDeploymentStrategyResponse : AmazonWebServiceResponse
The CreateDeploymentStrategyResponse type exposes the following members
Name | Description | |
---|---|---|
CreateDeploymentStrategyResponse() |
Name | Type | Description | |
---|---|---|---|
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
DeploymentDurationInMinutes | System.Int32 |
Gets and sets the property DeploymentDurationInMinutes. Total amount of time the deployment lasted. |
|
Description | System.String |
Gets and sets the property Description. The description of the deployment strategy. |
|
FinalBakeTimeInMinutes | System.Int32 |
Gets and sets the property FinalBakeTimeInMinutes. The amount of time that AppConfig monitored for alarms before considering the deployment to be complete and no longer eligible for automatic rollback. |
|
GrowthFactor | System.Single |
Gets and sets the property GrowthFactor. The percentage of targets that received a deployed configuration during each interval. |
|
GrowthType | Amazon.AppConfig.GrowthType |
Gets and sets the property GrowthType. The algorithm used to define how percentage grew over time. |
|
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
Id | System.String |
Gets and sets the property Id. The deployment strategy ID. |
|
Name | System.String |
Gets and sets the property Name. The name of the deployment strategy. |
|
ReplicateTo | Amazon.AppConfig.ReplicateTo |
Gets and sets the property ReplicateTo. Save the deployment strategy to a Systems Manager (SSM) document. |
|
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
The following create-deployment-strategy example creates a deployment strategy called Example-Deployment that takes 15 minutes and deploys the configuration to 25% of the application at a time. The strategy is also copied to an SSM Document.
var client = new AmazonAppConfigClient(); var response = client.CreateDeploymentStrategy(new CreateDeploymentStrategyRequest { DeploymentDurationInMinutes = 15, GrowthFactor = 25, Name = "Example-Deployment", ReplicateTo = "SSM_DOCUMENT" }); int deploymentDurationInMinutes = response.DeploymentDurationInMinutes; int finalBakeTimeInMinutes = response.FinalBakeTimeInMinutes; float growthFactor = response.GrowthFactor; string growthType = response.GrowthType; string id = response.Id; string name = response.Name; string replicateTo = response.ReplicateTo;
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5