Class: Aws::CloudFront::Types::CloudFrontOriginAccessIdentityConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::CloudFrontOriginAccessIdentityConfig
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudfront/types.rb
Overview
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
-
#caller_reference ⇒ String
A unique value (for example, a date-time stamp) that ensures that the request can’t be replayed.
-
#comment ⇒ String
Any comments you want to include about the origin access identity.
Instance Attribute Details
#caller_reference ⇒ String
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.
751 752 753 754 755 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 751 class CloudFrontOriginAccessIdentityConfig < Struct.new( :caller_reference, :comment) include Aws::Structure end |
#comment ⇒ String
Any comments you want to include about the origin access identity.
751 752 753 754 755 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 751 class CloudFrontOriginAccessIdentityConfig < Struct.new( :caller_reference, :comment) include Aws::Structure end |