import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class StreamEncryption { EncryptionType ! : Value < string > ; KeyId ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface StreamProperties { Name ? : Value < string > ; RetentionPeriodHours ? : Value < number > ; ShardCount : Value < number > ; StreamEncryption ? : StreamEncryption ; Tags ? : List < ResourceTag > ; } export default class Stream extends ResourceBase < StreamProperties > { static StreamEncryption = StreamEncryption ; constructor ( properties ) { super ( 'AWS::Kinesis::Stream' , properties ) ; } }