diff --git a/website/docs/cdktf/concepts/iterators.mdx b/website/docs/cdktf/concepts/iterators.mdx index 9826ccae05..11dc509b8a 100644 --- a/website/docs/cdktf/concepts/iterators.mdx +++ b/website/docs/cdktf/concepts/iterators.mdx @@ -303,6 +303,9 @@ The following example validates an ACM certificate through DNS validation: + + + ```ts const cert = new AcmCertificate(this, "cert", { domainName: "example.com", @@ -477,6 +480,9 @@ acmcertificatevalidation.NewAcmCertificateValidation(stack, jsii.String("validat }) ``` + + + ## Using Iterators for List Attributes You can also use iterators to create a list of objects based on each item in a list and assign the result as a value to a property of a resource. This is equivalent to using `Array.map` in TypeScript and using [dynamic blocks](/terraform/language/expressions/dynamic-blocks) in a Terraform HCL configuration.