1. Packages
  2. AWS
  3. API Docs
  4. cloudfront
  5. KeyvaluestoreKeysExclusive
AWS v6.83.0 published on Monday, Jun 16, 2025 by Pulumi

aws.cloudfront.KeyvaluestoreKeysExclusive

Explore with Pulumi AI

aws logo
AWS v6.83.0 published on Monday, Jun 16, 2025 by Pulumi

    Import

    Using pulumi import, import AWS CloudFront KeyValueStore Key Value Pairs using the key_value_store_arn. For example:

    $ pulumi import aws:cloudfront/keyvaluestoreKeysExclusive:KeyvaluestoreKeysExclusive example arn:aws:cloudfront::111111111111:key-value-store/8562g61f-caba-2845-9d99-b97diwae5d3c
    

    Create KeyvaluestoreKeysExclusive Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new KeyvaluestoreKeysExclusive(name: string, args: KeyvaluestoreKeysExclusiveArgs, opts?: CustomResourceOptions);
    @overload
    def KeyvaluestoreKeysExclusive(resource_name: str,
                                   args: KeyvaluestoreKeysExclusiveArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def KeyvaluestoreKeysExclusive(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   key_value_store_arn: Optional[str] = None,
                                   max_batch_size: Optional[int] = None,
                                   resource_key_value_pairs: Optional[Sequence[KeyvaluestoreKeysExclusiveResourceKeyValuePairArgs]] = None)
    func NewKeyvaluestoreKeysExclusive(ctx *Context, name string, args KeyvaluestoreKeysExclusiveArgs, opts ...ResourceOption) (*KeyvaluestoreKeysExclusive, error)
    public KeyvaluestoreKeysExclusive(string name, KeyvaluestoreKeysExclusiveArgs args, CustomResourceOptions? opts = null)
    public KeyvaluestoreKeysExclusive(String name, KeyvaluestoreKeysExclusiveArgs args)
    public KeyvaluestoreKeysExclusive(String name, KeyvaluestoreKeysExclusiveArgs args, CustomResourceOptions options)
    
    type: aws:cloudfront:KeyvaluestoreKeysExclusive
    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 KeyvaluestoreKeysExclusiveArgs
    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 KeyvaluestoreKeysExclusiveArgs
    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 KeyvaluestoreKeysExclusiveArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KeyvaluestoreKeysExclusiveArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KeyvaluestoreKeysExclusiveArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var keyvaluestoreKeysExclusiveResource = new Aws.CloudFront.KeyvaluestoreKeysExclusive("keyvaluestoreKeysExclusiveResource", new()
    {
        KeyValueStoreArn = "string",
        MaxBatchSize = 0,
        ResourceKeyValuePairs = new[]
        {
            new Aws.CloudFront.Inputs.KeyvaluestoreKeysExclusiveResourceKeyValuePairArgs
            {
                Key = "string",
                Value = "string",
            },
        },
    });
    
    example, err := cloudfront.NewKeyvaluestoreKeysExclusive(ctx, "keyvaluestoreKeysExclusiveResource", &cloudfront.KeyvaluestoreKeysExclusiveArgs{
    	KeyValueStoreArn: pulumi.String("string"),
    	MaxBatchSize:     pulumi.Int(0),
    	ResourceKeyValuePairs: cloudfront.KeyvaluestoreKeysExclusiveResourceKeyValuePairArray{
    		&cloudfront.KeyvaluestoreKeysExclusiveResourceKeyValuePairArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    })
    
    var keyvaluestoreKeysExclusiveResource = new KeyvaluestoreKeysExclusive("keyvaluestoreKeysExclusiveResource", KeyvaluestoreKeysExclusiveArgs.builder()
        .keyValueStoreArn("string")
        .maxBatchSize(0)
        .resourceKeyValuePairs(KeyvaluestoreKeysExclusiveResourceKeyValuePairArgs.builder()
            .key("string")
            .value("string")
            .build())
        .build());
    
    keyvaluestore_keys_exclusive_resource = aws.cloudfront.KeyvaluestoreKeysExclusive("keyvaluestoreKeysExclusiveResource",
        key_value_store_arn="string",
        max_batch_size=0,
        resource_key_value_pairs=[{
            "key": "string",
            "value": "string",
        }])
    
    const keyvaluestoreKeysExclusiveResource = new aws.cloudfront.KeyvaluestoreKeysExclusive("keyvaluestoreKeysExclusiveResource", {
        keyValueStoreArn: "string",
        maxBatchSize: 0,
        resourceKeyValuePairs: [{
            key: "string",
            value: "string",
        }],
    });
    
    type: aws:cloudfront:KeyvaluestoreKeysExclusive
    properties:
        keyValueStoreArn: string
        maxBatchSize: 0
        resourceKeyValuePairs:
            - key: string
              value: string
    

    KeyvaluestoreKeysExclusive 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 KeyvaluestoreKeysExclusive resource accepts the following input properties:

    KeyValueStoreArn string

    Amazon Resource Name (ARN) of the Key Value Store.

    The following arguments are optional:

    MaxBatchSize int
    Maximum resource key values pairs that will update in a single API request. AWS has a default quota of 50 keys or a 3 MB payload, whichever is reached first. Defaults to 50.
    ResourceKeyValuePairs List<KeyvaluestoreKeysExclusiveResourceKeyValuePair>
    A list of all resource key value pairs associated with the KeyValueStore. See resource_key_value_pair below.
    KeyValueStoreArn string

    Amazon Resource Name (ARN) of the Key Value Store.

    The following arguments are optional:

    MaxBatchSize int
    Maximum resource key values pairs that will update in a single API request. AWS has a default quota of 50 keys or a 3 MB payload, whichever is reached first. Defaults to 50.
    ResourceKeyValuePairs []KeyvaluestoreKeysExclusiveResourceKeyValuePairArgs
    A list of all resource key value pairs associated with the KeyValueStore. See resource_key_value_pair below.
    keyValueStoreArn String

    Amazon Resource Name (ARN) of the Key Value Store.

    The following arguments are optional:

    maxBatchSize Integer
    Maximum resource key values pairs that will update in a single API request. AWS has a default quota of 50 keys or a 3 MB payload, whichever is reached first. Defaults to 50.
    resourceKeyValuePairs List<KeyvaluestoreKeysExclusiveResourceKeyValuePair>
    A list of all resource key value pairs associated with the KeyValueStore. See resource_key_value_pair below.
    keyValueStoreArn string

    Amazon Resource Name (ARN) of the Key Value Store.

    The following arguments are optional:

    maxBatchSize number
    Maximum resource key values pairs that will update in a single API request. AWS has a default quota of 50 keys or a 3 MB payload, whichever is reached first. Defaults to 50.
    resourceKeyValuePairs KeyvaluestoreKeysExclusiveResourceKeyValuePair[]
    A list of all resource key value pairs associated with the KeyValueStore. See resource_key_value_pair below.
    key_value_store_arn str

    Amazon Resource Name (ARN) of the Key Value Store.

    The following arguments are optional:

    max_batch_size int
    Maximum resource key values pairs that will update in a single API request. AWS has a default quota of 50 keys or a 3 MB payload, whichever is reached first. Defaults to 50.
    resource_key_value_pairs Sequence[KeyvaluestoreKeysExclusiveResourceKeyValuePairArgs]
    A list of all resource key value pairs associated with the KeyValueStore. See resource_key_value_pair below.
    keyValueStoreArn String

    Amazon Resource Name (ARN) of the Key Value Store.

    The following arguments are optional:

    maxBatchSize Number
    Maximum resource key values pairs that will update in a single API request. AWS has a default quota of 50 keys or a 3 MB payload, whichever is reached first. Defaults to 50.
    resourceKeyValuePairs List<Property Map>
    A list of all resource key value pairs associated with the KeyValueStore. See resource_key_value_pair below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the KeyvaluestoreKeysExclusive resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    TotalSizeInBytes int
    Total size of the Key Value Store in bytes.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalSizeInBytes int
    Total size of the Key Value Store in bytes.
    id String
    The provider-assigned unique ID for this managed resource.
    totalSizeInBytes Integer
    Total size of the Key Value Store in bytes.
    id string
    The provider-assigned unique ID for this managed resource.
    totalSizeInBytes number
    Total size of the Key Value Store in bytes.
    id str
    The provider-assigned unique ID for this managed resource.
    total_size_in_bytes int
    Total size of the Key Value Store in bytes.
    id String
    The provider-assigned unique ID for this managed resource.
    totalSizeInBytes Number
    Total size of the Key Value Store in bytes.

    Look up Existing KeyvaluestoreKeysExclusive Resource

    Get an existing KeyvaluestoreKeysExclusive resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: KeyvaluestoreKeysExclusiveState, opts?: CustomResourceOptions): KeyvaluestoreKeysExclusive
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            key_value_store_arn: Optional[str] = None,
            max_batch_size: Optional[int] = None,
            resource_key_value_pairs: Optional[Sequence[KeyvaluestoreKeysExclusiveResourceKeyValuePairArgs]] = None,
            total_size_in_bytes: Optional[int] = None) -> KeyvaluestoreKeysExclusive
    func GetKeyvaluestoreKeysExclusive(ctx *Context, name string, id IDInput, state *KeyvaluestoreKeysExclusiveState, opts ...ResourceOption) (*KeyvaluestoreKeysExclusive, error)
    public static KeyvaluestoreKeysExclusive Get(string name, Input<string> id, KeyvaluestoreKeysExclusiveState? state, CustomResourceOptions? opts = null)
    public static KeyvaluestoreKeysExclusive get(String name, Output<String> id, KeyvaluestoreKeysExclusiveState state, CustomResourceOptions options)
    resources:  _:    type: aws:cloudfront:KeyvaluestoreKeysExclusive    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    KeyValueStoreArn string

    Amazon Resource Name (ARN) of the Key Value Store.

    The following arguments are optional:

    MaxBatchSize int
    Maximum resource key values pairs that will update in a single API request. AWS has a default quota of 50 keys or a 3 MB payload, whichever is reached first. Defaults to 50.
    ResourceKeyValuePairs List<KeyvaluestoreKeysExclusiveResourceKeyValuePair>
    A list of all resource key value pairs associated with the KeyValueStore. See resource_key_value_pair below.
    TotalSizeInBytes int
    Total size of the Key Value Store in bytes.
    KeyValueStoreArn string

    Amazon Resource Name (ARN) of the Key Value Store.

    The following arguments are optional:

    MaxBatchSize int
    Maximum resource key values pairs that will update in a single API request. AWS has a default quota of 50 keys or a 3 MB payload, whichever is reached first. Defaults to 50.
    ResourceKeyValuePairs []KeyvaluestoreKeysExclusiveResourceKeyValuePairArgs
    A list of all resource key value pairs associated with the KeyValueStore. See resource_key_value_pair below.
    TotalSizeInBytes int
    Total size of the Key Value Store in bytes.
    keyValueStoreArn String

    Amazon Resource Name (ARN) of the Key Value Store.

    The following arguments are optional:

    maxBatchSize Integer
    Maximum resource key values pairs that will update in a single API request. AWS has a default quota of 50 keys or a 3 MB payload, whichever is reached first. Defaults to 50.
    resourceKeyValuePairs List<KeyvaluestoreKeysExclusiveResourceKeyValuePair>
    A list of all resource key value pairs associated with the KeyValueStore. See resource_key_value_pair below.
    totalSizeInBytes Integer
    Total size of the Key Value Store in bytes.
    keyValueStoreArn string

    Amazon Resource Name (ARN) of the Key Value Store.

    The following arguments are optional:

    maxBatchSize number
    Maximum resource key values pairs that will update in a single API request. AWS has a default quota of 50 keys or a 3 MB payload, whichever is reached first. Defaults to 50.
    resourceKeyValuePairs KeyvaluestoreKeysExclusiveResourceKeyValuePair[]
    A list of all resource key value pairs associated with the KeyValueStore. See resource_key_value_pair below.
    totalSizeInBytes number
    Total size of the Key Value Store in bytes.
    key_value_store_arn str

    Amazon Resource Name (ARN) of the Key Value Store.

    The following arguments are optional:

    max_batch_size int
    Maximum resource key values pairs that will update in a single API request. AWS has a default quota of 50 keys or a 3 MB payload, whichever is reached first. Defaults to 50.
    resource_key_value_pairs Sequence[KeyvaluestoreKeysExclusiveResourceKeyValuePairArgs]
    A list of all resource key value pairs associated with the KeyValueStore. See resource_key_value_pair below.
    total_size_in_bytes int
    Total size of the Key Value Store in bytes.
    keyValueStoreArn String

    Amazon Resource Name (ARN) of the Key Value Store.

    The following arguments are optional:

    maxBatchSize Number
    Maximum resource key values pairs that will update in a single API request. AWS has a default quota of 50 keys or a 3 MB payload, whichever is reached first. Defaults to 50.
    resourceKeyValuePairs List<Property Map>
    A list of all resource key value pairs associated with the KeyValueStore. See resource_key_value_pair below.
    totalSizeInBytes Number
    Total size of the Key Value Store in bytes.

    Supporting Types

    KeyvaluestoreKeysExclusiveResourceKeyValuePair, KeyvaluestoreKeysExclusiveResourceKeyValuePairArgs

    Key string
    Key to put.
    Value string
    Value to put.
    Key string
    Key to put.
    Value string
    Value to put.
    key String
    Key to put.
    value String
    Value to put.
    key string
    Key to put.
    value string
    Value to put.
    key str
    Key to put.
    value str
    Value to put.
    key String
    Key to put.
    value String
    Value to put.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v6.83.0 published on Monday, Jun 16, 2025 by Pulumi