AWS Fundamentals Logo
AWS Fundamentals
AWS::CloudFormation::CustomResource

CloudFormation CustomResource

Resource Type definition for AWS::CloudFormation::CustomResource

Properties

2 configurable properties. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
ServiceToken
string
RequiredCreate-only
ServiceTimeout
integer

Return Values

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

AttributeTypeDescription
Idstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CloudFormation::CustomResource

Resources:
  MyResource:
    Type: AWS::CloudFormation::CustomResource
    Properties:
      ServiceToken: "value"

Get the CloudFormation Cheat Sheet

Everything you need to know about CloudFormation on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceCloudFormation
Properties3
Required1
TaggingNot supported
Primary IDId

Immutable After Creation

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

ServiceToken

External Links