1. Packages
  2. AWS Native
  3. API Docs
  4. cloudfront
  5. getPublicKey

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.cloudfront.getPublicKey

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

    Resource Type definition for AWS::CloudFront::PublicKey

    Using getPublicKey

    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 getPublicKey(args: GetPublicKeyArgs, opts?: InvokeOptions): Promise<GetPublicKeyResult>
    function getPublicKeyOutput(args: GetPublicKeyOutputArgs, opts?: InvokeOptions): Output<GetPublicKeyResult>
    def get_public_key(id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetPublicKeyResult
    def get_public_key_output(id: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetPublicKeyResult]
    func LookupPublicKey(ctx *Context, args *LookupPublicKeyArgs, opts ...InvokeOption) (*LookupPublicKeyResult, error)
    func LookupPublicKeyOutput(ctx *Context, args *LookupPublicKeyOutputArgs, opts ...InvokeOption) LookupPublicKeyResultOutput

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

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

    The following arguments are supported:

    Id string
    The identifier of the public key.
    Id string
    The identifier of the public key.
    id String
    The identifier of the public key.
    id string
    The identifier of the public key.
    id str
    The identifier of the public key.
    id String
    The identifier of the public key.

    getPublicKey Result

    The following output properties are available:

    CreatedTime string
    The date and time when the public key was uploaded.
    Id string
    The identifier of the public key.
    PublicKeyConfig Pulumi.AwsNative.CloudFront.Outputs.PublicKeyConfig
    Configuration information about a public key that you can use with signed URLs and signed cookies , or with field-level encryption .
    CreatedTime string
    The date and time when the public key was uploaded.
    Id string
    The identifier of the public key.
    PublicKeyConfig PublicKeyConfig
    Configuration information about a public key that you can use with signed URLs and signed cookies , or with field-level encryption .
    createdTime String
    The date and time when the public key was uploaded.
    id String
    The identifier of the public key.
    publicKeyConfig PublicKeyConfig
    Configuration information about a public key that you can use with signed URLs and signed cookies , or with field-level encryption .
    createdTime string
    The date and time when the public key was uploaded.
    id string
    The identifier of the public key.
    publicKeyConfig PublicKeyConfig
    Configuration information about a public key that you can use with signed URLs and signed cookies , or with field-level encryption .
    created_time str
    The date and time when the public key was uploaded.
    id str
    The identifier of the public key.
    public_key_config PublicKeyConfig
    Configuration information about a public key that you can use with signed URLs and signed cookies , or with field-level encryption .
    createdTime String
    The date and time when the public key was uploaded.
    id String
    The identifier of the public key.
    publicKeyConfig Property Map
    Configuration information about a public key that you can use with signed URLs and signed cookies , or with field-level encryption .

    Supporting Types

    PublicKeyConfig

    CallerReference string
    A string included in the request to help make sure that the request can't be replayed.
    EncodedKey string
    The public key that you can use with signed URLs and signed cookies , or with field-level encryption .
    Name string
    A name to help identify the public key.
    Comment string
    A comment to describe the public key. The comment cannot be longer than 128 characters.
    CallerReference string
    A string included in the request to help make sure that the request can't be replayed.
    EncodedKey string
    The public key that you can use with signed URLs and signed cookies , or with field-level encryption .
    Name string
    A name to help identify the public key.
    Comment string
    A comment to describe the public key. The comment cannot be longer than 128 characters.
    callerReference String
    A string included in the request to help make sure that the request can't be replayed.
    encodedKey String
    The public key that you can use with signed URLs and signed cookies , or with field-level encryption .
    name String
    A name to help identify the public key.
    comment String
    A comment to describe the public key. The comment cannot be longer than 128 characters.
    callerReference string
    A string included in the request to help make sure that the request can't be replayed.
    encodedKey string
    The public key that you can use with signed URLs and signed cookies , or with field-level encryption .
    name string
    A name to help identify the public key.
    comment string
    A comment to describe the public key. The comment cannot be longer than 128 characters.
    caller_reference str
    A string included in the request to help make sure that the request can't be replayed.
    encoded_key str
    The public key that you can use with signed URLs and signed cookies , or with field-level encryption .
    name str
    A name to help identify the public key.
    comment str
    A comment to describe the public key. The comment cannot be longer than 128 characters.
    callerReference String
    A string included in the request to help make sure that the request can't be replayed.
    encodedKey String
    The public key that you can use with signed URLs and signed cookies , or with field-level encryption .
    name String
    A name to help identify the public key.
    comment String
    A comment to describe the public key. The comment cannot be longer than 128 characters.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi