import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class RotationRules { AutomaticallyAfterDays ? : Value < number > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class HostedRotationLambda { RotationType ! : Value < string > ; RotationLambdaName ? : Value < string > ; KmsKeyArn ? : Value < string > ; MasterSecretArn ? : Value < string > ; VpcSecurityGroupIds ? : Value < string > ; MasterSecretKmsKeyArn ? : Value < string > ; VpcSubnetIds ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface RotationScheduleProperties { SecretId : Value < string > ; HostedRotationLambda ? : HostedRotationLambda ; RotationLambdaARN ? : Value < string > ; RotationRules ? : RotationRules ; } export default class RotationSchedule extends ResourceBase < RotationScheduleProperties > { static RotationRules = RotationRules ; static HostedRotationLambda = HostedRotationLambda ; constructor ( properties ) { super ( 'AWS::SecretsManager::RotationSchedule' , properties ) ; } }