Class: Aws::CloudFront::Types::AssociateAliasRequest

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

Overview

Note:

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

{
  target_distribution_id: "string", # required
  alias: "string", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#aliasString

The alias (also known as a CNAME) to add to the target distribution.

Returns:

  • (String)

253
254
255
256
257
258
# File 'lib/aws-sdk-cloudfront/types.rb', line 253

class AssociateAliasRequest < Struct.new(
  :target_distribution_id,
  :alias)
  SENSITIVE = []
  include Aws::Structure
end

#target_distribution_idString

The ID of the distribution that you’re associating the alias with.

Returns:

  • (String)

253
254
255
256
257
258
# File 'lib/aws-sdk-cloudfront/types.rb', line 253

class AssociateAliasRequest < Struct.new(
  :target_distribution_id,
  :alias)
  SENSITIVE = []
  include Aws::Structure
end