github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/pkg/providers/aws/kinesis/kinesis.go (about)

     1  package kinesis
     2  
     3  import (
     4  	defsecTypes "github.com/khulnasoft-lab/defsec/pkg/types"
     5  )
     6  
     7  type Kinesis struct {
     8  	Streams []Stream
     9  }
    10  
    11  type Stream struct {
    12  	Metadata   defsecTypes.Metadata
    13  	Encryption Encryption
    14  }
    15  
    16  const (
    17  	EncryptionTypeKMS = "KMS"
    18  )
    19  
    20  type Encryption struct {
    21  	Metadata defsecTypes.Metadata
    22  	Type     defsecTypes.StringValue
    23  	KMSKeyID defsecTypes.StringValue
    24  }