@@ -18,6 +18,22 @@ Parameters:
18
18
Type : String
19
19
Description : Testing Keystore Table Name
20
20
Default : CiKeystoreTestTable
21
+ BasicTestJavaTableName :
22
+ Type : String
23
+ Description : Table Name for Basic Examples in Java
24
+ Default : DynamoDbEncryptionInterceptorTestTable
25
+ BasicTestDotNetTableName :
26
+ Type : String
27
+ Description : Table Name for Basic Examples in Dotnet
28
+ Default : DynamoDbEncryptionInterceptorTestTableCS
29
+ SearchTestJavaTableName :
30
+ Type : String
31
+ Description : Table Name for Search Examples in Java
32
+ Default : UnitInspectionTestTable
33
+ SearchTestDotnetTableName :
34
+ Type : String
35
+ Description : Table Name for Search Examples in Dotnet
36
+ Default : UnitInspectionTestTableCS
21
37
ProjectName :
22
38
Type : String
23
39
Description : A prefix that will be applied to any names
@@ -48,6 +64,132 @@ Resources:
48
64
WriteCapacityUnits : " 5"
49
65
TableName : !Ref TableName
50
66
67
+ BasicTestJavaTable :
68
+ Type : AWS::DynamoDB::Table
69
+ Properties :
70
+ AttributeDefinitions :
71
+ - AttributeName : " partition_key"
72
+ AttributeType : " S"
73
+ - AttributeName : " sort_key"
74
+ AttributeType : " N"
75
+ KeySchema :
76
+ - AttributeName : " partition_key"
77
+ KeyType : " HASH"
78
+ - AttributeName : " sort_key"
79
+ KeyType : " RANGE"
80
+ ProvisionedThroughput :
81
+ ReadCapacityUnits : " 5"
82
+ WriteCapacityUnits : " 5"
83
+ TableName : !Ref BasicTestJavaTableName
84
+
85
+ BasicTestDotnetTable :
86
+ Type : AWS::DynamoDB::Table
87
+ Properties :
88
+ AttributeDefinitions :
89
+ - AttributeName : " partition_key"
90
+ AttributeType : " S"
91
+ - AttributeName : " sort_key"
92
+ AttributeType : " N"
93
+ KeySchema :
94
+ - AttributeName : " partition_key"
95
+ KeyType : " HASH"
96
+ - AttributeName : " sort_key"
97
+ KeyType : " RANGE"
98
+ ProvisionedThroughput :
99
+ ReadCapacityUnits : " 5"
100
+ WriteCapacityUnits : " 5"
101
+ TableName : !Ref BasicTestDotnetTableName
102
+
103
+ SearchTestJavaTable :
104
+ Type : AWS::DynamoDB::Table
105
+ Properties :
106
+ AttributeDefinitions :
107
+ - AttributeName : " aws_dbe_b_inspector_id_last4"
108
+ AttributeType : " S"
109
+ - AttributeName : " aws_dbe_b_last4UnitCompound"
110
+ AttributeType : " S"
111
+ - AttributeName : " aws_dbe_b_unit"
112
+ AttributeType : " S"
113
+ - AttributeName : " inspection_date"
114
+ AttributeType : " S"
115
+ - AttributeName : " work_id"
116
+ AttributeType : " S"
117
+ KeySchema :
118
+ - AttributeName : " work_id"
119
+ KeyType : " HASH"
120
+ - AttributeName : " inspection_date"
121
+ KeyType : " RANGE"
122
+ ProvisionedThroughput :
123
+ ReadCapacityUnits : " 5"
124
+ WriteCapacityUnits : " 5"
125
+ TableName : !Ref SearchTestJavaTableName
126
+ GlobalSecondaryIndexes :
127
+ - IndexName : " last4-unit-index"
128
+ KeySchema :
129
+ - AttributeName : " aws_dbe_b_inspector_id_last4"
130
+ KeyType : " HASH"
131
+ - AttributeName : " aws_dbe_b_unit"
132
+ KeyType : " RANGE"
133
+ Projection :
134
+ ProjectionType : ALL
135
+ ProvisionedThroughput :
136
+ ReadCapacityUnits : " 5"
137
+ WriteCapacityUnits : " 5"
138
+ - IndexName : " last4UnitCompound-index"
139
+ KeySchema :
140
+ - AttributeName : " aws_dbe_b_last4UnitCompound"
141
+ KeyType : " HASH"
142
+ Projection :
143
+ ProjectionType : ALL
144
+ ProvisionedThroughput :
145
+ ReadCapacityUnits : " 5"
146
+ WriteCapacityUnits : " 5"
147
+
148
+ SearchTestDotnetTable :
149
+ Type : AWS::DynamoDB::Table
150
+ Properties :
151
+ AttributeDefinitions :
152
+ - AttributeName : " aws_dbe_b_inspector_id_last4"
153
+ AttributeType : " S"
154
+ - AttributeName : " aws_dbe_b_last4UnitCompound"
155
+ AttributeType : " S"
156
+ - AttributeName : " aws_dbe_b_unit"
157
+ AttributeType : " S"
158
+ - AttributeName : " inspection_date"
159
+ AttributeType : " S"
160
+ - AttributeName : " work_id"
161
+ AttributeType : " S"
162
+ KeySchema :
163
+ - AttributeName : " work_id"
164
+ KeyType : " HASH"
165
+ - AttributeName : " inspection_date"
166
+ KeyType : " RANGE"
167
+ ProvisionedThroughput :
168
+ ReadCapacityUnits : " 5"
169
+ WriteCapacityUnits : " 5"
170
+ TableName : !Ref SearchTestDotnetTableName
171
+ GlobalSecondaryIndexes :
172
+ - IndexName : " last4-unit-index"
173
+ KeySchema :
174
+ - AttributeName : " aws_dbe_b_inspector_id_last4"
175
+ KeyType : " HASH"
176
+ - AttributeName : " aws_dbe_b_unit"
177
+ KeyType : " RANGE"
178
+ Projection :
179
+ ProjectionType : ALL
180
+ ProvisionedThroughput :
181
+ ReadCapacityUnits : " 5"
182
+ WriteCapacityUnits : " 5"
183
+ - IndexName : " last4UnitCompound-index"
184
+ KeySchema :
185
+ - AttributeName : " aws_dbe_b_last4UnitCompound"
186
+ KeyType : " HASH"
187
+ Projection :
188
+ ProjectionType : ALL
189
+ ProvisionedThroughput :
190
+ ReadCapacityUnits : " 5"
191
+ WriteCapacityUnits : " 5"
192
+
51
193
TestTableWithSimpleBeaconIndex :
52
194
Type : AWS::DynamoDB::Table
53
195
Properties :
@@ -241,6 +383,12 @@ Resources:
241
383
- !Sub " arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${TableWithComplexBeaconIndexName}/index/*"
242
384
- !Sub " arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${KeystoreTableName}"
243
385
- !Sub " arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${KeystoreTableName}/index/*"
386
+ - !Sub " arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${BasicTestJavaTableName}"
387
+ - !Sub " arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${BasicTestDotnetTableName}"
388
+ - !Sub " arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${SearchTestJavaTableName}"
389
+ - !Sub " arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${SearchTestJavaTableName}/index/*"
390
+ - !Sub " arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${SearchTestDotnetTableName}"
391
+ - !Sub " arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${SearchTestDotnetTableName}/index/*"
244
392
245
393
KMSUsage :
246
394
Type : " AWS::IAM::ManagedPolicy"
0 commit comments