Class KeyValueStore
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.cloudfront.KeyValueStore
- All Implemented Interfaces:
IResource
,IKeyValueStore
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:11.610Z")
@Stability(Stable)
public class KeyValueStore
extends Resource
implements IKeyValueStore
A CloudFront Key Value Store.
Example:
KeyValueStore store = new KeyValueStore(this, "KeyValueStore"); Function.Builder.create(this, "Function") .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) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.IKeyValueStore
IKeyValueStore.Jsii$Default, IKeyValueStore.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
KeyValueStore
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
KeyValueStore
(software.amazon.jsii.JsiiObjectRef objRef) KeyValueStore
(software.constructs.Construct scope, String id) KeyValueStore
(software.constructs.Construct scope, String id, KeyValueStoreProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IKeyValueStore
fromKeyValueStoreArn
(software.constructs.Construct scope, String id, String keyValueStoreArn) Import a Key Value Store using its ARN.The ARN of the Key Value Store.The Unique ID of the Key Value Store.The status of the Key Value Store.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource
Methods inherited from class software.constructs.Construct
getNode, isConstruct, toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
KeyValueStore
protected KeyValueStore(software.amazon.jsii.JsiiObjectRef objRef) -
KeyValueStore
protected KeyValueStore(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
KeyValueStore
@Stability(Stable) public KeyValueStore(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable KeyValueStoreProps props) - Parameters:
scope
- This parameter is required.id
- This parameter is required.props
-
-
KeyValueStore
@Stability(Stable) public KeyValueStore(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.
-
-
Method Details
-
fromKeyValueStoreArn
@Stability(Stable) @NotNull public static IKeyValueStore fromKeyValueStoreArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String keyValueStoreArn) Import a Key Value Store using its ARN.- Parameters:
scope
- This parameter is required.id
- This parameter is required.keyValueStoreArn
- This parameter is required.
-
getKeyValueStoreArn
The ARN of the Key Value Store.- Specified by:
getKeyValueStoreArn
in interfaceIKeyValueStore
-
getKeyValueStoreId
The Unique ID of the Key Value Store.- Specified by:
getKeyValueStoreId
in interfaceIKeyValueStore
-
getKeyValueStoreStatus
The status of the Key Value Store.- Specified by:
getKeyValueStoreStatus
in interfaceIKeyValueStore
-