Class: Aws::NetworkManager::Types::NetworkScopePrincipal
- Inherits:
-
Struct
- Object
- Struct
- Aws::NetworkManager::Types::NetworkScopePrincipal
- Defined in:
- gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb
Overview
Describes a principal associated with a network scope.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#network_scope_id ⇒ String
The ID of the network scope.
-
#principal ⇒ String
The principal.
-
#principal_regions ⇒ Array<String>
The AWS Regions of the network scope.
-
#state ⇒ String
The state of the principal.
-
#state_reason ⇒ Types::NetworkScopePrincipalStateReason
The reason for the current state of the principal.
Instance Attribute Details
#network_scope_id ⇒ String
The ID of the network scope.
7132 7133 7134 7135 7136 7137 7138 7139 7140 |
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 7132 class NetworkScopePrincipal < Struct.new( :network_scope_id, :principal, :principal_regions, :state, :state_reason) SENSITIVE = [] include Aws::Structure end |
#principal ⇒ String
The principal.
7132 7133 7134 7135 7136 7137 7138 7139 7140 |
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 7132 class NetworkScopePrincipal < Struct.new( :network_scope_id, :principal, :principal_regions, :state, :state_reason) SENSITIVE = [] include Aws::Structure end |
#principal_regions ⇒ Array<String>
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.
7132 7133 7134 7135 7136 7137 7138 7139 7140 |
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 7132 class NetworkScopePrincipal < Struct.new( :network_scope_id, :principal, :principal_regions, :state, :state_reason) SENSITIVE = [] include Aws::Structure end |
#state ⇒ String
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.
7132 7133 7134 7135 7136 7137 7138 7139 7140 |
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 7132 class NetworkScopePrincipal < Struct.new( :network_scope_id, :principal, :principal_regions, :state, :state_reason) SENSITIVE = [] include Aws::Structure end |
#state_reason ⇒ Types::NetworkScopePrincipalStateReason
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.
7132 7133 7134 7135 7136 7137 7138 7139 7140 |
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 7132 class NetworkScopePrincipal < Struct.new( :network_scope_id, :principal, :principal_regions, :state, :state_reason) SENSITIVE = [] include Aws::Structure end |