State - Inspector

State

An object that described the state of Amazon Inspector scans for an account.

Contents

errorCode

The error code explaining why the account failed to enable Amazon Inspector.

Type: String

Valid Values: ALREADY_ENABLED | ENABLE_IN_PROGRESS | DISABLE_IN_PROGRESS | SUSPEND_IN_PROGRESS | RESOURCE_NOT_FOUND | ACCESS_DENIED | INTERNAL_ERROR | SSM_UNAVAILABLE | SSM_THROTTLED | EVENTBRIDGE_UNAVAILABLE | EVENTBRIDGE_THROTTLED | RESOURCE_SCAN_NOT_DISABLED | DISASSOCIATE_ALL_MEMBERS | ACCOUNT_IS_ISOLATED | EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED | EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED

Required: Yes

errorMessage

The error message received when the account failed to enable Amazon Inspector.

Type: String

Length Constraints: Minimum length of 1.

Required: Yes

status

The status of Amazon Inspector for the account.

Type: String

Valid Values: ENABLING | ENABLED | DISABLING | DISABLED | SUSPENDING | SUSPENDED

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: