@Stability(value=Stable) @Internal public static final class CfnDistribution.LoggingProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnDistribution.LoggingProperty
CfnDistribution.LoggingPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnDistribution.LoggingProperty.Builder, CfnDistribution.LoggingProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnDistribution.LoggingProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnDistribution.CacheBehaviorProperty.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 |
getIncludeCookies()
Specifies whether you want CloudFront to include cookies in access logs, specify `true` for `IncludeCookies` .
|
String |
getPrefix()
An optional string that you want CloudFront to prefix to the access log `filenames` for this 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(CfnDistribution.LoggingProperty.Builder builder)
CfnDistribution.CacheBehaviorProperty.Builder.public final String getBucket()
CfnDistribution.LoggingPropertygetBucket in interface CfnDistribution.LoggingPropertypublic final Object getIncludeCookies()
CfnDistribution.LoggingProperty
If you choose to include cookies in logs, CloudFront logs all cookies regardless of how you configure the cache behaviors for this distribution. If you don't want to include cookies when you create a distribution or if you want to disable include cookies for an existing distribution, specify false for IncludeCookies .
getIncludeCookies in interface CfnDistribution.LoggingPropertypublic final String getPrefix()
CfnDistribution.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 CfnDistribution.LoggingProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.