Interface S3OriginProps

All Superinterfaces:, OriginOptions, OriginProps
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:46.249Z") @Stability(Stable) public interface S3OriginProps extends, OriginProps
Properties to use to customize an S3 Origin.


 Bucket myBucket = new Bucket(this, "myBucket");
 Distribution.Builder.create(this, "myDist")
                         "Foo", "bar"))
  • Method Details

    • getOriginAccessIdentity

      @Stability(Stable) @Nullable default IOriginAccessIdentity getOriginAccessIdentity()
      An optional Origin Access Identity of the origin identity cloudfront will use when calling your s3 bucket.

      Default: - An Origin Access Identity will be created.

    • builder

      @Stability(Stable) static S3OriginProps.Builder builder()
      a S3OriginProps.Builder of S3OriginProps