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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#cache_behaviorsTypes::AwsCloudFrontDistributionCacheBehaviors

Provides information about the cache configuration for the distribution.

Returns:

#default_cache_behaviorTypes::AwsCloudFrontDistributionDefaultCacheBehavior

The default cache behavior for the configuration.

Returns:

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

#domain_nameString

The domain name corresponding to the distribution.

Returns:

  • (String)

    The domain name corresponding to the distribution.

#etagString

The entity tag is a hash of the object.

Returns:

  • (String)

    The entity tag is a hash of the object.

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

    Indicates when that the distribution was last modified.

#loggingTypes::AwsCloudFrontDistributionLogging

A complex type that controls whether access logs are written for the distribution.

Returns:

#origin_groupsTypes::AwsCloudFrontDistributionOriginGroups

Provides information about the origin groups in the distribution.

Returns:

#originsTypes::AwsCloudFrontDistributionOrigins

A complex type that contains information about origins for this distribution.

Returns:

#statusString

Indicates the current status of the distribution.

Returns:

  • (String)

    Indicates the current status of the distribution.

#web_acl_idString

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

Returns:

  • (String)

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