AWS Native

v0.43.0 published on Thursday, Dec 1, 2022 by Pulumi

getCloudFrontOriginAccessIdentity

Resource Type definition for AWS::CloudFront::CloudFrontOriginAccessIdentity

Using getCloudFrontOriginAccessIdentity

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 getCloudFrontOriginAccessIdentity(args: GetCloudFrontOriginAccessIdentityArgs, opts?: InvokeOptions): Promise<GetCloudFrontOriginAccessIdentityResult>
function getCloudFrontOriginAccessIdentityOutput(args: GetCloudFrontOriginAccessIdentityOutputArgs, opts?: InvokeOptions): Output<GetCloudFrontOriginAccessIdentityResult>
def get_cloud_front_origin_access_identity(id: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetCloudFrontOriginAccessIdentityResult
def get_cloud_front_origin_access_identity_output(id: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetCloudFrontOriginAccessIdentityResult]
func LookupCloudFrontOriginAccessIdentity(ctx *Context, args *LookupCloudFrontOriginAccessIdentityArgs, opts ...InvokeOption) (*LookupCloudFrontOriginAccessIdentityResult, error)
func LookupCloudFrontOriginAccessIdentityOutput(ctx *Context, args *LookupCloudFrontOriginAccessIdentityOutputArgs, opts ...InvokeOption) LookupCloudFrontOriginAccessIdentityResultOutput

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

public static class GetCloudFrontOriginAccessIdentity 
{
    public static Task<GetCloudFrontOriginAccessIdentityResult> InvokeAsync(GetCloudFrontOriginAccessIdentityArgs args, InvokeOptions? opts = null)
    public static Output<GetCloudFrontOriginAccessIdentityResult> Invoke(GetCloudFrontOriginAccessIdentityInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCloudFrontOriginAccessIdentityResult> getCloudFrontOriginAccessIdentity(GetCloudFrontOriginAccessIdentityArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws-native:cloudfront:getCloudFrontOriginAccessIdentity
  arguments:
    # arguments dictionary

The following arguments are supported:

Id string
Id string
id String
id string
id str
id String

getCloudFrontOriginAccessIdentity Result

The following output properties are available:

Supporting Types

CloudFrontOriginAccessIdentityConfig

Comment string
Comment string
comment String
comment string
comment String

Package Details

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