public static final class CfnStreamingDistribution.S3OriginProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnStreamingDistribution.S3OriginProperty
CfnStreamingDistribution.S3OriginProperty
CfnStreamingDistribution.S3OriginProperty.Builder, CfnStreamingDistribution.S3OriginProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
java.lang.String |
getDomainName()
The DNS name of the Amazon S3 origin.
|
java.lang.String |
getOriginAccessIdentity()
The CloudFront origin access identity to associate with the distribution.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getDomainName()
CfnStreamingDistribution.S3OriginProperty
getDomainName
in interface CfnStreamingDistribution.S3OriginProperty
public final java.lang.String getOriginAccessIdentity()
CfnStreamingDistribution.S3OriginProperty
Use 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
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()