Class CfnDistribution.LoggingProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudfront.CfnDistribution.LoggingProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnDistribution.LoggingProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnDistribution.LoggingProperty
@Stability(Stable)
@Internal
public static final class CfnDistribution.LoggingProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnDistribution.LoggingProperty
An implementation for
CfnDistribution.LoggingProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.CfnDistribution.LoggingProperty
CfnDistribution.LoggingProperty.Builder, CfnDistribution.LoggingProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnDistribution.LoggingProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
The Amazon S3 bucket to store the access logs in, for example,amzn-s3-demo-bucket.s3.amazonaws.com
.final Object
Specifies whether you want CloudFront to include cookies in access logs, specifytrue
forIncludeCookies
.final String
An optional string that you want CloudFront to prefix to the access logfilenames
for this distribution, for example,myprefix/
.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnDistribution.LoggingProperty.Builder
.
-
-
Method Details
-
getBucket
Description copied from interface:CfnDistribution.LoggingProperty
The Amazon S3 bucket to store the access logs in, for example,amzn-s3-demo-bucket.s3.amazonaws.com
.- Specified by:
getBucket
in interfaceCfnDistribution.LoggingProperty
- See Also:
-
getIncludeCookies
Description copied from interface:CfnDistribution.LoggingProperty
Specifies whether you want CloudFront to include cookies in access logs, specifytrue
forIncludeCookies
.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
forIncludeCookies
.Default: - false
- Specified by:
getIncludeCookies
in interfaceCfnDistribution.LoggingProperty
- See Also:
-
getPrefix
Description copied from interface:CfnDistribution.LoggingProperty
An optional string that you want CloudFront to prefix to the access logfilenames
for this distribution, for example,myprefix/
.If you want to enable logging, but you don't want to specify a prefix, you still must include an empty
Prefix
element in theLogging
element.Default: - ""
- Specified by:
getPrefix
in interfaceCfnDistribution.LoggingProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-