Class KeyValueStore
A CloudFront Key Value Store.
Inherited Members
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class KeyValueStore : Resource, IKeyValueStore, IResource
Syntax (vb)
Public Class KeyValueStore
Inherits Resource
Implements IKeyValueStore, IResource
Remarks
Resource: AWS::CloudFront::KeyValueStore
ExampleMetadata: infused
Examples
var store = new KeyValueStore(this, "KeyValueStore");
new Function(this, "Function", new FunctionProps {
Code = FunctionCode.FromInline("function handler(event) { return event.request }"),
// Note that JS_2_0 must be used for Key Value Store support
Runtime = FunctionRuntime.JS_2_0,
KeyValueStore = store
});
Synopsis
Constructors
KeyValueStore(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
KeyValueStore(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
KeyValueStore(Construct, String, IKeyValueStoreProps) |
Properties
KeyValueStoreArn | The ARN of the Key Value Store. |
KeyValueStoreId | The Unique ID of the Key Value Store. |
KeyValueStoreStatus | The status of the Key Value Store. |
Methods
FromKeyValueStoreArn(Construct, String, String) | Import a Key Value Store using its ARN. |
Constructors
KeyValueStore(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected KeyValueStore(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
KeyValueStore(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected KeyValueStore(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
KeyValueStore(Construct, String, IKeyValueStoreProps)
public KeyValueStore(Construct scope, string id, IKeyValueStoreProps props = null)
Parameters
- scope Constructs.Construct
- id System.String
- props IKeyValueStoreProps
Properties
KeyValueStoreArn
The ARN of the Key Value Store.
public virtual string KeyValueStoreArn { get; }
Property Value
System.String
KeyValueStoreId
The Unique ID of the Key Value Store.
public virtual string KeyValueStoreId { get; }
Property Value
System.String
KeyValueStoreStatus
The status of the Key Value Store.
public virtual string KeyValueStoreStatus { get; }
Property Value
System.String
Methods
FromKeyValueStoreArn(Construct, String, String)
Import a Key Value Store using its ARN.
public static IKeyValueStore FromKeyValueStoreArn(Construct scope, string id, string keyValueStoreArn)
Parameters
- scope Constructs.Construct
- id System.String
- keyValueStoreArn System.String
Returns