FailedAccount - Inspector

FailedAccount

An object with details on why an account failed to enable Amazon Inspector.

Contents

accountId

The AWS account ID.

Type: String

Length Constraints: Fixed length of 12.

Pattern: ^\d{12}$

Required: Yes

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

resourceStatus

An object detailing which resources Amazon Inspector is enabled to scan for the account.

Type: ResourceStatus object

Required: No

status

The status of Amazon Inspector for the account.

Type: String

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

Required: No

See Also

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