CustomResourceConfig Type
High-level Custom Resource builder for one-time deployment tasks. **Default Settings:** - Timeout = 5 minutes - Remove on update = true (cleanup on changes) **Rationale:** Custom Resources provide deployment-time execution similar to Azure Deployment Scripts. These defaults follow AWS Well-Architected Framework: - Reasonable timeout for typical init tasks - Automatic cleanup prevents resource leaks **Use Cases:** - Database migrations and seeding - DNS record creation - Third-party API calls - Certificate validation - Resource initialization **Escape Hatch:** Access the underlying CDK AwsCustomResource via the `CustomResource` property for advanced scenarios not covered by this builder.
Record fields
| Record Field | Description |
Full Usage:
ConstructId
Field type: string option
|
|
Full Usage:
InstallLatestAwsSdk
Field type: bool option
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
ResourceName
Field type: string
|
|
|
FsCDK