You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::SecurityHub::Types::AwsCloudFrontDistributionDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecurityHub::Types::AwsCloudFrontDistributionDetails
- Defined in:
- (unknown)
Overview
When passing AwsCloudFrontDistributionDetails as input to an Aws::Client method, you can use a vanilla Hash:
{
cache_behaviors: {
items: [
{
viewer_protocol_policy: "NonEmptyString",
},
],
},
default_cache_behavior: {
viewer_protocol_policy: "NonEmptyString",
},
default_root_object: "NonEmptyString",
domain_name: "NonEmptyString",
etag: "NonEmptyString",
last_modified_time: "NonEmptyString",
logging: {
bucket: "NonEmptyString",
enabled: false,
include_cookies: false,
prefix: "NonEmptyString",
},
origins: {
items: [
{
domain_name: "NonEmptyString",
id: "NonEmptyString",
origin_path: "NonEmptyString",
s3_origin_config: {
origin_access_identity: "NonEmptyString",
},
},
],
},
origin_groups: {
items: [
{
failover_criteria: {
status_codes: {
items: [1],
quantity: 1,
},
},
},
],
},
status: "NonEmptyString",
web_acl_id: "NonEmptyString",
}
A distribution configuration.
Returned by:
Instance Attribute Summary collapse
-
#cache_behaviors ⇒ Types::AwsCloudFrontDistributionCacheBehaviors
Provides information about the cache configuration for the distribution.
-
#default_cache_behavior ⇒ Types::AwsCloudFrontDistributionDefaultCacheBehavior
The default cache behavior for the configuration.
-
#default_root_object ⇒ String
The object that CloudFront sends in response to requests from the origin (for example, index.html) when a viewer requests the root URL for the distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/product-description.html).
-
#domain_name ⇒ String
The domain name corresponding to the distribution.
-
#etag ⇒ String
The entity tag is a hash of the object.
-
#last_modified_time ⇒ String
Indicates when that the distribution was last modified.
-
#logging ⇒ Types::AwsCloudFrontDistributionLogging
A complex type that controls whether access logs are written for the distribution.
-
#origin_groups ⇒ Types::AwsCloudFrontDistributionOriginGroups
Provides information about the origin groups in the distribution.
-
#origins ⇒ Types::AwsCloudFrontDistributionOrigins
A complex type that contains information about origins for this distribution.
-
#status ⇒ String
Indicates the current status of the distribution.
-
#web_acl_id ⇒ String
A unique identifier that specifies the AWS WAF web ACL, if any, to associate with this distribution.
Instance Attribute Details
#cache_behaviors ⇒ Types::AwsCloudFrontDistributionCacheBehaviors
Provides information about the cache configuration for the distribution.
#default_cache_behavior ⇒ Types::AwsCloudFrontDistributionDefaultCacheBehavior
The default cache behavior for the configuration.
#default_root_object ⇒ String
The object that CloudFront sends in response to requests from the origin (for example, index.html) when a viewer requests the root URL for the distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/product-description.html).
#domain_name ⇒ String
The domain name corresponding to the distribution.
#etag ⇒ String
The entity tag is a hash of the object.
#last_modified_time ⇒ String
Indicates when that the distribution was last modified.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet
Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
#logging ⇒ Types::AwsCloudFrontDistributionLogging
A complex type that controls whether access logs are written for the distribution.
#origin_groups ⇒ Types::AwsCloudFrontDistributionOriginGroups
Provides information about the origin groups in the distribution.
#origins ⇒ Types::AwsCloudFrontDistributionOrigins
A complex type that contains information about origins for this distribution.
#status ⇒ String
Indicates the current status of the distribution.
#web_acl_id ⇒ String
A unique identifier that specifies the AWS WAF web ACL, if any, to associate with this distribution.