AWS::ResilienceHubV2::ServiceFunctionCreates a service function within a Resilience Hub service.
4 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Criticality | string | Required |
Name | string | Required |
ServiceArn | string | RequiredCreate-only |
Description | string |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
CreatedAt | string | The timestamp when the service function was created. |
ResourceCount | integer | The number of resources associated with this function. |
ServiceFunctionId | string | The server-generated service function ID. |
Source | string | The source of the service function. |
UpdatedAt | string | The timestamp when the service function was last updated. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ResilienceHubV2::ServiceFunction
Resources:
MyResource:
Type: AWS::ResilienceHubV2::ServiceFunction
Properties:
ServiceArn: "arn:aws:service:region:account:resource"
Name: "my-name"
Criticality: "PRIMARY"
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
resiliencehub:CreateServiceFunctionresiliencehub:ListServiceFunctionsresiliencehub:ListServiceFunctionsresiliencehub:UpdateServiceFunctionresiliencehub:ListServiceFunctionsresiliencehub:DeleteServiceFunctionresiliencehub:ListServiceFunctionsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterServiceArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
ServiceArn