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.
Container for the parameters to the UpdateContinuousDeploymentPolicy operation. Updates a continuous deployment policy. You can update a continuous deployment policy to enable or disable it, to change the percentage of traffic that it sends to the staging distribution, or to change the staging distribution that it sends traffic to.
When you update a continuous deployment policy configuration, all the fields are updated with the values that are provided in the request. You cannot update some fields independent of others. To update a continuous deployment policy configuration:
Use GetContinuousDeploymentPolicyConfig
to get the current configuration.
Locally modify the fields in the continuous deployment policy configuration that you want to update.
Use UpdateContinuousDeploymentPolicy
, providing the entire continuous deployment
policy configuration, including the fields that you modified and those that you didn't.
Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z
public class UpdateContinuousDeploymentPolicyRequest : AmazonCloudFrontRequest IAmazonWebServiceRequest
The UpdateContinuousDeploymentPolicyRequest type exposes the following members
Name | Description | |
---|---|---|
UpdateContinuousDeploymentPolicyRequest() |
Name | Type | Description | |
---|---|---|---|
ContinuousDeploymentPolicyConfig | Amazon.CloudFront.Model.ContinuousDeploymentPolicyConfig |
Gets and sets the property ContinuousDeploymentPolicyConfig. The continuous deployment policy configuration. |
|
Id | System.String |
Gets and sets the property Id. The identifier of the continuous deployment policy that you are updating. |
|
IfMatch | System.String |
Gets and sets the property IfMatch.
The current version ( |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5