

# ServiceResource
<a name="API_ServiceResource"></a>

Represents a resource associated with a service.

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

 ** resource **   <a name="ngresiliencehub-Type-ServiceResource-resource"></a>
The resource details.  
Type: [Resource](API_Resource.md) object  
Required: Yes

 ** resourceIdentifier **   <a name="ngresiliencehub-Type-ServiceResource-resourceIdentifier"></a>
The identifier of the resource.  
Type: String  
Required: Yes

 ** inputSource **   <a name="ngresiliencehub-Type-ServiceResource-inputSource"></a>
The input source that discovered the resource.  
Type: [InputSource](API_InputSource.md) object  
Required: No

## See Also
<a name="API_ServiceResource_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/resiliencehubv2-2026-02-17/ServiceResource) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/resiliencehubv2-2026-02-17/ServiceResource) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/resiliencehubv2-2026-02-17/ServiceResource) 