Class CfnLedger
The AWS::QLDB::Ledger
resource specifies a new Amazon Quantum Ledger Database (Amazon QLDB) ledger in your AWS account .
Inherited Members
Namespace: Amazon.CDK.AWS.QLDB
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLedger : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnLedger
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
Amazon QLDB is a fully managed ledger database that provides a transparent, immutable, and cryptographically verifiable transaction log owned by a central trusted authority. You can use QLDB to track all application data changes, and maintain a complete and verifiable history of changes over time.
For more information, see CreateLedger in the Amazon QLDB API Reference .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qldb-ledger.html
CloudformationResource: AWS::QLDB::Ledger
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.QLDB;
var cfnLedger = new CfnLedger(this, "MyCfnLedger", new CfnLedgerProps {
PermissionsMode = "permissionsMode",
// the properties below are optional
DeletionProtection = false,
KmsKey = "kmsKey",
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnLedger(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnLedger(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnLedger(Construct, String, ICfnLedgerProps) |
Properties
AttrId | |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
DeletionProtection | Specifies whether the ledger is protected from being deleted by any user. |
KmsKey | The key in AWS Key Management Service ( AWS KMS ) to use for encryption of data at rest in the ledger. |
Name | The name of the ledger that you want to create. |
PermissionsMode | The permissions mode to assign to the ledger that you want to create. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | An array of key-value pairs to apply to this resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnLedger(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnLedger(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnLedger(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnLedger(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnLedger(Construct, String, ICfnLedgerProps)
public CfnLedger(Construct scope, string id, ICfnLedgerProps 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 ICfnLedgerProps
Resource properties.
Properties
AttrId
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
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
DeletionProtection
Specifies whether the ledger is protected from being deleted by any user.
public virtual object DeletionProtection { get; set; }
Property Value
System.Object
KmsKey
The key in AWS Key Management Service ( AWS KMS ) to use for encryption of data at rest in the ledger.
public virtual string KmsKey { get; set; }
Property Value
System.String
Name
The name of the ledger that you want to create.
public virtual string Name { get; set; }
Property Value
System.String
PermissionsMode
The permissions mode to assign to the ledger that you want to create.
public virtual string PermissionsMode { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
An array of key-value pairs to apply to this resource.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
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>