AWS SDK for .NET Documentation
SetDistributionConfigRequest Class
AmazonAmazon.CloudFront_2012_03_15.ModelSetDistributionConfigRequest Did this page help you?   Yes   No    Tell us about it...
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
Declaration Syntax
C#
public class SetDistributionConfigRequest : CloudFrontRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
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)
Determines whether the specified Object is equal to the current 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.

Remarks
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
Inheritance Hierarchy
Object
BaseRequest
 CloudFrontRequest
  SetDistributionConfigRequest
See Also
CloudFrontDistributionConfig
UrlTrustedSigners
OriginAccessIdentity
TrustedSigners

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)