Class: Aws::Lightsail::Types::UpdateSubdomainAssociationRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#action ⇒ String

The association change to make.

The following actions are possible:

  • ASSOCIATE – Associates the subdomain with the resource that you specify in the targetResourceArn parameter. The subdomain must be in the UNATTACHED state.

  • DISASSOCIATE – Disassociates the subdomain from its current resource. The subdomain must be in the ATTACHED state.

  • TRANSFER – Moves the subdomain from its current resource to the resource that you specify in the targetResourceArn parameter. The subdomain must be in the ATTACHED state. You can transfer each subdomain only once in a 24-hour period.

Returns:

  • (String)


16333
16334
16335
16336
16337
16338
16339
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 16333

class UpdateSubdomainAssociationRequest < Struct.new(
  :subdomain_name,
  :action,
  :target_resource_arn)
  SENSITIVE = []
  include Aws::Structure
end

#subdomain_name ⇒ String

The subdomain to update (for example, mysite or blog.mysite), not its web address.

Returns:

  • (String)


16333
16334
16335
16336
16337
16338
16339
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 16333

class UpdateSubdomainAssociationRequest < Struct.new(
  :subdomain_name,
  :action,
  :target_resource_arn)
  SENSITIVE = []
  include Aws::Structure
end

#target_resource_arn ⇒ String

The Amazon Resource Name (ARN) of the resource to associate the subdomain with. The resource must be in your account.

This parameter is required when the action is ASSOCIATE or TRANSFER. It's ignored when the action is DISASSOCIATE.

Returns:

  • (String)


16333
16334
16335
16336
16337
16338
16339
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 16333

class UpdateSubdomainAssociationRequest < Struct.new(
  :subdomain_name,
  :action,
  :target_resource_arn)
  SENSITIVE = []
  include Aws::Structure
end