Class: Aws::CloudExtensions::Types::StringSetting

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

Overview

Specification for a string-typed setting.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#default ⇒ String

The default value used when the deployer does not provide one.

Returns:

  • (String)


1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/types.rb', line 1906

class StringSetting < Struct.new(
  :default,
  :format,
  :pattern,
  :enum,
  :min_length,
  :max_length)
  SENSITIVE = []
  include Aws::Structure
end

#enum ⇒ Array<String>

An explicit list of allowed values. The deployer must choose from this set.

Returns:

  • (Array<String>)


1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/types.rb', line 1906

class StringSetting < Struct.new(
  :default,
  :format,
  :pattern,
  :enum,
  :min_length,
  :max_length)
  SENSITIVE = []
  include Aws::Structure
end

#format ⇒ String

A named format constraint that implies additional validation (e.g. 'arn' or 'filepath').

Returns:

  • (String)


1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/types.rb', line 1906

class StringSetting < Struct.new(
  :default,
  :format,
  :pattern,
  :enum,
  :min_length,
  :max_length)
  SENSITIVE = []
  include Aws::Structure
end

#max_length ⇒ Integer

The longest length the value may have. Must be greater than 0 and at least minLength.

Returns:

  • (Integer)


1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/types.rb', line 1906

class StringSetting < Struct.new(
  :default,
  :format,
  :pattern,
  :enum,
  :min_length,
  :max_length)
  SENSITIVE = []
  include Aws::Structure
end

#min_length ⇒ Integer

The shortest length the value may have.

Returns:

  • (Integer)


1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/types.rb', line 1906

class StringSetting < Struct.new(
  :default,
  :format,
  :pattern,
  :enum,
  :min_length,
  :max_length)
  SENSITIVE = []
  include Aws::Structure
end

#pattern ⇒ String

A regular expression the value must match.

Returns:

  • (String)


1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
# File 'gems/aws-sdk-cloudextensions/lib/aws-sdk-cloudextensions/types.rb', line 1906

class StringSetting < Struct.new(
  :default,
  :format,
  :pattern,
  :enum,
  :min_length,
  :max_length)
  SENSITIVE = []
  include Aws::Structure
end