AWS SDK Version 3 for .NET
API Reference

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 UpdateDistributionWithStagingConfig operation. Copies the staging distribution's configuration to its corresponding primary distribution. The primary distribution retains its Aliases (also known as alternate domain names or CNAMEs) and ContinuousDeploymentPolicyId value, but otherwise its configuration is overwritten to match the staging distribution.

You can use this operation in a continuous deployment workflow after you have tested configuration changes on the staging distribution. After using a continuous deployment policy to move a portion of your domain name's traffic to the staging distribution and verifying that it works as intended, you can use this operation to copy the staging distribution's configuration to the primary distribution. This action will disable the continuous deployment policy and move your domain's traffic back to the primary distribution.

This API operation requires the following IAM permissions:

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CloudFront.AmazonCloudFrontRequest
      Amazon.CloudFront.Model.UpdateDistributionWithStagingConfigRequest

Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z

Syntax

C#
public class UpdateDistributionWithStagingConfigRequest : AmazonCloudFrontRequest
         IAmazonWebServiceRequest

The UpdateDistributionWithStagingConfigRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Id System.String

Gets and sets the property Id.

The identifier of the primary distribution to which you are copying a staging distribution's configuration.

Public Property IfMatch System.String

Gets and sets the property IfMatch.

The current versions (ETag values) of both primary and staging distributions. Provide these in the following format:

,

Public Property StagingDistributionId System.String

Gets and sets the property StagingDistributionId.

The identifier of the staging distribution whose configuration you are copying to the primary distribution.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5