AWS Fundamentals Logo
AWS Fundamentals
AWS::ResilienceHubV2::ServiceFunction

ResilienceHubV2 ServiceFunction

Creates a service function within a Resilience Hub service.

Properties

4 configurable properties. 3 required. Click a row to see details.

Filter:
PropertyTypeFlags
Criticality
string
Required
Name
string
Required
ServiceArn
string
RequiredCreate-only
Description
string

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
CreatedAtstringThe timestamp when the service function was created.
ResourceCountintegerThe number of resources associated with this function.
ServiceFunctionIdstringThe server-generated service function ID.
SourcestringThe source of the service function.
UpdatedAtstringThe timestamp when the service function was last updated.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
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"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

resiliencehub:CreateServiceFunctionresiliencehub:ListServiceFunctions

read

resiliencehub:ListServiceFunctions

update

resiliencehub:UpdateServiceFunctionresiliencehub:ListServiceFunctions

delete

resiliencehub:DeleteServiceFunction

list

resiliencehub:ListServiceFunctions

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceResilienceHubV2
Properties9
Required3
TaggingNot supported
Primary IDServiceArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

ServiceArn

External Links