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

Class: Aws::CloudFront::Types::Aliases

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

Overview

Note:

When making an API call, you may pass Aliases data as a hash:

{
  quantity: 1, # required
  items: ["string"],
}

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

Instance Attribute Summary collapse

Instance Attribute Details

#itemsArray<String>

A complex type that contains the CNAME aliases, if any, that you want to associate with this distribution.

Returns:

  • (Array<String>)


85
86
87
88
89
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 85

class Aliases < Struct.new(
  :quantity,
  :items)
  include Aws::Structure
end

#quantityInteger

The number of CNAME aliases, if any, that you want to associate with this distribution.

Returns:

  • (Integer)


85
86
87
88
89
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 85

class Aliases < Struct.new(
  :quantity,
  :items)
  include Aws::Structure
end