import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class ConditionResourceType { ConditionKey ! : Value < string > ; ConditionValue ! : Value < string > ; ConditionType ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class BackupSelectionResourceType { IamRoleArn ! : Value < string > ; ListOfTags ? : List < ConditionResourceType > ; Resources ? : List < Value < string > > ; SelectionName ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface BackupSelectionProperties { BackupPlanId : Value < string > ; BackupSelection : BackupSelectionResourceType ; } export default class BackupSelection extends ResourceBase < BackupSelectionProperties > { static ConditionResourceType = ConditionResourceType ; static BackupSelectionResourceType = BackupSelectionResourceType ; constructor ( properties ) { super ( 'AWS::Backup::BackupSelection' , properties ) ; } }