aws.cloudfront.KeyvaluestoreKeysExclusive
Explore with Pulumi AI
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:
- Key
Value stringStore Arn Amazon Resource Name (ARN) of the Key Value Store.
The following arguments are optional:
- Max
Batch intSize - 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 List<KeyvaluestoreValue Pairs Keys Exclusive Resource Key Value Pair> - A list of all resource key value pairs associated with the KeyValueStore.
See
resource_key_value_pair
below.
- Key
Value stringStore Arn Amazon Resource Name (ARN) of the Key Value Store.
The following arguments are optional:
- Max
Batch intSize - 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 []KeyvaluestoreValue Pairs Keys Exclusive Resource Key Value Pair Args - A list of all resource key value pairs associated with the KeyValueStore.
See
resource_key_value_pair
below.
- key
Value StringStore Arn Amazon Resource Name (ARN) of the Key Value Store.
The following arguments are optional:
- max
Batch IntegerSize - 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 List<KeyvaluestoreValue Pairs Keys Exclusive Resource Key Value Pair> - A list of all resource key value pairs associated with the KeyValueStore.
See
resource_key_value_pair
below.
- key
Value stringStore Arn Amazon Resource Name (ARN) of the Key Value Store.
The following arguments are optional:
- max
Batch numberSize - 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 KeyvaluestoreValue Pairs Keys Exclusive Resource Key Value Pair[] - A list of all resource key value pairs associated with the KeyValueStore.
See
resource_key_value_pair
below.
- key_
value_ strstore_ arn Amazon Resource Name (ARN) of the Key Value Store.
The following arguments are optional:
- max_
batch_ intsize - 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_ Sequence[Keyvaluestorevalue_ pairs Keys Exclusive Resource Key Value Pair Args] - A list of all resource key value pairs associated with the KeyValueStore.
See
resource_key_value_pair
below.
- key
Value StringStore Arn Amazon Resource Name (ARN) of the Key Value Store.
The following arguments are optional:
- max
Batch NumberSize - 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 List<Property Map>Value Pairs - 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.
- Total
Size intIn Bytes - Total size of the Key Value Store in bytes.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Size intIn Bytes - Total size of the Key Value Store in bytes.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Size IntegerIn Bytes - Total size of the Key Value Store in bytes.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Size numberIn Bytes - Total size of the Key Value Store in bytes.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
size_ intin_ bytes - Total size of the Key Value Store in bytes.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Size NumberIn Bytes - 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.
- Key
Value stringStore Arn Amazon Resource Name (ARN) of the Key Value Store.
The following arguments are optional:
- Max
Batch intSize - 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 List<KeyvaluestoreValue Pairs Keys Exclusive Resource Key Value Pair> - A list of all resource key value pairs associated with the KeyValueStore.
See
resource_key_value_pair
below. - Total
Size intIn Bytes - Total size of the Key Value Store in bytes.
- Key
Value stringStore Arn Amazon Resource Name (ARN) of the Key Value Store.
The following arguments are optional:
- Max
Batch intSize - 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 []KeyvaluestoreValue Pairs Keys Exclusive Resource Key Value Pair Args - A list of all resource key value pairs associated with the KeyValueStore.
See
resource_key_value_pair
below. - Total
Size intIn Bytes - Total size of the Key Value Store in bytes.
- key
Value StringStore Arn Amazon Resource Name (ARN) of the Key Value Store.
The following arguments are optional:
- max
Batch IntegerSize - 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 List<KeyvaluestoreValue Pairs Keys Exclusive Resource Key Value Pair> - A list of all resource key value pairs associated with the KeyValueStore.
See
resource_key_value_pair
below. - total
Size IntegerIn Bytes - Total size of the Key Value Store in bytes.
- key
Value stringStore Arn Amazon Resource Name (ARN) of the Key Value Store.
The following arguments are optional:
- max
Batch numberSize - 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 KeyvaluestoreValue Pairs Keys Exclusive Resource Key Value Pair[] - A list of all resource key value pairs associated with the KeyValueStore.
See
resource_key_value_pair
below. - total
Size numberIn Bytes - Total size of the Key Value Store in bytes.
- key_
value_ strstore_ arn Amazon Resource Name (ARN) of the Key Value Store.
The following arguments are optional:
- max_
batch_ intsize - 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_ Sequence[Keyvaluestorevalue_ pairs Keys Exclusive Resource Key Value Pair Args] - A list of all resource key value pairs associated with the KeyValueStore.
See
resource_key_value_pair
below. - total_
size_ intin_ bytes - Total size of the Key Value Store in bytes.
- key
Value StringStore Arn Amazon Resource Name (ARN) of the Key Value Store.
The following arguments are optional:
- max
Batch NumberSize - 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 List<Property Map>Value Pairs - A list of all resource key value pairs associated with the KeyValueStore.
See
resource_key_value_pair
below. - total
Size NumberIn Bytes - Total size of the Key Value Store in bytes.
Supporting Types
KeyvaluestoreKeysExclusiveResourceKeyValuePair, KeyvaluestoreKeysExclusiveResourceKeyValuePairArgs
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.