Class: Aws::Backup::Types::KeyValue

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

Overview

Pair of two related strings. Allowed characters are letters, white space, and numbers that can be represented in UTF-8 and the following characters: + - = . _ : /

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The tag key (String). The key can't start with aws:.

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: ^(?![aA]{1}[wW]{1}[sS]{1}:)([\p{L}\p{Z}\p{N}_.:/=+\-@]+)$

Returns:

  • (String)


4520
4521
4522
4523
4524
4525
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 4520

class KeyValue < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

The value of the key.

Length Constraints: Maximum length of 256.

Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$

Returns:

  • (String)


4520
4521
4522
4523
4524
4525
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 4520

class KeyValue < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end