github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/pkg/providers/aws/dynamodb/dynamodb.go (about) 1 package dynamodb 2 3 import ( 4 defsecTypes "github.com/khulnasoft-lab/defsec/pkg/types" 5 ) 6 7 type DynamoDB struct { 8 DAXClusters []DAXCluster 9 Tables []Table 10 } 11 12 type DAXCluster struct { 13 Metadata defsecTypes.Metadata 14 ServerSideEncryption ServerSideEncryption 15 PointInTimeRecovery defsecTypes.BoolValue 16 } 17 18 type Table struct { 19 Metadata defsecTypes.Metadata 20 ServerSideEncryption ServerSideEncryption 21 PointInTimeRecovery defsecTypes.BoolValue 22 } 23 24 type ServerSideEncryption struct { 25 Metadata defsecTypes.Metadata 26 Enabled defsecTypes.BoolValue 27 KMSKeyID defsecTypes.StringValue 28 } 29 30 const DefaultKMSKeyID = "alias/aws/dynamodb"