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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.

Constant Summary collapse

SENSITIVE =
[]

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)


1339
1340
1341
1342
1343
1344
# File 'lib/aws-sdk-cloudfront/types.rb', line 1339

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

#commentString

A comment to describe the origin access identity. The comment cannot be longer than 128 characters.

Returns:

  • (String)


1339
1340
1341
1342
1343
1344
# File 'lib/aws-sdk-cloudfront/types.rb', line 1339

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