Interface BucketPolicyProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
BucketPolicyProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:24:08.809Z") @Stability(Stable) public interface BucketPolicyProps extends software.amazon.jsii.JsiiSerializable
Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.*;
 import software.amazon.awscdk.services.s3.*;
 Bucket bucket;
 BucketPolicyProps bucketPolicyProps = BucketPolicyProps.builder()
         .bucket(bucket)
         // the properties below are optional
         .removalPolicy(RemovalPolicy.DESTROY)
         .build();
 
  • Method Details