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

Class: Aws::ElasticBeanstalk::Types::SwapEnvironmentCNAMEsMessage

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

Overview

Note:

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

{
  source_environment_id: "EnvironmentId",
  source_environment_name: "EnvironmentName",
  destination_environment_id: "EnvironmentId",
  destination_environment_name: "EnvironmentName",
}

Swaps the CNAMEs of two environments.

Instance Attribute Summary collapse

Instance Attribute Details

#destination_environment_idString

The ID of the destination environment.

Condition: You must specify at least the DestinationEnvironmentID or the DestinationEnvironmentName. You may also specify both. You must specify the SourceEnvironmentId with the DestinationEnvironmentId.

Returns:

  • (String)


3885
3886
3887
3888
3889
3890
3891
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 3885

class SwapEnvironmentCNAMEsMessage < Struct.new(
  :source_environment_id,
  :source_environment_name,
  :destination_environment_id,
  :destination_environment_name)
  include Aws::Structure
end

#destination_environment_nameString

The name of the destination environment.

Condition: You must specify at least the DestinationEnvironmentID or the DestinationEnvironmentName. You may also specify both. You must specify the SourceEnvironmentName with the DestinationEnvironmentName.

Returns:

  • (String)


3885
3886
3887
3888
3889
3890
3891
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 3885

class SwapEnvironmentCNAMEsMessage < Struct.new(
  :source_environment_id,
  :source_environment_name,
  :destination_environment_id,
  :destination_environment_name)
  include Aws::Structure
end

#source_environment_idString

The ID of the source environment.

Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName. You may also specify both. If you specify the SourceEnvironmentId, you must specify the DestinationEnvironmentId.

Returns:

  • (String)


3885
3886
3887
3888
3889
3890
3891
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 3885

class SwapEnvironmentCNAMEsMessage < Struct.new(
  :source_environment_id,
  :source_environment_name,
  :destination_environment_id,
  :destination_environment_name)
  include Aws::Structure
end

#source_environment_nameString

The name of the source environment.

Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName. You may also specify both. If you specify the SourceEnvironmentName, you must specify the DestinationEnvironmentName.

Returns:

  • (String)


3885
3886
3887
3888
3889
3890
3891
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 3885

class SwapEnvironmentCNAMEsMessage < Struct.new(
  :source_environment_id,
  :source_environment_name,
  :destination_environment_id,
  :destination_environment_name)
  include Aws::Structure
end