We recommend new projects start with resources from the AWS provider.
aws-native.cloudfront.PublicKey
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
A public key that you can use with signed URLs and signed cookies, or with field-level encryption.
Create PublicKey Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PublicKey(name: string, args: PublicKeyArgs, opts?: CustomResourceOptions);
@overload
def PublicKey(resource_name: str,
args: PublicKeyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PublicKey(resource_name: str,
opts: Optional[ResourceOptions] = None,
public_key_config: Optional[PublicKeyConfigArgs] = None)
func NewPublicKey(ctx *Context, name string, args PublicKeyArgs, opts ...ResourceOption) (*PublicKey, error)
public PublicKey(string name, PublicKeyArgs args, CustomResourceOptions? opts = null)
public PublicKey(String name, PublicKeyArgs args)
public PublicKey(String name, PublicKeyArgs args, CustomResourceOptions options)
type: aws-native:cloudfront:PublicKey
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PublicKeyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PublicKeyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PublicKeyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PublicKeyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PublicKeyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
PublicKey Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PublicKey resource accepts the following input properties:
- Public
Key Pulumi.Config Aws Native. Cloud Front. Inputs. Public Key Config - Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.
- Public
Key PublicConfig Key Config Args - Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.
- 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.
- 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.
- public_
key_ Publicconfig Key Config Args - Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the PublicKey resource produces the following output properties:
- Aws
Id string - The identifier of the public key.
- Created
Time string - The date and time when the public key was uploaded.
- Id string
- The provider-assigned unique ID for this managed resource.
- Aws
Id string - The identifier of the public key.
- Created
Time string - The date and time when the public key was uploaded.
- Id string
- The provider-assigned unique ID for this managed resource.
- aws
Id String - The identifier of the public key.
- created
Time String - The date and time when the public key was uploaded.
- id String
- The provider-assigned unique ID for this managed resource.
- aws
Id string - The identifier of the public key.
- created
Time string - The date and time when the public key was uploaded.
- id string
- The provider-assigned unique ID for this managed resource.
- aws_
id str - The identifier of the public key.
- created_
time str - The date and time when the public key was uploaded.
- id str
- The provider-assigned unique ID for this managed resource.
- aws
Id String - The identifier of the public key.
- created
Time String - The date and time when the public key was uploaded.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
PublicKeyConfig, PublicKeyConfigArgs
- 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.