You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@javadoc("The logical table name for this table. This is the name that is cryptographically bound with your data. This can be the same as the actual DynamoDB table name. It's purpose is to be distinct from the DynamoDB table name so that the data may still be authenticated if being read from different (but logically similar) tables, such as a backup table.")
//# This Sort Key Name MUST be a valid DynamoDB Key Schema Attribute Name
77
+
@javadoc("If this table contains a sort key, the name of the sort key on the table this item will be written to or was read from.")
73
78
sortKeyName: KeySchemaAttributeName,
74
79
75
80
@required
81
+
@javadoc("A map that describes what attributes should be encrypted and/or signed on encrypt. This map must contain all attributes that might be encountered during encryption.")
//# This algorithm suite MUST be a [Structured Encryption Library Supported algorithm suite](../../submodules/MaterialProviders/aws-encryption-sdk-specification/framework/algorithm-suites.md).
99
+
@javadoc("An ID for the algorithm suite to use during encryption and decryption.")
91
100
algorithmSuiteId: DBEAlgorithmSuiteId,
92
101
93
102
// Requires a Keyring XOR a CMM
103
+
@javadoc("The Keyring that should be used to wrap and unwrap data keys. If specified a Default Cryptographic Materials Manager with this Keyring is used to obtain materials for encryption and decryption. Either a Keyring or a Cryptographic Materials Manager must be specified.")
94
104
keyring: KeyringReference,
105
+
@javadoc("The Cryptographic Materials Manager that is used to obtain materials for encryption and decryption. Either a Keyring or a Cryptographic Materials Manager must be specified.")
95
106
cmm: CryptographicMaterialsManagerReference,
96
107
108
+
@javadoc("A configuration that override encryption and/or decryption to instead perform legacy encryption and/or decryption. Used as part of migration from version 2.x to version 3.x.")
97
109
legacyOverride: LegacyOverride,
98
110
111
+
@javadoc("A configuration that override encryption and/or decryption to instead passthrough and write and/or read plaintext. Used to update plaintext tables to fully use client-side encryption.")
Copy file name to clipboardExpand all lines: DynamoDbEncryption/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk/dynamodb/DynamoDbEncryption.java
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,8 @@ public class DynamoDbEncryption {
Result<DynamoDbEncryptionClient, Error> result = __default.DynamoDbEncryption(dafnyValue);
24
24
if (result.is_Failure()) {
25
25
throwToNative.Error(result.dtor_error());
@@ -35,9 +35,15 @@ public static Builder builder() {
35
35
returnnewBuilderImpl();
36
36
}
37
37
38
+
/**
39
+
* Create a Branch Key Supplier for use with the Hierarchical Keyring that decides what Branch Key to use based on the primary key of the DynamoDB item being read or written.
40
+
*
41
+
* @param input Inputs for creating a Branch Key Supplier from a DynamoDB Key Branch Key Id Supplier
42
+
* @return Outputs for creating a Branch Key Supplier from a DynamoDB Key Branch Key Id Supplier
Result<software.amazon.cryptography.dbencryptionsdk.dynamodb.internaldafny.types.CreateDynamoDbEncryptionBranchKeyIdSupplierOutput, Error> result = this._impl.CreateDynamoDbEncryptionBranchKeyIdSupplier(dafnyValue);
Copy file name to clipboardExpand all lines: DynamoDbEncryption/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk/dynamodb/DynamoDbKeyBranchKeyIdSupplier.java
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -39,9 +39,15 @@ public software.amazon.cryptography.dbencryptionsdk.dynamodb.internaldafny.types
39
39
returnthis._impl;
40
40
}
41
41
42
+
/**
43
+
* Get the Branch Key that should be used for wrapping and unwrapping data keys based on the primary key of the item being read or written.
44
+
*
45
+
* @param input Inputs for getting the Branch Key that should be used for wrapping and unwrapping data keys.
46
+
* @return Outputs for getting the Branch Key that should be used for wrapping and unwrapping data keys.
Result<software.amazon.cryptography.dbencryptionsdk.dynamodb.internaldafny.types.GetBranchKeyIdFromDdbKeyOutput, Error> result = this._impl.GetBranchKeyIdFromDdbKey(dafnyValue);
Copy file name to clipboardExpand all lines: DynamoDbEncryption/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk/dynamodb/IDynamoDbKeyBranchKeyIdSupplier.java
Copy file name to clipboardExpand all lines: DynamoDbEncryption/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk/dynamodb/itemencryptor/DynamoDbItemEncryptor.java
+24-6Lines changed: 24 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,8 @@ public class DynamoDbItemEncryptor {
Result<software.amazon.cryptography.dbencryptionsdk.dynamodb.itemencryptor.internaldafny.types.DecryptItemOutput, Error> result = this._impl.DecryptItem(dafnyValue);
Result<software.amazon.cryptography.dbencryptionsdk.dynamodb.itemencryptor.internaldafny.types.EncryptItemOutput, Error> result = this._impl.EncryptItem(dafnyValue);
Copy file name to clipboardExpand all lines: DynamoDbEncryption/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/dbencryptionsdk/dynamodb/itemencryptor/model/DecryptItemInput.java
0 commit comments