Interface CfnDistribution.LegacyS3OriginProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDistribution.LegacyS3OriginProperty.Jsii$Proxy
Enclosing class:
CfnDistribution

@Stability(Stable) public static interface CfnDistribution.LegacyS3OriginProperty extends software.amazon.jsii.JsiiSerializable
The origin as an Amazon S3 bucket.

This property is legacy. We recommend that you use Origin instead.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.cloudfront.*;
 LegacyS3OriginProperty legacyS3OriginProperty = LegacyS3OriginProperty.builder()
         .dnsName("dnsName")
         // the properties below are optional
         .originAccessIdentity("originAccessIdentity")
         .build();
 

See Also: