Class Behavior.Jsii$Proxy
- All Implemented Interfaces:
Behavior,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
Behavior
Behavior-
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.Behavior
Behavior.Builder, Behavior.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(Behavior.Builder builder) Constructor that initializes the object based on literal property values passed by theBehavior.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 CloudFrontAllowedMethodsThe method this CloudFront distribution responds do.Which methods are cached by CloudFront by default.final BooleanIf CloudFront should automatically compress some content types.final DurationThe default amount of time CloudFront will cache an object.The values CloudFront will forward to the origin when making a request.final List<FunctionAssociation> The CloudFront functions to invoke before serving the contents.final BooleanIf this behavior is the default behavior for the distribution.final List<LambdaFunctionAssociation> Declares associated lambda@edge functions for this distribution behaviour.final DurationThe max amount of time you want objects to stay in the cache before CloudFront queries your origin.final DurationThe minimum amount of time that you want objects to stay in the cache before CloudFront queries your origin.final StringThe path this behavior responds to.A list of Key Groups that CloudFront can use to validate signed URLs or signed cookies.(deprecated) Trusted signers is how CloudFront allows you to serve private content.final ViewerProtocolPolicyThe viewer policy for this behavior.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 theBehavior.Builder.
-
-
Method Details
-
getAllowedMethods
Description copied from interface:BehaviorThe method this CloudFront distribution responds do.Default: GET_HEAD
- Specified by:
getAllowedMethodsin interfaceBehavior
-
getCachedMethods
Description copied from interface:BehaviorWhich methods are cached by CloudFront by default.Default: GET_HEAD
- Specified by:
getCachedMethodsin interfaceBehavior
-
getCompress
Description copied from interface:BehaviorIf CloudFront should automatically compress some content types.Default: true
- Specified by:
getCompressin interfaceBehavior
-
getDefaultTtl
Description copied from interface:BehaviorThe default amount of time CloudFront will cache an object.This value applies only when your custom origin does not add HTTP headers, such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects.
Default: 86400 (1 day)
- Specified by:
getDefaultTtlin interfaceBehavior
-
getForwardedValues
Description copied from interface:BehaviorThe values CloudFront will forward to the origin when making a request.Default: none (no cookies - no headers)
- Specified by:
getForwardedValuesin interfaceBehavior
-
getFunctionAssociations
Description copied from interface:BehaviorThe CloudFront functions to invoke before serving the contents.Default: - no functions will be invoked
- Specified by:
getFunctionAssociationsin interfaceBehavior
-
getIsDefaultBehavior
Description copied from interface:BehaviorIf this behavior is the default behavior for the distribution.You must specify exactly one default distribution per CloudFront distribution. The default behavior is allowed to omit the "path" property.
- Specified by:
getIsDefaultBehaviorin interfaceBehavior
-
getLambdaFunctionAssociations
Description copied from interface:BehaviorDeclares associated lambda@edge functions for this distribution behaviour.Default: No lambda function associated
- Specified by:
getLambdaFunctionAssociationsin interfaceBehavior
-
getMaxTtl
Description copied from interface:BehaviorThe max amount of time you want objects to stay in the cache before CloudFront queries your origin.Default: Duration.seconds(31536000) (one year)
-
getMinTtl
Description copied from interface:BehaviorThe minimum amount of time that you want objects to stay in the cache before CloudFront queries your origin. -
getPathPattern
Description copied from interface:BehaviorThe path this behavior responds to.Required for all non-default behaviors. (The default behavior implicitly has "*" as the path pattern. )
- Specified by:
getPathPatternin interfaceBehavior
-
getTrustedKeyGroups
Description copied from interface:BehaviorA list of Key Groups that CloudFront can use to validate signed URLs or signed cookies.Default: - no KeyGroups are associated with cache behavior
- Specified by:
getTrustedKeyGroupsin interfaceBehavior- See Also:
-
getTrustedSigners
Description copied from interface:Behavior(deprecated) Trusted signers is how CloudFront allows you to serve private content.The signers are the account IDs that are allowed to sign cookies/presigned URLs for this distribution.
If you pass a non empty value, all requests for this behavior must be signed (no public access will be allowed)
- Specified by:
getTrustedSignersin interfaceBehavior
-
getViewerProtocolPolicy
Description copied from interface:BehaviorThe viewer policy for this behavior.Default: - the distribution wide viewer protocol policy will be used
- Specified by:
getViewerProtocolPolicyin interfaceBehavior
-
$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()
-