You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudFront::Types::CloudFrontOriginAccessIdentityConfig

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CloudFrontOriginAccessIdentityConfig as input to an Aws::Client method, you can use a vanilla Hash:

{
  caller_reference: "string", # required
  comment: "string", # required
}

Origin access identity configuration. Send a GET request to the /CloudFront API version/CloudFront/identity ID/config resource.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#caller_referenceString

A unique value (for example, a date-time stamp) that ensures that the request can\'t be replayed.

If the value of CallerReference is new (regardless of the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created.

If the CallerReference is a value already sent in a previous identity request, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request.

If the CallerReference is a value you already sent in a previous request to create an identity, but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.

Returns:

  • (String)

    A unique value (for example, a date-time stamp) that ensures that the request can\'t be replayed.

#commentString

Any comments you want to include about the origin access identity.

Returns:

  • (String)

    Any comments you want to include about the origin access identity.