We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
aws-native.cloudfront.getPublicKey
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
A public key that you can use with signed URLs and signed cookies, or with field-level encryption.
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)
public static Output<GetPublicKeyResult> getPublicKey(GetPublicKeyArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:cloudfront:getPublicKey
  arguments:
    # arguments dictionaryThe 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.
- PublicKey Pulumi.Config Aws Native. Cloud Front. Outputs. Public Key Config 
- 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.
- PublicKey PublicConfig Key Config 
- 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.
- publicKey PublicConfig Key Config 
- 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.
- publicKey PublicConfig Key Config 
- 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_ Publicconfig Key Config 
- 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.
- publicKey Property MapConfig 
- 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
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi