type
name
Optional args: TerraformArgsarguments
Optional provisioners: Provisioner[]provisioners
Readonly blockReadonly blockReadonly nameReadonly typeGet arguments.
Protected getGet inner blocks.
Get provisioners.
Set arguments.
arguments
Protected setSet inner blocks.
Set provisioners.
Convert resource into data source.
Refer to Terraform documentation on what can be put as arguments.
options
names of resource arguments to converted into data source arguments; use array for name mapping, position 0 = original resource's argument name, position 1 = mapped data source's argument name
Optional args: TerraformArgsextra arguments
Construct resource.
Refer to Terraform documentation on what can be put as type & arguments.