@Stability(value=Stable) @Internal public static final class CfnStreamingDistribution.S3OriginProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnStreamingDistribution.S3OriginProperty
CfnStreamingDistribution.S3OriginPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnStreamingDistribution.S3OriginProperty.Builder, CfnStreamingDistribution.S3OriginProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnStreamingDistribution.S3OriginProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnStreamingDistribution.LoggingProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getDomainName()
The DNS name of the Amazon S3 origin.
|
String |
getOriginAccessIdentity()
The CloudFront origin access identity to associate with the distribution.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnStreamingDistribution.S3OriginProperty.Builder builder)
CfnStreamingDistribution.LoggingProperty.Builder.public final String getDomainName()
CfnStreamingDistribution.S3OriginPropertygetDomainName in interface CfnStreamingDistribution.S3OriginPropertypublic final String getOriginAccessIdentity()
CfnStreamingDistribution.S3OriginPropertyUse an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront.
If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element.
To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element.
To replace the origin access identity, update the distribution configuration and specify the new origin access identity.
For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon CloudFront Developer Guide .
getOriginAccessIdentity in interface CfnStreamingDistribution.S3OriginProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.