You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/utilities/custom_resources.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -223,7 +223,7 @@ public class CustomSerializationHandler extends AbstractResourceHandler {
223
223
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.
224
224
225
225
#### 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`
227
227
```mermaid
228
228
stateDiagram
229
229
direction LR
@@ -237,7 +237,7 @@ If the resource is created successfully, the `physicalResourceId` is stored by C
237
237
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))
238
238
239
239
#### 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.
241
241
During the update, the custom resource may update successfully, or may fail the update.
242
242
```mermaid
243
243
stateDiagram
@@ -278,7 +278,8 @@ stateDiagram
278
278
279
279
#### Deleting a custom resource
280
280
281
-
CloudFormation issues a DELETE on a custom resource when:
281
+
CloudFormation issues a `DELETE` on a custom resource when:
282
+
282
283
- the CloudFormation stack is being deleted
283
284
- a new `physicalResourceId` was received during an update, and CloudFormation proceeds to rollback(DELETE) the custom resource with the previous `physicalResourceId`.
0 commit comments