public static final class CfnDistribution.LoggingProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnDistribution.LoggingProperty
CfnDistribution.LoggingProperty
CfnDistribution.LoggingProperty.Builder, CfnDistribution.LoggingProperty.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 |
getBucket()
The Amazon S3 bucket to store the access logs in, for example, `myawslogbucket.s3.amazonaws.com` .
|
java.lang.Object |
getIncludeCookies()
Specifies whether you want CloudFront to include cookies in access logs, specify `true` for `IncludeCookies` .
|
java.lang.String |
getPrefix()
An optional string that you want CloudFront to prefix to the access log `filenames` for this distribution, for example, `myprefix/` .
|
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 getBucket()
CfnDistribution.LoggingProperty
getBucket
in interface CfnDistribution.LoggingProperty
public final java.lang.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.LoggingProperty
public final java.lang.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
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()