import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class DocumentRequires { Name ? : Value < string > ; Version ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class AttachmentsSource { Key ? : Value < string > ; Values ? : List < Value < string > > ; Name ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface DocumentProperties { Content : { [ key ] : any ; } ; Attachments ? : List < AttachmentsSource > ; Name ? : Value < string > ; VersionName ? : Value < string > ; DocumentType ? : Value < string > ; DocumentFormat ? : Value < string > ; TargetType ? : Value < string > ; Tags ? : List < ResourceTag > ; Requires ? : List < DocumentRequires > ; } export default class Document extends ResourceBase < DocumentProperties > { static DocumentRequires = DocumentRequires ; static AttachmentsSource = AttachmentsSource ; constructor ( properties ) { super ( 'AWS::SSM::Document' , properties ) ; } }