You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudFront::Types::DistributionSummary

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

A summary of the information about a CloudFront distribution.

Instance Attribute Summary collapse

Instance Attribute Details

#aliasesTypes::Aliases

A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

Returns:

  • (Types::Aliases)

    A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

#arnString

The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your AWS account ID.

Returns:

  • (String)

    The ARN (Amazon Resource Name) for the distribution.

#cache_behaviorsTypes::CacheBehaviors

A complex type that contains zero or more CacheBehavior elements.

Returns:

#commentString

The comment originally specified when this distribution was created.

Returns:

  • (String)

    The comment originally specified when this distribution was created.

#custom_error_responsesTypes::CustomErrorResponses

A complex type that contains zero or more CustomErrorResponses elements.

Returns:

#default_cache_behaviorTypes::DefaultCacheBehavior

A complex type that describes the default cache behavior if you don\'t specify a CacheBehavior element or if files don\'t match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

Returns:

  • (Types::DefaultCacheBehavior)

    A complex type that describes the default cache behavior if you don\'t specify a CacheBehavior element or if files don\'t match any of the values of PathPattern in CacheBehavior elements.

#domain_nameString

The domain name that corresponds to the distribution, for example, d111111abcdef8.cloudfront.net.

Returns:

  • (String)

    The domain name that corresponds to the distribution, for example, d111111abcdef8.cloudfront.net.

#enabledBoolean

Whether the distribution is enabled to accept user requests for content.

Returns:

  • (Boolean)

    Whether the distribution is enabled to accept user requests for content.

#http_versionString

Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don\'t support HTTP/2 will automatically use an earlier version.

Possible values:

  • http1.1
  • http2

Returns:

  • (String)

    Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront.

#idString

The identifier for the distribution. For example: EDFDVBD632BHDS5.

Returns:

  • (String)

    The identifier for the distribution.

#is_ipv6_enabledBoolean

Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.

Returns:

  • (Boolean)

    Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.

#last_modified_timeTime

The date and time the distribution was last modified.

Returns:

  • (Time)

    The date and time the distribution was last modified.

#origin_groupsTypes::OriginGroups

A complex type that contains information about origin groups for this distribution.

Returns:

  • (Types::OriginGroups)

    A complex type that contains information about origin groups for this distribution.

#originsTypes::Origins

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

Returns:

  • (Types::Origins)

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

#price_classString

A complex type that contains information about price class for this streaming distribution.

Possible values:

  • PriceClass_100
  • PriceClass_200
  • PriceClass_All

Returns:

  • (String)

    A complex type that contains information about price class for this streaming distribution.

#restrictionsTypes::Restrictions

Returns:

#statusString

The current status of the distribution. When the status is Deployed, the distribution\'s information is propagated to all CloudFront edge locations.

Returns:

  • (String)

    The current status of the distribution.

#viewer_certificateTypes::ViewerCertificate

#web_acl_idString

The Web ACL Id (if any) associated with the distribution.

Returns:

  • (String)

    The Web ACL Id (if any) associated with the distribution.