We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 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.9.0 published on Monday, Nov 18, 2024 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)
// 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:
- Created
Time string - The date and time when the public key was uploaded.
- Id string
- The identifier of the public key.
- Public
Key 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.
- Created
Time string - The date and time when the public key was uploaded.
- Id string
- 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.
- created
Time String - The date and time when the public key was uploaded.
- id String
- 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.
- created
Time string - The date and time when the public key was uploaded.
- id string
- 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.
- 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.
- created
Time String - The date and time when the public key was uploaded.
- id String
- The identifier of the public key.
- public
Key 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
- Caller
Reference string - A string included in the request to help make sure that the request can't be replayed.
- Encoded
Key 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 string - A string included in the request to help make sure that the request can't be replayed.
- Encoded
Key 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 String - A string included in the request to help make sure that the request can't be replayed.
- encoded
Key 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 string - A string included in the request to help make sure that the request can't be replayed.
- encoded
Key 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.
- caller
Reference String - A string included in the request to help make sure that the request can't be replayed.
- encoded
Key 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.9.0 published on Monday, Nov 18, 2024 by Pulumi