Class: Aws::SecurityHub::Types::AwsCloudFrontDistributionDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecurityHub::Types::AwsCloudFrontDistributionDetails
- Defined in:
- gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb
Overview
When making an API call, you may pass AwsCloudFrontDistributionDetails data as a 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.
Constant Summary collapse
- SENSITIVE =
[]
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.
2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2134 class AwsCloudFrontDistributionDetails < Struct.new( :cache_behaviors, :default_cache_behavior, :default_root_object, :domain_name, :etag, :last_modified_time, :logging, :origins, :origin_groups, :status, :web_acl_id) SENSITIVE = [] include Aws::Structure end |
#default_cache_behavior ⇒ Types::AwsCloudFrontDistributionDefaultCacheBehavior
The default cache behavior for the configuration.
2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2134 class AwsCloudFrontDistributionDetails < Struct.new( :cache_behaviors, :default_cache_behavior, :default_root_object, :domain_name, :etag, :last_modified_time, :logging, :origins, :origin_groups, :status, :web_acl_id) SENSITIVE = [] include Aws::Structure end |
#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).
2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2134 class AwsCloudFrontDistributionDetails < Struct.new( :cache_behaviors, :default_cache_behavior, :default_root_object, :domain_name, :etag, :last_modified_time, :logging, :origins, :origin_groups, :status, :web_acl_id) SENSITIVE = [] include Aws::Structure end |
#domain_name ⇒ String
The domain name corresponding to the distribution.
2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2134 class AwsCloudFrontDistributionDetails < Struct.new( :cache_behaviors, :default_cache_behavior, :default_root_object, :domain_name, :etag, :last_modified_time, :logging, :origins, :origin_groups, :status, :web_acl_id) SENSITIVE = [] include Aws::Structure end |
#etag ⇒ String
The entity tag is a hash of the object.
2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2134 class AwsCloudFrontDistributionDetails < Struct.new( :cache_behaviors, :default_cache_behavior, :default_root_object, :domain_name, :etag, :last_modified_time, :logging, :origins, :origin_groups, :status, :web_acl_id) SENSITIVE = [] include Aws::Structure end |
#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
.
2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2134 class AwsCloudFrontDistributionDetails < Struct.new( :cache_behaviors, :default_cache_behavior, :default_root_object, :domain_name, :etag, :last_modified_time, :logging, :origins, :origin_groups, :status, :web_acl_id) SENSITIVE = [] include Aws::Structure end |
#logging ⇒ Types::AwsCloudFrontDistributionLogging
A complex type that controls whether access logs are written for the distribution.
2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2134 class AwsCloudFrontDistributionDetails < Struct.new( :cache_behaviors, :default_cache_behavior, :default_root_object, :domain_name, :etag, :last_modified_time, :logging, :origins, :origin_groups, :status, :web_acl_id) SENSITIVE = [] include Aws::Structure end |
#origin_groups ⇒ Types::AwsCloudFrontDistributionOriginGroups
Provides information about the origin groups in the distribution.
2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2134 class AwsCloudFrontDistributionDetails < Struct.new( :cache_behaviors, :default_cache_behavior, :default_root_object, :domain_name, :etag, :last_modified_time, :logging, :origins, :origin_groups, :status, :web_acl_id) SENSITIVE = [] include Aws::Structure end |
#origins ⇒ Types::AwsCloudFrontDistributionOrigins
A complex type that contains information about origins for this distribution.
2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2134 class AwsCloudFrontDistributionDetails < Struct.new( :cache_behaviors, :default_cache_behavior, :default_root_object, :domain_name, :etag, :last_modified_time, :logging, :origins, :origin_groups, :status, :web_acl_id) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
Indicates the current status of the distribution.
2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2134 class AwsCloudFrontDistributionDetails < Struct.new( :cache_behaviors, :default_cache_behavior, :default_root_object, :domain_name, :etag, :last_modified_time, :logging, :origins, :origin_groups, :status, :web_acl_id) SENSITIVE = [] include Aws::Structure end |
#web_acl_id ⇒ String
A unique identifier that specifies the AWS WAF web ACL, if any, to associate with this distribution.
2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2134 class AwsCloudFrontDistributionDetails < Struct.new( :cache_behaviors, :default_cache_behavior, :default_root_object, :domain_name, :etag, :last_modified_time, :logging, :origins, :origin_groups, :status, :web_acl_id) SENSITIVE = [] include Aws::Structure end |