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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forS3OriginAccessControlProps
static final class
An implementation forS3OriginAccessControlProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.cloudfront.OriginAccessControlBaseProps
getDescription, getOriginAccessControlName, getSigning
-
Method Details
-
builder
- Returns:
- a
S3OriginAccessControlProps.Builder
ofS3OriginAccessControlProps
-