Interface S3OriginAccessControlProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, OriginAccessControlBaseProps
All Known Implementing Classes:
S3OriginAccessControlProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-13T21:17:30.176Z") @Stability(Stable) public interface S3OriginAccessControlProps extends software.amazon.jsii.JsiiSerializable, OriginAccessControlBaseProps
Properties for creating a S3 Origin Access Control resource.

Example:

 Bucket myBucket = new Bucket(this, "myBucket");
 S3OriginAccessControl oac = S3OriginAccessControl.Builder.create(this, "MyOAC")
         .signing(Signing.SIGV4_NO_OVERRIDE)
         .build();
 IOrigin s3Origin = S3BucketOrigin.withOriginAccessControl(myBucket, S3BucketOriginWithOACProps.builder()
         .originAccessControl(oac)
         .build());
 Distribution.Builder.create(this, "myDist")
         .defaultBehavior(BehaviorOptions.builder()
                 .origin(s3Origin)
                 .build())
         .build();