Creates a new invalidation request :see: http://goo.gl/8vECq
Adds a new content object to the Distribution. The content for the object will be copied to a new Key in the S3 Bucket and the permissions will be set appropriately for the type of Distribution.
| Parameters: |
|
|---|---|
| Return type: | boto.cloudfront.object.Object |
| Returns: | The newly created object. |
Creates a signed CloudFront URL that is only valid within the specified parameters.
| Parameters: |
|
|---|---|
| Return type: | str |
| Returns: | The signed URL. |
Delete this CloudFront Distribution. The content associated with the Distribution is not deleted from the underlying Origin bucket in S3.
Activate the Distribution. A convenience wrapper around the update method.
Deactivate the Distribution. A convenience wrapper around the update method.
Return a list of all content objects in this distribution.
| Return type: | list of boto.cloudfront.object.Object |
|---|---|
| Returns: | The content objects |
Sets the S3 ACL grants for the given object to the appropriate value based on the type of Distribution. If the Distribution is serving private content the ACL will be set to include the Origin Access Identity associated with the Distribution. If the Distribution is serving public content the content will be set up with “public-read”.
| Parameters: |
|
|---|
Sets the S3 ACL grants for all objects in the Distribution to the appropriate value based on the type of Distribution.
| Parameters: | replace (bool) – If False, the Origin Access Identity will be appended to the existing ACL for the object. If True, the ACL for the object will be completely replaced with one that grants READ permission to the Origin Access Identity. |
|---|
Update the configuration of the Distribution. The only values of the DistributionConfig that can be directly updated are:
- CNAMES
- Comment
- Whether the Distribution is enabled or not
Any changes to the trusted_signers or origin properties of this distribution’s current config object will also be included in the update. Therefore, to set the origin access identity for this distribution, set Distribution.config.origin.origin_access_identity before calling this update method.
| Parameters: |
|
|---|
| Parameters: |
|
|---|
Update the configuration of the StreamingDistribution. The only values of the StreamingDistributionConfig that can be directly updated are:
- CNAMES
- Comment
- Whether the Distribution is enabled or not
Any changes to the trusted_signers or origin properties of this distribution’s current config object will also be included in the update. Therefore, to set the origin access identity for this distribution, set StreamingDistribution.config.origin.origin_access_identity before calling this update method.
| Parameters: |
|
|---|
Origin information to associate with the distribution. If your distribution will use a non-Amazon S3 origin, then you use the CustomOrigin element.
| Parameters: |
|
|---|
Origin information to associate with the distribution. If your distribution will use an Amazon S3 origin, then you use the S3Origin element.
| Parameters: |
|
|---|