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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.CfnDistribution.LoggingProperty
CfnDistribution.LoggingProperty.Builder, CfnDistribution.LoggingProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnDistribution.LoggingProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal StringThe Amazon S3 bucket to store the access logs in, for example,myawslogbucket---s3.amazonaws.com.rproxy.govskope.ca.final ObjectSpecifies whether you want CloudFront to include cookies in access logs, specifytrueforIncludeCookies.final StringAn optional string that you want CloudFront to prefix to the access logfilenamesfor this distribution, for example,myprefix/.final inthashCode()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.LoggingPropertyThe Amazon S3 bucket to store the access logs in, for example,myawslogbucket.s3.amazonaws.com.- Specified by:
getBucketin interfaceCfnDistribution.LoggingProperty
-
getIncludeCookies
Description copied from interface:CfnDistribution.LoggingPropertySpecifies whether you want CloudFront to include cookies in access logs, specifytrueforIncludeCookies.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
falseforIncludeCookies.- Specified by:
getIncludeCookiesin interfaceCfnDistribution.LoggingProperty
-
getPrefix
Description copied from interface:CfnDistribution.LoggingPropertyAn optional string that you want CloudFront to prefix to the access logfilenamesfor 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
Prefixelement in theLoggingelement.- Specified by:
getPrefixin interfaceCfnDistribution.LoggingProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-