The SetDistributionConfigRequest contains the parameters used for the
SetDistributionConfig operation.
The ETag parameter is used if you wish to specify the ETag to match with the
ETag of the Distribution with the Id specified.
Required Parameters: Id
Required Parameters: DistributionConfig
Required Parameters: ETag of the Distribution. This can be retrieved via a call to GetDistibutionInfo
Required Parameters: Id
Required Parameters: DistributionConfig
Required Parameters: ETag of the Distribution. This can be retrieved via a call to GetDistibutionInfo

C# |
public class SetDistributionConfigRequest : CloudFrontRequest

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | SetDistributionConfigRequest()()()() | Initializes a new instance of the SetDistributionConfigRequest class |
![]() | AddHeaders(NameValueCollection) |
Adds all of the key/value pairs from collection into our request header.
(Inherited from BaseRequest.) |
![]() | DistributionConfig |
Gets and Sets the DistributionConfig property.
The CloudFront Distribution's configuration will be modified
to reflect the values in this configuration object.
(Overrides CloudFrontRequest.DistributionConfig.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | ETag |
Gets and sets the ETag property. This should be the ETag of the Distribution.
ETag (Overrides CloudFrontRequest.ETag.) |
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType()()()() | Gets the type of the current instance. (Inherited from Object.) |
![]() | Id |
Gets and sets the Id property.
(Overrides CloudFrontRequest.Id.) |
![]() | Marker |
Gets and sets the Marker property.
(Inherited from CloudFrontRequest.) |
![]() | MaxItems |
Gets and sets the MaxItems property.
(Inherited from CloudFrontRequest.) |
![]() | StreamingDistributionConfig |
Gets and Sets the StreamingDistributionConfig property.
(Inherited from CloudFrontRequest.) |
![]() | ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WithDistributionConfig(CloudFrontDistributionConfig) | Obsolete.
Sets the DistributionConfig property for this request.
|
![]() | WithETag(String) | Obsolete.
Sets the ETag property for this request.
This is the ETag of the CloudFront Distribution which will be reconfigured.
|
![]() | WithId(String) | Obsolete.
Sets the Id property for this request.
This is the CloudFront Distribution Id that will be reconfigured
by this request.
|

If you want to serve private content, you need to:
- Associate an Origin Access Identity with the DistributionConfig
- Associate TrustedSigners with the DistributionConfig if you want to serve content via Signed URLs

Object | |||
![]() | BaseRequest | ||
![]() | CloudFrontRequest | ||
![]() | SetDistributionConfigRequest |

CloudFrontDistributionConfig
UrlTrustedSigners
OriginAccessIdentity
TrustedSigners
UrlTrustedSigners
OriginAccessIdentity
TrustedSigners