Class: Aws::SecurityHub::Types::AwsCloudFrontDistributionDetails

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Note:

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

Instance Attribute Details

#cache_behaviorsTypes::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_behaviorTypes::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_objectString

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).

Returns:

  • (String)


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_nameString

The domain name corresponding to the distribution.

Returns:

  • (String)


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

#etagString

The entity tag is a hash of the object.

Returns:

  • (String)


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_timeString

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.

Returns:

  • (String)


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

#loggingTypes::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_groupsTypes::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

#originsTypes::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

#statusString

Indicates the current status of the distribution.

Returns:

  • (String)


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_idString

A unique identifier that specifies the AWS WAF web ACL, if any, to associate with this distribution.

Returns:

  • (String)


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