CfnBucketPolicyProps

class aws_cdk.aws_s3.CfnBucketPolicyProps(*, bucket, policy_document)

Bases: object

Properties for defining a AWS::S3::BucketPolicy.

Parameters
  • bucket (str) – AWS::S3::BucketPolicy.Bucket.

  • policy_document (Any) – AWS::S3::BucketPolicy.PolicyDocument.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-policy.html

Attributes

bucket

AWS::S3::BucketPolicy.Bucket.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-policy.html#aws-properties-s3-policy-bucket

Return type

str

policy_document

AWS::S3::BucketPolicy.PolicyDocument.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-policy.html#aws-properties-s3-policy-policydocument

Return type

Any