StringSetting
The specification for a string setting.
Contents
- default
-
The default value to use when you don't provide one.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 256.
Required: No
- enum
-
An explicit list of allowed values. You must choose a value from this list.
Type: Array of strings
Array Members: Minimum number of 1 item. Maximum number of 10 items.
Length Constraints: Minimum length of 1. Maximum length of 16.
Required: No
- format
-
A named format constraint that implies additional validation.
arnmeans that the value must be a valid Amazon Resource Name (ARN).filepathmeans that the value must be a valid file path.Type: String
Valid Values:
arn | filepathRequired: No
- maxLength
-
The maximum length of the value. This value must be greater than 0 and at least
minLength.Type: Integer
Valid Range: Minimum value of 0.
Required: No
- minLength
-
The minimum length of the value.
Type: Integer
Valid Range: Minimum value of 0.
Required: No
- pattern
-
A regular expression that the value must match.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 256.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: