import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class Delegation { LastUpdated ? : Value < number > ; ControlSetId ? : Value < string > ; CreationTime ? : Value < number > ; CreatedBy ? : Value < string > ; RoleArn ? : Value < string > ; AssessmentName ? : Value < string > ; Comment ? : Value < string > ; Id ? : Value < string > ; RoleType ? : Value < string > ; AssessmentId ? : Value < string > ; Status ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class AWSAccount { Id ? : Value < string > ; EmailAddress ? : Value < string > ; Name ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class Role { RoleArn ? : Value < string > ; RoleType ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class AssessmentReportsDestination { Destination ? : Value < string > ; DestinationType ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class AWSService { ServiceName ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class Scope { AwsAccounts ? : List < AWSAccount > ; AwsServices ? : List < AWSService > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface AssessmentProperties { FrameworkId ? : Value < string > ; AwsAccount ? : AWSAccount ; Tags ? : List < ResourceTag > ; Roles ? : List < Role > ; Scope ? : Scope ; AssessmentReportsDestination ? : AssessmentReportsDestination ; Status ? : Value < string > ; Name ? : Value < string > ; Description ? : Value < string > ; } export default class Assessment extends ResourceBase < AssessmentProperties > { static Delegation = Delegation ; static AWSAccount = AWSAccount ; static Role = Role ; static AssessmentReportsDestination = AssessmentReportsDestination ; static AWSService = AWSService ; static Scope = Scope ; constructor ( properties ? ) { super ( 'AWS::AuditManager::Assessment' , properties || { } ) ; } }