import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class PublicAccessBlockConfiguration { BlockPublicAcls ? : Value < boolean > ; IgnorePublicAcls ? : Value < boolean > ; BlockPublicPolicy ? : Value < boolean > ; RestrictPublicBuckets ? : Value < boolean > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class VpcConfiguration { VpcId ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface AccessPointProperties { Name ? : Value < string > ; Bucket : Value < string > ; VpcConfiguration ? : VpcConfiguration ; PublicAccessBlockConfiguration ? : PublicAccessBlockConfiguration ; Policy ? : { [ key ] : any ; } ; } export default class AccessPoint extends ResourceBase < AccessPointProperties > { static PublicAccessBlockConfiguration = PublicAccessBlockConfiguration ; static VpcConfiguration = VpcConfiguration ; constructor ( properties ) { super ( 'AWS::S3::AccessPoint' , properties ) ; } }