class Aws::CloudFront::Types::CreateCloudFrontOriginAccessIdentityRequest

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

@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
      },
    }

@!attribute [rw] cloud_front_origin_access_identity_config

The current configuration information for the identity.
@return [Types::CloudFrontOriginAccessIdentityConfig]

@see docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateCloudFrontOriginAccessIdentityRequest AWS API Documentation

Constants

SENSITIVE