

# AssignmentScope

A scope entry for permission set assignment.

## Contents
<a name="API_AssignmentScope_Contents"></a>

 ** id **   <a name="assurance-Type-AssignmentScope-id"></a>
The identifier of the scoped resource.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `[a-zA-Z0-9][a-zA-Z0-9\-_:/.]*`   
Required: Yes

 ** type **   <a name="assurance-Type-AssignmentScope-type"></a>
The type of the scope entry. Only PROJECT is accepted; to assign across the whole environment, omit scopes rather than sending ENVIRONMENT.  
Type: String  
Valid Values: `ENVIRONMENT | PROJECT`   
Required: Yes

## See Also
<a name="API_AssignmentScope_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/assurance-2022-07-26/AssignmentScope) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/assurance-2022-07-26/AssignmentScope) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/assurance-2022-07-26/AssignmentScope) 