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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudfront/types.rb

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:



3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
# File 'lib/aws-sdk-cloudfront/types.rb', line 3045

class DistributionSummary < Struct.new(
  :id,
  :arn,
  :status,
  :last_modified_time,
  :domain_name,
  :aliases,
  :origins,
  :default_cache_behavior,
  :cache_behaviors,
  :custom_error_responses,
  :comment,
  :price_class,
  :enabled,
  :viewer_certificate,
  :restrictions,
  :web_acl_id,
  :http_version,
  :is_ipv6_enabled)
  include Aws::Structure
end

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


3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
# File 'lib/aws-sdk-cloudfront/types.rb', line 3045

class DistributionSummary < Struct.new(
  :id,
  :arn,
  :status,
  :last_modified_time,
  :domain_name,
  :aliases,
  :origins,
  :default_cache_behavior,
  :cache_behaviors,
  :custom_error_responses,
  :comment,
  :price_class,
  :enabled,
  :viewer_certificate,
  :restrictions,
  :web_acl_id,
  :http_version,
  :is_ipv6_enabled)
  include Aws::Structure
end

#cache_behaviorsTypes::CacheBehaviors

A complex type that contains zero or more ‘CacheBehavior` elements.



3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
# File 'lib/aws-sdk-cloudfront/types.rb', line 3045

class DistributionSummary < Struct.new(
  :id,
  :arn,
  :status,
  :last_modified_time,
  :domain_name,
  :aliases,
  :origins,
  :default_cache_behavior,
  :cache_behaviors,
  :custom_error_responses,
  :comment,
  :price_class,
  :enabled,
  :viewer_certificate,
  :restrictions,
  :web_acl_id,
  :http_version,
  :is_ipv6_enabled)
  include Aws::Structure
end

#commentString

The comment originally specified when this distribution was created.

Returns:

  • (String)


3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
# File 'lib/aws-sdk-cloudfront/types.rb', line 3045

class DistributionSummary < Struct.new(
  :id,
  :arn,
  :status,
  :last_modified_time,
  :domain_name,
  :aliases,
  :origins,
  :default_cache_behavior,
  :cache_behaviors,
  :custom_error_responses,
  :comment,
  :price_class,
  :enabled,
  :viewer_certificate,
  :restrictions,
  :web_acl_id,
  :http_version,
  :is_ipv6_enabled)
  include Aws::Structure
end

#custom_error_responsesTypes::CustomErrorResponses

A complex type that contains zero or more ‘CustomErrorResponses` elements.



3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
# File 'lib/aws-sdk-cloudfront/types.rb', line 3045

class DistributionSummary < Struct.new(
  :id,
  :arn,
  :status,
  :last_modified_time,
  :domain_name,
  :aliases,
  :origins,
  :default_cache_behavior,
  :cache_behaviors,
  :custom_error_responses,
  :comment,
  :price_class,
  :enabled,
  :viewer_certificate,
  :restrictions,
  :web_acl_id,
  :http_version,
  :is_ipv6_enabled)
  include Aws::Structure
end

#default_cache_behaviorTypes::DefaultCacheBehavior

A complex type that describes the default cache behavior if you do not 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.



3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
# File 'lib/aws-sdk-cloudfront/types.rb', line 3045

class DistributionSummary < Struct.new(
  :id,
  :arn,
  :status,
  :last_modified_time,
  :domain_name,
  :aliases,
  :origins,
  :default_cache_behavior,
  :cache_behaviors,
  :custom_error_responses,
  :comment,
  :price_class,
  :enabled,
  :viewer_certificate,
  :restrictions,
  :web_acl_id,
  :http_version,
  :is_ipv6_enabled)
  include Aws::Structure
end

#domain_nameString

The domain name that corresponds to the distribution. For example: ‘d604721fxaaqy9.cloudfront.net`.

Returns:

  • (String)


3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
# File 'lib/aws-sdk-cloudfront/types.rb', line 3045

class DistributionSummary < Struct.new(
  :id,
  :arn,
  :status,
  :last_modified_time,
  :domain_name,
  :aliases,
  :origins,
  :default_cache_behavior,
  :cache_behaviors,
  :custom_error_responses,
  :comment,
  :price_class,
  :enabled,
  :viewer_certificate,
  :restrictions,
  :web_acl_id,
  :http_version,
  :is_ipv6_enabled)
  include Aws::Structure
end

#enabledBoolean

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

Returns:

  • (Boolean)


3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
# File 'lib/aws-sdk-cloudfront/types.rb', line 3045

class DistributionSummary < Struct.new(
  :id,
  :arn,
  :status,
  :last_modified_time,
  :domain_name,
  :aliases,
  :origins,
  :default_cache_behavior,
  :cache_behaviors,
  :custom_error_responses,
  :comment,
  :price_class,
  :enabled,
  :viewer_certificate,
  :restrictions,
  :web_acl_id,
  :http_version,
  :is_ipv6_enabled)
  include Aws::Structure
end

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

Returns:

  • (String)


3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
# File 'lib/aws-sdk-cloudfront/types.rb', line 3045

class DistributionSummary < Struct.new(
  :id,
  :arn,
  :status,
  :last_modified_time,
  :domain_name,
  :aliases,
  :origins,
  :default_cache_behavior,
  :cache_behaviors,
  :custom_error_responses,
  :comment,
  :price_class,
  :enabled,
  :viewer_certificate,
  :restrictions,
  :web_acl_id,
  :http_version,
  :is_ipv6_enabled)
  include Aws::Structure
end

#idString

The identifier for the distribution. For example: ‘EDFDVBD632BHDS5`.

Returns:

  • (String)


3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
# File 'lib/aws-sdk-cloudfront/types.rb', line 3045

class DistributionSummary < Struct.new(
  :id,
  :arn,
  :status,
  :last_modified_time,
  :domain_name,
  :aliases,
  :origins,
  :default_cache_behavior,
  :cache_behaviors,
  :custom_error_responses,
  :comment,
  :price_class,
  :enabled,
  :viewer_certificate,
  :restrictions,
  :web_acl_id,
  :http_version,
  :is_ipv6_enabled)
  include Aws::Structure
end

#is_ipv6_enabledBoolean

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

Returns:

  • (Boolean)


3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
# File 'lib/aws-sdk-cloudfront/types.rb', line 3045

class DistributionSummary < Struct.new(
  :id,
  :arn,
  :status,
  :last_modified_time,
  :domain_name,
  :aliases,
  :origins,
  :default_cache_behavior,
  :cache_behaviors,
  :custom_error_responses,
  :comment,
  :price_class,
  :enabled,
  :viewer_certificate,
  :restrictions,
  :web_acl_id,
  :http_version,
  :is_ipv6_enabled)
  include Aws::Structure
end

#last_modified_timeTime

The date and time the distribution was last modified.

Returns:

  • (Time)


3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
# File 'lib/aws-sdk-cloudfront/types.rb', line 3045

class DistributionSummary < Struct.new(
  :id,
  :arn,
  :status,
  :last_modified_time,
  :domain_name,
  :aliases,
  :origins,
  :default_cache_behavior,
  :cache_behaviors,
  :custom_error_responses,
  :comment,
  :price_class,
  :enabled,
  :viewer_certificate,
  :restrictions,
  :web_acl_id,
  :http_version,
  :is_ipv6_enabled)
  include Aws::Structure
end

#originsTypes::Origins

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

Returns:



3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
# File 'lib/aws-sdk-cloudfront/types.rb', line 3045

class DistributionSummary < Struct.new(
  :id,
  :arn,
  :status,
  :last_modified_time,
  :domain_name,
  :aliases,
  :origins,
  :default_cache_behavior,
  :cache_behaviors,
  :custom_error_responses,
  :comment,
  :price_class,
  :enabled,
  :viewer_certificate,
  :restrictions,
  :web_acl_id,
  :http_version,
  :is_ipv6_enabled)
  include Aws::Structure
end

#price_classString

Returns:

  • (String)


3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
# File 'lib/aws-sdk-cloudfront/types.rb', line 3045

class DistributionSummary < Struct.new(
  :id,
  :arn,
  :status,
  :last_modified_time,
  :domain_name,
  :aliases,
  :origins,
  :default_cache_behavior,
  :cache_behaviors,
  :custom_error_responses,
  :comment,
  :price_class,
  :enabled,
  :viewer_certificate,
  :restrictions,
  :web_acl_id,
  :http_version,
  :is_ipv6_enabled)
  include Aws::Structure
end

#restrictionsTypes::Restrictions

A complex type that identifies ways in which you want to restrict distribution of your content.

Returns:



3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
# File 'lib/aws-sdk-cloudfront/types.rb', line 3045

class DistributionSummary < Struct.new(
  :id,
  :arn,
  :status,
  :last_modified_time,
  :domain_name,
  :aliases,
  :origins,
  :default_cache_behavior,
  :cache_behaviors,
  :custom_error_responses,
  :comment,
  :price_class,
  :enabled,
  :viewer_certificate,
  :restrictions,
  :web_acl_id,
  :http_version,
  :is_ipv6_enabled)
  include Aws::Structure
end

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


3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
# File 'lib/aws-sdk-cloudfront/types.rb', line 3045

class DistributionSummary < Struct.new(
  :id,
  :arn,
  :status,
  :last_modified_time,
  :domain_name,
  :aliases,
  :origins,
  :default_cache_behavior,
  :cache_behaviors,
  :custom_error_responses,
  :comment,
  :price_class,
  :enabled,
  :viewer_certificate,
  :restrictions,
  :web_acl_id,
  :http_version,
  :is_ipv6_enabled)
  include Aws::Structure
end

#viewer_certificateTypes::ViewerCertificate

A complex type that specifies the following:

  • Which SSL/TLS certificate to use when viewers request objects using HTTPS

  • Whether you want CloudFront to use dedicated IP addresses or SNI when you’re using alternate domain names in your object names

  • The minimum protocol version that you want CloudFront to use when communicating with viewers

For more information, see [Using an HTTPS Connection to Access Your Objects] in the *Amazon Amazon CloudFront Developer Guide*.

[1]: docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/SecureConnections.html



3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
# File 'lib/aws-sdk-cloudfront/types.rb', line 3045

class DistributionSummary < Struct.new(
  :id,
  :arn,
  :status,
  :last_modified_time,
  :domain_name,
  :aliases,
  :origins,
  :default_cache_behavior,
  :cache_behaviors,
  :custom_error_responses,
  :comment,
  :price_class,
  :enabled,
  :viewer_certificate,
  :restrictions,
  :web_acl_id,
  :http_version,
  :is_ipv6_enabled)
  include Aws::Structure
end

#web_acl_idString

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

Returns:

  • (String)


3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
# File 'lib/aws-sdk-cloudfront/types.rb', line 3045

class DistributionSummary < Struct.new(
  :id,
  :arn,
  :status,
  :last_modified_time,
  :domain_name,
  :aliases,
  :origins,
  :default_cache_behavior,
  :cache_behaviors,
  :custom_error_responses,
  :comment,
  :price_class,
  :enabled,
  :viewer_certificate,
  :restrictions,
  :web_acl_id,
  :http_version,
  :is_ipv6_enabled)
  include Aws::Structure
end