Capability
Declares a host capability that an extension requires. You must explicitly approve a capability before the extension can use it. For example, an extension might require permission to write files to a directory on the local disk, to call an AWS service API, or to run a host command.
Contents
- definition
-
The type-specific details of the requested capability.
Type: CapabilityDefinition object
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: Yes
- id
-
A unique identifier for this capability within the configuration of the extension.
Type: String
Pattern:
[a-z]([a-zA-Z0-9]{2,31})Required: Yes
- purpose
-
A description of why the extension needs this capability and how the extension uses it.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 256.
Pattern:
[^ \p{Cc}][^\p{Cc}]*Required: Yes
- required
-
Indicates whether the extension requires this capability to function. 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: