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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.Behavior
Behavior.Builder, Behavior.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(Behavior.Builder builder) Constructor that initializes the object based on literal property values passed by theBehavior.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 CloudFrontAllowedMethods
The method this CloudFront distribution responds do.Which methods are cached by CloudFront by default.final Boolean
If CloudFront should automatically compress some content types.final Duration
The 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 Boolean
If this behavior is the default behavior for the distribution.final List<LambdaFunctionAssociation>
Declares associated lambda@edge functions for this distribution behaviour.final Duration
The max amount of time you want objects to stay in the cache before CloudFront queries your origin.final Duration
The minimum amount of time that you want objects to stay in the cache before CloudFront queries your origin.final String
The 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 ViewerProtocolPolicy
The viewer policy for this behavior.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 theBehavior.Builder
.
-
-
Method Details
-
getAllowedMethods
Description copied from interface:Behavior
The method this CloudFront distribution responds do.Default: GET_HEAD
- Specified by:
getAllowedMethods
in interfaceBehavior
-
getCachedMethods
Description copied from interface:Behavior
Which methods are cached by CloudFront by default.Default: GET_HEAD
- Specified by:
getCachedMethods
in interfaceBehavior
-
getCompress
Description copied from interface:Behavior
If CloudFront should automatically compress some content types.Default: true
- Specified by:
getCompress
in interfaceBehavior
-
getDefaultTtl
Description copied from interface:Behavior
The 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:
getDefaultTtl
in interfaceBehavior
-
getForwardedValues
Description copied from interface:Behavior
The values CloudFront will forward to the origin when making a request.Default: none (no cookies - no headers)
- Specified by:
getForwardedValues
in interfaceBehavior
-
getFunctionAssociations
Description copied from interface:Behavior
The CloudFront functions to invoke before serving the contents.Default: - no functions will be invoked
- Specified by:
getFunctionAssociations
in interfaceBehavior
-
getIsDefaultBehavior
Description copied from interface:Behavior
If 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:
getIsDefaultBehavior
in interfaceBehavior
-
getLambdaFunctionAssociations
Description copied from interface:Behavior
Declares associated lambda@edge functions for this distribution behaviour.Default: No lambda function associated
- Specified by:
getLambdaFunctionAssociations
in interfaceBehavior
-
getMaxTtl
Description copied from interface:Behavior
The 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:Behavior
The minimum amount of time that you want objects to stay in the cache before CloudFront queries your origin. -
getPathPattern
Description copied from interface:Behavior
The path this behavior responds to.Required for all non-default behaviors. (The default behavior implicitly has "*" as the path pattern. )
- Specified by:
getPathPattern
in interfaceBehavior
-
getTrustedKeyGroups
Description copied from interface:Behavior
A 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:
getTrustedKeyGroups
in 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:
getTrustedSigners
in interfaceBehavior
-
getViewerProtocolPolicy
Description copied from interface:Behavior
The viewer policy for this behavior.Default: - the distribution wide viewer protocol policy will be used
- Specified by:
getViewerProtocolPolicy
in interfaceBehavior
-
$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()
-