

# ResourceIdentifier
<a name="API_ResourceIdentifier"></a>

A structure that contains the ARN of a resource and its resource type.

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

**Note**  
In the following list, the required parameters are described first.

 ** ResourceArn **   <a name="ARG-Type-ResourceIdentifier-ResourceArn"></a>
The Amazon resource name (ARN) of a resource.  
Type: String  
Pattern: `arn:aws(-[a-z]+)*:[a-z0-9\-]*:([a-z]{2}(-[a-z]+)+-\d{1})?:([0-9]{12})?:.+`   
Required: No

 ** ResourceType **   <a name="ARG-Type-ResourceIdentifier-ResourceType"></a>
The resource type of a resource, such as `AWS::EC2::Instance`.  
Type: String  
Pattern: `AWS::[a-zA-Z0-9]+::\w+`   
Required: No

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/resource-groups-2017-11-27/ResourceIdentifier) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/resource-groups-2017-11-27/ResourceIdentifier) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/resource-groups-2017-11-27/ResourceIdentifier) 