---
type: resource-type
title: ServiceFunction
description: aws resource type AWS::ResilienceHubV2::ServiceFunction
name: ServiceFunction
lexicon: aws
resource_type: AWS::ResilienceHubV2::ServiceFunction
---
`AWS::ResilienceHubV2::ServiceFunction`, a resource type of the aws lexicon.

## Properties

- `Criticality` (`"PRIMARY" | "SUPPLEMENTAL"`, required): The criticality of the service function.
- `Name` (`string`, required): The name of the service function.
- `ServiceArn` (`string`, required): The ARN of the parent service.
- `CreatedAt` (`string`, optional): The timestamp when the service function was created.
- `Description` (`string`, optional): The description of the service function.
- `ResourceCount` (`number`, optional): The number of resources associated with this function.
- `ServiceFunctionId` (`string`, optional): The server-generated service function ID.
- `Source` (`"AI_GENERATED" | "USER"`, optional): The source of the service function.
- `UpdatedAt` (`string`, optional): The timestamp when the service function was last updated.

## Attributes

- `CreatedAt`
- `ResourceCount`
- `ServiceFunctionId`
- `Source`
- `UpdatedAt`
