Package com.pulumi.aws.cloudfront.inputs
Class DistributionDefaultCacheBehaviorArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.cloudfront.inputs.DistributionDefaultCacheBehaviorArgs
-
public final class DistributionDefaultCacheBehaviorArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DistributionDefaultCacheBehaviorArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static DistributionDefaultCacheBehaviorArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.util.List<java.lang.String>>
allowedMethods()
static DistributionDefaultCacheBehaviorArgs.Builder
builder()
static DistributionDefaultCacheBehaviorArgs.Builder
builder(DistributionDefaultCacheBehaviorArgs defaults)
com.pulumi.core.Output<java.util.List<java.lang.String>>
cachedMethods()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
cachePolicyId()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
compress()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
defaultTtl()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
fieldLevelEncryptionId()
java.util.Optional<com.pulumi.core.Output<DistributionDefaultCacheBehaviorForwardedValuesArgs>>
forwardedValues()
java.util.Optional<com.pulumi.core.Output<java.util.List<DistributionDefaultCacheBehaviorFunctionAssociationArgs>>>
functionAssociations()
java.util.Optional<com.pulumi.core.Output<java.util.List<DistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs>>>
lambdaFunctionAssociations()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
maxTtl()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
minTtl()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
originRequestPolicyId()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
realtimeLogConfigArn()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
responseHeadersPolicyId()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
smoothStreaming()
com.pulumi.core.Output<java.lang.String>
targetOriginId()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
trustedKeyGroups()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
trustedSigners()
com.pulumi.core.Output<java.lang.String>
viewerProtocolPolicy()
-
-
-
Field Detail
-
Empty
public static final DistributionDefaultCacheBehaviorArgs Empty
-
-
Method Detail
-
allowedMethods
public com.pulumi.core.Output<java.util.List<java.lang.String>> allowedMethods()
- Returns:
- Controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin.
-
cachePolicyId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> cachePolicyId()
- Returns:
- Unique identifier of the cache policy that is attached to the cache behavior. If configuring the `default_cache_behavior` either `cache_policy_id` or `forwarded_values` must be set.
-
cachedMethods
public com.pulumi.core.Output<java.util.List<java.lang.String>> cachedMethods()
- Returns:
- Controls whether CloudFront caches the response to requests using the specified HTTP methods.
-
compress
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> compress()
- Returns:
- Whether you want CloudFront to automatically compress content for web requests that include `Accept-Encoding: gzip` in the request header (default: `false`).
-
defaultTtl
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> defaultTtl()
- Returns:
- Default amount of time (in seconds) that an object is in a CloudFront cache before CloudFront forwards another request in the absence of an `Cache-Control max-age` or `Expires` header.
-
fieldLevelEncryptionId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> fieldLevelEncryptionId()
- Returns:
- Field level encryption configuration ID.
-
forwardedValues
public java.util.Optional<com.pulumi.core.Output<DistributionDefaultCacheBehaviorForwardedValuesArgs>> forwardedValues()
- Returns:
- The forwarded values configuration that specifies how CloudFront handles query strings, cookies and headers (maximum one).
-
functionAssociations
public java.util.Optional<com.pulumi.core.Output<java.util.List<DistributionDefaultCacheBehaviorFunctionAssociationArgs>>> functionAssociations()
- Returns:
- A config block that triggers a cloudfront function with specific actions (maximum 2).
-
lambdaFunctionAssociations
public java.util.Optional<com.pulumi.core.Output<java.util.List<DistributionDefaultCacheBehaviorLambdaFunctionAssociationArgs>>> lambdaFunctionAssociations()
- Returns:
- A config block that triggers a lambda function with specific actions (maximum 4).
-
maxTtl
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> maxTtl()
- Returns:
- Maximum amount of time (in seconds) that an object is in a CloudFront cache before CloudFront forwards another request to your origin to determine whether the object has been updated. Only effective in the presence of `Cache-Control max-age`, `Cache-Control s-maxage`, and `Expires` headers.
-
minTtl
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> minTtl()
- Returns:
- Minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated. Defaults to 0 seconds.
-
originRequestPolicyId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> originRequestPolicyId()
- Returns:
- Unique identifier of the origin request policy that is attached to the behavior.
-
realtimeLogConfigArn
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> realtimeLogConfigArn()
- Returns:
- ARN of the real-time log configuration that is attached to this cache behavior.
-
responseHeadersPolicyId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> responseHeadersPolicyId()
- Returns:
- Identifier for a response headers policy.
-
smoothStreaming
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> smoothStreaming()
- Returns:
- Indicates whether you want to distribute media files in Microsoft Smooth Streaming format using the origin that is associated with this cache behavior.
-
targetOriginId
public com.pulumi.core.Output<java.lang.String> targetOriginId()
- Returns:
- Value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.
-
trustedKeyGroups
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> trustedKeyGroups()
- Returns:
- List of key group IDs that CloudFront can use to validate signed URLs or signed cookies. See the [CloudFront User Guide](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-trusted-signers.html) for more information about this feature.
-
trustedSigners
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> trustedSigners()
- Returns:
- List of AWS account IDs (or `self`) that you want to allow to create signed URLs for private content. See the [CloudFront User Guide](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-trusted-signers.html) for more information about this feature.
-
viewerProtocolPolicy
public com.pulumi.core.Output<java.lang.String> viewerProtocolPolicy()
- Returns:
- Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. One of `allow-all`, `https-only`, or `redirect-to-https`.
-
builder
public static DistributionDefaultCacheBehaviorArgs.Builder builder()
-
builder
public static DistributionDefaultCacheBehaviorArgs.Builder builder(DistributionDefaultCacheBehaviorArgs defaults)
-
-