View a markdown version of this page

NetworkScopePrincipalStateReason - AWS Network Manager

NetworkScopePrincipalStateReason

Contains a code and a message that describe why a network scope principal is in its current state, for example why the account isn't covered in a Region of the network scope.

Contents

Code

A stable code that identifies why the resource is in its current state. Branch on this value rather than on Message.

Type: String

Valid Values: ORGANIZATION_ACCESS_LOST | SCOPE_OWNER_NOT_ORGANIZATION_MEMBER | NETWORK_MANAGER_SERVICE_ACCESS_NOT_ENABLED | SCOPE_OWNER_NOT_NETWORK_MANAGER_DELEGATED_ADMINISTRATOR | NOT_IN_OWNER_ORGANIZATION | ORGANIZATIONAL_UNIT_DELETED | NETWORK_MANAGER_SERVICE_LINKED_ROLE_NOT_ASSUMABLE | REGION_NOT_ENABLED | NETWORK_SECURITY_ANALYSIS_POLICY_MANAGEMENT_NOT_DELEGATED | NETWORK_SECURITY_ANALYSIS_POLICY_ATTACHMENT_LIMIT_EXCEEDED

Required: No

Message

A human-readable description of the reason, including details such as the action that was denied, the account, or the Region. Don't parse this value to determine state.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 10000000.

Pattern: [\s\S]*

Required: No

See Also

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