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

Class: Aws::OpsWorksCM::Types::CreateBackupRequest

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

Overview

Note:

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

{
  server_name: "ServerName", # required
  description: "String",
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

A user-defined description of the backup.

Returns:

  • (String)


297
298
299
300
301
302
# File 'gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb', line 297

class CreateBackupRequest < Struct.new(
  :server_name,
  :description,
  :tags)
  include Aws::Structure
end

#server_nameString

The name of the server that you want to back up.

Returns:

  • (String)


297
298
299
300
301
302
# File 'gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb', line 297

class CreateBackupRequest < Struct.new(
  :server_name,
  :description,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

A map that contains tag keys and tag values to attach to an AWS OpsWorks-CM server backup.

  • The key cannot be empty.

  • The key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : /

  • The value can be a maximum 255 characters, and contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : /

  • Leading and trailing white spaces are trimmed from both the key and value.

  • A maximum of 50 user-applied tags is allowed for tag-supported AWS OpsWorks-CM resources.

Returns:



297
298
299
300
301
302
# File 'gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb', line 297

class CreateBackupRequest < Struct.new(
  :server_name,
  :description,
  :tags)
  include Aws::Structure
end