Skip to content

Commit fa49ab4

Browse files
committed
Fix formatting.
1 parent 1119f03 commit fa49ab4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/utilities/custom_resources.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public class CustomSerializationHandler extends AbstractResourceHandler {
223223
While the library provides an easy-to-use interface, we recommend that you understand the lifecycle of CloudFormation custom resources before using them in production.
224224

225225
#### Creating a custom resource
226-
When CloudFormation issues a CREATE on a custom resource, there are 2 possible states: `CREATE_COMPLETE` and `CREATE_FAILED`
226+
When CloudFormation issues a `CREATE` on a custom resource, there are 2 possible states: `CREATE_COMPLETE` and `CREATE_FAILED`
227227
```mermaid
228228
stateDiagram
229229
direction LR
@@ -237,7 +237,7 @@ If the resource is created successfully, the `physicalResourceId` is stored by C
237237
If the resource failed to create, CloudFormation triggers a rollback operation by default (rollback can be disabled, see [stack failure options](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stack-failure-options.html))
238238

239239
#### Updating a custom resource
240-
CloudFormation issues an UPDATE operation on a custom resource only when one or more custom resource properties change.
240+
CloudFormation issues an `UPDATE` operation on a custom resource only when one or more custom resource properties change.
241241
During the update, the custom resource may update successfully, or may fail the update.
242242
```mermaid
243243
stateDiagram
@@ -278,7 +278,8 @@ stateDiagram
278278

279279
#### Deleting a custom resource
280280

281-
CloudFormation issues a DELETE on a custom resource when:
281+
CloudFormation issues a `DELETE` on a custom resource when:
282+
282283
- the CloudFormation stack is being deleted
283284
- a new `physicalResourceId` was received during an update, and CloudFormation proceeds to rollback(DELETE) the custom resource with the previous `physicalResourceId`.
284285

@@ -289,4 +290,4 @@ stateDiagram
289290
[*] --> deleteState
290291
deleteState --> DELETE_COMPLETE
291292
deleteState --> DELETE_FAILED
292-
```
293+
```

0 commit comments

Comments
 (0)