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

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.PublicKey

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

    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

    The PublicKey resource accepts the following input properties:

    PublicKeyConfig Pulumi.AwsNative.CloudFront.Inputs.PublicKeyConfig
    Configuration information about a public key that you can use with signed URLs and signed cookies , or with field-level encryption .
    PublicKeyConfig PublicKeyConfigArgs
    Configuration information about a public key that you can use with signed URLs and signed cookies , or with field-level encryption .
    publicKeyConfig PublicKeyConfig
    Configuration information about a public key that you can use with signed URLs and signed cookies , or with field-level encryption .
    publicKeyConfig PublicKeyConfig
    Configuration information about a public key that you can use with signed URLs and signed cookies , or with field-level encryption .
    public_key_config PublicKeyConfigArgs
    Configuration information about a public key that you can use with signed URLs and signed cookies , or with field-level encryption .
    publicKeyConfig Property Map
    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:

    AwsId string
    The identifier of the public key.
    CreatedTime string
    The date and time when the public key was uploaded.
    Id string
    The provider-assigned unique ID for this managed resource.
    AwsId string
    The identifier of the public key.
    CreatedTime string
    The date and time when the public key was uploaded.
    Id string
    The provider-assigned unique ID for this managed resource.
    awsId String
    The identifier of the public key.
    createdTime String
    The date and time when the public key was uploaded.
    id String
    The provider-assigned unique ID for this managed resource.
    awsId string
    The identifier of the public key.
    createdTime 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.
    awsId String
    The identifier of the public key.
    createdTime 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

    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