View a markdown version of this page

NetworkScopePrincipal - AWS Network Manager

NetworkScopePrincipal

Describes a principal associated with a network scope.

Contents

NetworkScopeId

The ID of the network scope.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 50.

Pattern: [\s\S]*

Required: Yes

Principal

The principal.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 68.

Pattern: [\s\S]*

Required: Yes

PrincipalRegions

The AWS Regions of the network scope. A principal always has all of the Regions of the network scope. If the account isn't covered in a Region for a reason that you must fix, StateReason says so.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 50 items.

Length Constraints: Minimum length of 1. Maximum length of 63.

Pattern: [\s\S]*

Required: Yes

State

The state of the principal. The possible values are the following:

  • ASSOCIATING: The principal is being associated with the network scope.

  • ASSOCIATED: The principal is associated with the network scope.

  • FAILED: The principal isn't covered in any Region of the network scope. If you must fix the cause, StateReason describes it. The association is retried, and the principal becomes ASSOCIATED when it's covered in at least one Region.

  • DISASSOCIATING: The principal is being disassociated from the network scope.

  • DISASSOCIATED: The principal is disassociated from the network scope. The network scope then removes the principal, so ListNetworkScopePrincipals no longer returns it.

  • INACTIVE: The principal no longer qualifies for the network scope, because the account left the organization or the network scope's owner lost its standing in the organization. The network scope keeps the principal but doesn't cover it, and StateReason describes the cause. The principal returns to ASSOCIATING when the cause is resolved. This state applies only to network scopes with the ORGANIZATIONS access mode.

Type: String

Valid Values: ASSOCIATING | ASSOCIATED | FAILED | DISASSOCIATING | DISASSOCIATED | INACTIVE

Required: Yes

StateReason

The reason for the current state of the principal. A reason is always returned for a principal in the INACTIVE state. For a principal in the FAILED state, or in the ASSOCIATED state when it covers only some of the Regions of the network scope, a reason is returned when the cause is one that you must fix. A reason is also returned for a principal in the DISASSOCIATING state when you must complete a prerequisite to finish removing it.

Type: NetworkScopePrincipalStateReason object

Required: No

See Also

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