UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

28 lines 2.19 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getCloudFrontOriginAccessIdentityOutput = exports.getCloudFrontOriginAccessIdentity = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * 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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html) in the *Amazon CloudFront Developer Guide*. */ function getCloudFrontOriginAccessIdentity(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudfront:getCloudFrontOriginAccessIdentity", { "id": args.id, }, opts); } exports.getCloudFrontOriginAccessIdentity = getCloudFrontOriginAccessIdentity; /** * 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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html) in the *Amazon CloudFront Developer Guide*. */ function getCloudFrontOriginAccessIdentityOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws-native:cloudfront:getCloudFrontOriginAccessIdentity", { "id": args.id, }, opts); } exports.getCloudFrontOriginAccessIdentityOutput = getCloudFrontOriginAccessIdentityOutput; //# sourceMappingURL=getCloudFrontOriginAccessIdentity.js.map