import * as pulumi from "@pulumi/pulumi"; /** * Resource for managing an AWS CloudFront KeyValueStore Key. * * > This resource manages individual key value pairs in a KeyValueStore. This can lead to high costs associated with accessing the CloudFront KeyValueStore API when performing terraform operations with many key value pairs defined. For large key value stores, consider the `aws.cloudfront.KeyvaluestoreKeysExclusive` resource to minimize the number of API calls made to the CloudFront KeyValueStore API. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.cloudfront.KeyValueStore("example", { * name: "ExampleKeyValueStore", * comment: "This is an example key value store", * }); * const exampleKeyvaluestoreKey = new aws.cloudfront.KeyvaluestoreKey("example", { * keyValueStoreArn: example.arn, * key: "Test Key", * value: "Test Value", * }); * ``` * * ## Import * * ### Identity Schema * * #### Required * * * `keyValueStoreArn` (String) ARN of the CloudFront Key Value Store. * * `key` (String) Key name. * * #### Optional * * * `accountId` (String) AWS Account where this resource is managed. * * Using `pulumi import`, import CloudFront KeyValueStore Key using the `keyValueStoreArn` and 'key' separated by `,`. For example: * * ```sh * $ pulumi import aws:cloudfront/keyvaluestoreKey:KeyvaluestoreKey example arn:aws:cloudfront::111111111111:key-value-store/8562g61f-caba-2845-9d99-b97diwae5d3c,someKey * ``` */ export declare class KeyvaluestoreKey extends pulumi.CustomResource { /** * Get an existing KeyvaluestoreKey resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: KeyvaluestoreKeyState, opts?: pulumi.CustomResourceOptions): KeyvaluestoreKey; /** * Returns true if the given object is an instance of KeyvaluestoreKey. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is KeyvaluestoreKey; /** * Key to put. */ readonly key: pulumi.Output; /** * ARN of the Key Value Store. */ readonly keyValueStoreArn: pulumi.Output; /** * Total size of the Key Value Store in bytes. */ readonly totalSizeInBytes: pulumi.Output; /** * Value to put. */ readonly value: pulumi.Output; /** * Create a KeyvaluestoreKey resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: KeyvaluestoreKeyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering KeyvaluestoreKey resources. */ export interface KeyvaluestoreKeyState { /** * Key to put. */ key?: pulumi.Input; /** * ARN of the Key Value Store. */ keyValueStoreArn?: pulumi.Input; /** * Total size of the Key Value Store in bytes. */ totalSizeInBytes?: pulumi.Input; /** * Value to put. */ value?: pulumi.Input; } /** * The set of arguments for constructing a KeyvaluestoreKey resource. */ export interface KeyvaluestoreKeyArgs { /** * Key to put. */ key: pulumi.Input; /** * ARN of the Key Value Store. */ keyValueStoreArn: pulumi.Input; /** * Value to put. */ value: pulumi.Input; } //# sourceMappingURL=keyvaluestoreKey.d.ts.map