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,
StateReasonsays 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,StateReasondescribes it. The association is retried, and the principal becomesASSOCIATEDwhen 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, soListNetworkScopePrincipalsno 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, andStateReasondescribes the cause. The principal returns toASSOCIATINGwhen the cause is resolved. This state applies only to network scopes with theORGANIZATIONSaccess mode.
Type: String
Valid Values:
ASSOCIATING | ASSOCIATED | FAILED | DISASSOCIATING | DISASSOCIATED | INACTIVERequired: Yes
-
- StateReason
-
The reason for the current state of the principal. A reason is always returned for a principal in the
INACTIVEstate. For a principal in theFAILEDstate, or in theASSOCIATEDstate 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 theDISASSOCIATINGstate 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: