@altostra/core
Version:
Core library for shared types and logic
13 lines (12 loc) • 488 B
TypeScript
import type { AwsResourceCommon } from "../common";
import type { CloudFormationString } from "../IntrinsicFunctions";
import type { IamPolicyDocument } from "../PolicyDocument";
export declare type BucketPolicyType = 'AWS::S3::BucketPolicy';
export interface BucketPolicy extends AwsResourceCommon {
Type: BucketPolicyType;
Properties: BucketPolicyProperties;
}
export interface BucketPolicyProperties {
Bucket: CloudFormationString;
PolicyDocument: IamPolicyDocument;
}