AWS Classic

Pulumi Official
Package maintained by Pulumi
v5.5.0 published on Wednesday, May 25, 2022 by Pulumi

getOriginAccessIdentity

Using getOriginAccessIdentity

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getOriginAccessIdentity(args: GetOriginAccessIdentityArgs, opts?: InvokeOptions): Promise<GetOriginAccessIdentityResult>
function getOriginAccessIdentityOutput(args: GetOriginAccessIdentityOutputArgs, opts?: InvokeOptions): Output<GetOriginAccessIdentityResult>
def get_origin_access_identity(id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetOriginAccessIdentityResult
def get_origin_access_identity_output(id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetOriginAccessIdentityResult]
func LookupOriginAccessIdentity(ctx *Context, args *LookupOriginAccessIdentityArgs, opts ...InvokeOption) (*LookupOriginAccessIdentityResult, error)
func LookupOriginAccessIdentityOutput(ctx *Context, args *LookupOriginAccessIdentityOutputArgs, opts ...InvokeOption) LookupOriginAccessIdentityResultOutput

> Note: This function is named LookupOriginAccessIdentity in the Go SDK.

public static class GetOriginAccessIdentity 
{
    public static Task<GetOriginAccessIdentityResult> InvokeAsync(GetOriginAccessIdentityArgs args, InvokeOptions? opts = null)
    public static Output<GetOriginAccessIdentityResult> Invoke(GetOriginAccessIdentityInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOriginAccessIdentityResult> getOriginAccessIdentity(GetOriginAccessIdentityArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws:cloudfront/getOriginAccessIdentity:getOriginAccessIdentity
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Id string

The identifier for the distribution. For example: EDFDVBD632BHDS5.

Id string

The identifier for the distribution. For example: EDFDVBD632BHDS5.

id String

The identifier for the distribution. For example: EDFDVBD632BHDS5.

id string

The identifier for the distribution. For example: EDFDVBD632BHDS5.

id str

The identifier for the distribution. For example: EDFDVBD632BHDS5.

id String

The identifier for the distribution. For example: EDFDVBD632BHDS5.

getOriginAccessIdentity Result

The following output properties are available:

CallerReference string

Internal value used by CloudFront to allow future updates to the origin access identity.

CloudfrontAccessIdentityPath string

A shortcut to the full path for the origin access identity to use in CloudFront, see below.

Comment string

An optional comment for the origin access identity.

Etag string

The current version of the origin access identity's information. For example: E2QWRUHAPOMQZL.

IamArn string

A pre-generated ARN for use in S3 bucket policies (see below). Example: arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E2QWRUHAPOMQZL.

Id string
S3CanonicalUserId string

The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

CallerReference string

Internal value used by CloudFront to allow future updates to the origin access identity.

CloudfrontAccessIdentityPath string

A shortcut to the full path for the origin access identity to use in CloudFront, see below.

Comment string

An optional comment for the origin access identity.

Etag string

The current version of the origin access identity's information. For example: E2QWRUHAPOMQZL.

IamArn string

A pre-generated ARN for use in S3 bucket policies (see below). Example: arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E2QWRUHAPOMQZL.

Id string
S3CanonicalUserId string

The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

callerReference String

Internal value used by CloudFront to allow future updates to the origin access identity.

cloudfrontAccessIdentityPath String

A shortcut to the full path for the origin access identity to use in CloudFront, see below.

comment String

An optional comment for the origin access identity.

etag String

The current version of the origin access identity's information. For example: E2QWRUHAPOMQZL.

iamArn String

A pre-generated ARN for use in S3 bucket policies (see below). Example: arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E2QWRUHAPOMQZL.

id String
s3CanonicalUserId String

The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

callerReference string

Internal value used by CloudFront to allow future updates to the origin access identity.

cloudfrontAccessIdentityPath string

A shortcut to the full path for the origin access identity to use in CloudFront, see below.

comment string

An optional comment for the origin access identity.

etag string

The current version of the origin access identity's information. For example: E2QWRUHAPOMQZL.

iamArn string

A pre-generated ARN for use in S3 bucket policies (see below). Example: arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E2QWRUHAPOMQZL.

id string
s3CanonicalUserId string

The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

caller_reference str

Internal value used by CloudFront to allow future updates to the origin access identity.

cloudfront_access_identity_path str

A shortcut to the full path for the origin access identity to use in CloudFront, see below.

comment str

An optional comment for the origin access identity.

etag str

The current version of the origin access identity's information. For example: E2QWRUHAPOMQZL.

iam_arn str

A pre-generated ARN for use in S3 bucket policies (see below). Example: arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E2QWRUHAPOMQZL.

id str
s3_canonical_user_id str

The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

callerReference String

Internal value used by CloudFront to allow future updates to the origin access identity.

cloudfrontAccessIdentityPath String

A shortcut to the full path for the origin access identity to use in CloudFront, see below.

comment String

An optional comment for the origin access identity.

etag String

The current version of the origin access identity's information. For example: E2QWRUHAPOMQZL.

iamArn String

A pre-generated ARN for use in S3 bucket policies (see below). Example: arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E2QWRUHAPOMQZL.

id String
s3CanonicalUserId String

The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.