import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class ResourceValue { Value ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class RemediationParameterValue { ResourceValue ? : ResourceValue ; StaticValue ? : StaticValue ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class SsmControls { ErrorPercentage ? : Value < number > ; ConcurrentExecutionRatePercentage ? : Value < number > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class StaticValue { Values ? : List < Value < string > > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class ExecutionControls { SsmControls ? : SsmControls ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface RemediationConfigurationProperties { TargetVersion ? : Value < string > ; ExecutionControls ? : ExecutionControls ; Parameters ? : { [ key ] : any ; } ; TargetType : Value < string > ; ConfigRuleName : Value < string > ; ResourceType ? : Value < string > ; RetryAttemptSeconds ? : Value < number > ; MaximumAutomaticAttempts ? : Value < number > ; TargetId : Value < string > ; Automatic ? : Value < boolean > ; } export default class RemediationConfiguration extends ResourceBase < RemediationConfigurationProperties > { static ResourceValue = ResourceValue ; static RemediationParameterValue = RemediationParameterValue ; static SsmControls = SsmControls ; static StaticValue = StaticValue ; static ExecutionControls = ExecutionControls ; constructor ( properties ) { super ( 'AWS::Config::RemediationConfiguration' , properties ) ; } }