Class CfnKeyValueStore
The key value store.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnKeyValueStore : CfnResource, IInspectable
Syntax (vb)
Public Class CfnKeyValueStore
Inherits CfnResource
Implements IInspectable
Remarks
Use this to separate data from function code, allowing you to update data without having to publish a new version of a function. The key value store holds keys and their corresponding values.
CloudformationResource: AWS::CloudFront::KeyValueStore
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudFront;
var cfnKeyValueStore = new CfnKeyValueStore(this, "MyCfnKeyValueStore", new CfnKeyValueStoreProps {
Name = "name",
// the properties below are optional
Comment = "comment",
ImportSource = new ImportSourceProperty {
SourceArn = "sourceArn",
SourceType = "sourceType"
}
});
Synopsis
Constructors
CfnKeyValueStore(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnKeyValueStore(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnKeyValueStore(Construct, String, ICfnKeyValueStoreProps) |
Properties
AttrArn | The Amazon Resource Name (ARN) of the key value store. |
AttrId | The unique Id for the key value store. |
AttrStatus | The current status of the key value store. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Comment | A comment for the key value store. |
ImportSource | The import source for the key value store. |
Name | The name of the key value store. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnKeyValueStore(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnKeyValueStore(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnKeyValueStore(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnKeyValueStore(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnKeyValueStore(Construct, String, ICfnKeyValueStoreProps)
public CfnKeyValueStore(Construct scope, string id, ICfnKeyValueStoreProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnKeyValueStoreProps
Resource properties.
Properties
AttrArn
The Amazon Resource Name (ARN) of the key value store.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrId
The unique Id for the key value store.
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
AttrStatus
The current status of the key value store.
public virtual string AttrStatus { get; }
Property Value
System.String
Remarks
For more information, see Key value store statuses in the .
CloudformationAttribute: Status
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Comment
A comment for the key value store.
public virtual string Comment { get; set; }
Property Value
System.String
ImportSource
The import source for the key value store.
public virtual object ImportSource { get; set; }
Property Value
System.Object
Name
The name of the key value store.
public virtual string Name { get; set; }
Property Value
System.String
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>