Amazon CloudFront
API Reference (API Version 2010-11-01)
Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

CloudFrontOriginAccessIdentity Complex Type

Description

The CloudFrontOriginAccessIdentity complex type describes the information about a CloudFront origin access identity. For information about why and how you use CloudFront origin access identities, go to Serving Private Content in the Amazon CloudFront Developer Guide.

This complex type is used as a response element in POST Origin Access Identity and in GET Origin Access Identity.

Syntax

<CloudFrontOriginAccessIdentity xmlns="http://cloudfront.amazonaws.com/doc/2010-11-01/">
   <Id>id</Id>
   <S3CanonicalUserId>canonical user id</CanonicalUserId>
   <CloudFrontOriginAccessIdentityConfig>
      <CallerReference>ref</CallerReference>
      <Comment>The comment.</Comment>
   </CloudFrontOriginAccessIdentityConfig>
</CloudFrontOriginAccessIdentity>

Elements

The following tables describes the child elements in the CloudFrontOriginAccessIdentity datatype. They're presented in the order they appear in the origin access identity, and not in alphabetical order.

NameDescriptionRequired

Id

The ID for the origin access identity. For example, E74FTE3AJFJ256A.

Type: String

Default: None

Yes

S3CanonicalUserId

The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

Type: String

Default: None

Yes

CloudFrontOriginAccessIdentityConfig

The current configuration information for the identity.

Type: CloudFrontOriginAccessIdentityConfig Complex Type

Default: None

Yes

Example

<CloudFrontOriginAccessIdentity xmlns="http://cloudfront.amazonaws.com/doc/2010-11-01/">
   <Id>E74FTE3AJFJ256A</Id>
   <S3CanonicalUserId>
      cd13868f797c227fbea2830611a26fe0a21ba1b826ab4bed9b7771c9a69ba19f
   </S3CanonicalUserId>
   <CloudFrontOriginAccessIdentityConfig>   
      <CallerReference>20091130090000</CallerReference>
      <Comment>My comments</Comment>
   </CloudFrontOriginAccessIdentityConfig>
</CloudFrontOriginAccessIdentity>