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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb

Overview

Note:

When making an API call, you may pass CloudFrontOriginAccessIdentityConfig data as a 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.

Instance Attribute Summary collapse

Instance Attribute Details

#caller_referenceString

A unique number that ensures the request can't be replayed.

If the CallerReference is new (no matter 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)


633
634
635
636
637
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 633

class CloudFrontOriginAccessIdentityConfig < Struct.new(
  :caller_reference,
  :comment)
  include Aws::Structure
end

#commentString

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

Returns:

  • (String)


633
634
635
636
637
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 633

class CloudFrontOriginAccessIdentityConfig < Struct.new(
  :caller_reference,
  :comment)
  include Aws::Structure
end