Setting
Defines a configurable setting that an extension exposes. Settings are part of the configuration schema that an extension declares.
Contents
- definition
-
The type and constraints for the value of this setting.
Type: SettingDefinition object
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: Yes
- description
-
A description of what this setting controls and how it affects the behavior of the extension.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 256.
Pattern:
[^ \p{Cc}][^\p{Cc}]*Required: Yes
- displayName
-
A short label for this setting, suitable for display in a user interface.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern:
[^\s\p{Cc}]([^\p{Cc}]*[^\s\p{Cc}])?Required: Yes
- id
-
A unique identifier for this setting within the configuration of the extension.
Type: String
Pattern:
[a-z]([a-zA-Z0-9]{2,31})Required: Yes
- activeWhen
-
A conditional expression that references the ID of another setting. When this value is set, this setting is active (visible and applicable) only when the referenced condition is met.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 256.
Required: No
- required
-
Indicates whether you must provide a value for this setting. The default is
false.Type: Boolean
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: