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

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 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*.

[1]: docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_front_origin_access_identity_configTypes::CloudFrontOriginAccessIdentityConfig

The current configuration information for the identity.



1094
1095
1096
1097
# File 'lib/aws-sdk-cloudfront/types.rb', line 1094

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