import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class ObjectLambdaConfiguration { SupportingAccessPoint ! : Value < string > ; AllowedFeatures ? : List < Value < string > > ; CloudWatchMetricsEnabled ? : Value < boolean > ; TransformationConfigurations ! : List < TransformationConfiguration > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class TransformationConfiguration { Actions ? : List < Value < string > > ; ContentTransformation ? : { [ key ] : any ; } ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface AccessPointProperties { Name : Value < string > ; ObjectLambdaConfiguration ? : ObjectLambdaConfiguration ; } export default class AccessPoint extends ResourceBase < AccessPointProperties > { static ObjectLambdaConfiguration = ObjectLambdaConfiguration ; static TransformationConfiguration = TransformationConfiguration ; constructor ( properties ) { super ( 'AWS::S3ObjectLambda::AccessPoint' , properties ) ; } }