@Stability(value=Stable) @Internal public static final class CfnStreamingDistribution.LoggingProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnStreamingDistribution.LoggingProperty
CfnStreamingDistribution.LoggingPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnStreamingDistribution.LoggingProperty.Builder, CfnStreamingDistribution.LoggingProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnStreamingDistribution.LoggingProperty.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 |
getBucket()
The Amazon S3 bucket to store the access logs in, for example, `myawslogbucket.s3.amazonaws.com` .
|
Object |
getEnabled()
Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket.
|
String |
getPrefix()
An optional string that you want CloudFront to prefix to the access log filenames for this streaming distribution, for example, `myprefix/` .
|
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.LoggingProperty.Builder builder)
CfnStreamingDistribution.LoggingProperty.Builder.public final String getBucket()
CfnStreamingDistribution.LoggingPropertygetBucket in interface CfnStreamingDistribution.LoggingPropertypublic final Object getEnabled()
CfnStreamingDistribution.LoggingProperty
If you don't want to enable logging when you create a streaming distribution or if you want to disable logging for an existing streaming distribution, specify false for Enabled , and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix , the values are automatically deleted.
getEnabled in interface CfnStreamingDistribution.LoggingPropertypublic final String getPrefix()
CfnStreamingDistribution.LoggingProperty
If you want to enable logging, but you don't want to specify a prefix, you still must include an empty Prefix element in the Logging element.
getPrefix in interface CfnStreamingDistribution.LoggingProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.