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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDistribution.LegacyS3OriginProperty
static final class
An implementation forCfnDistribution.LegacyS3OriginProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDnsName
The domain name assigned to your CloudFront distribution.- See Also:
-
getOriginAccessIdentity
The CloudFront origin access identity to associate with the distribution.Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 through CloudFront .
This property is legacy. We recommend that you use OriginAccessControl instead.
Default: - ""
- See Also:
-
builder
-