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

Class: Aws::CloudFront::Types::CreateCloudFrontOriginAccessIdentityRequest

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 CreateCloudFrontOriginAccessIdentityRequest data as a hash:

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

The request to create a new origin access identity (OAI). An origin access identity is a special CloudFront user that you can associate with Amazon S3 origins, so that you can secure all or just some of your Amazon S3 content. For more information, see Restricting Access to Amazon S3 Content by Using an Origin Access Identity in the Amazon CloudFront Developer Guide.

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_front_origin_access_identity_configTypes::CloudFrontOriginAccessIdentityConfig

The current configuration information for the identity.



1083
1084
1085
1086
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 1083

class CreateCloudFrontOriginAccessIdentityRequest < Struct.new(
  :cloud_front_origin_access_identity_config)
  include Aws::Structure
end