Initializers
ScopeRequired
- Type: Constructs.Construct
IdRequired
- Type: string
ConfigOptional
- Type: DataConfig
Methods
ToString
With
with() calls if subsequent mixins should apply to added
constructs.
MixinsRequired
- Type: params Constructs.IMixin[]
AddOverride
PathRequired
- Type: string
ValueRequired
- Type: object
OverrideLogicalId
NewLogicalIdRequired
- Type: string
ResetOverrideLogicalId
ToHclTerraform
ToMetadata
ToTerraform
AddMoveTarget
MoveTargetRequired
- Type: string
GetAnyMapAttribute
TerraformAttributeRequired
- Type: string
GetBooleanAttribute
TerraformAttributeRequired
- Type: string
GetBooleanMapAttribute
TerraformAttributeRequired
- Type: string
GetListAttribute
TerraformAttributeRequired
- Type: string
GetNumberAttribute
TerraformAttributeRequired
- Type: string
GetNumberListAttribute
TerraformAttributeRequired
- Type: string
GetNumberMapAttribute
TerraformAttributeRequired
- Type: string
GetStringAttribute
TerraformAttributeRequired
- Type: string
GetStringMapAttribute
TerraformAttributeRequired
- Type: string
HasResourceMove
ImportFrom
IdRequired
- Type: string
ProviderOptional
- Type: TerraformProvider
InterpolationForAttribute
TerraformAttributeRequired
- Type: string
MoveFromId
IdRequired
- Type: string
MoveTo
MoveTargetRequired
- Type: string
IndexOptional
- Type: string|double
MoveToId
IdRequired
- Type: string
ResetInput
ResetTriggersReplace
Static Functions
IsConstruct
x is a construct.
Use this method instead of instanceof to properly detect Construct
instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs library on
disk are seen as independent, completely different libraries. As a
consequence, the class Construct in each copy of the constructs library
is seen as a different class, and an instance of one class will not test as
instanceof the other class. npm install will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the constructs
library can be accidentally installed, and instanceof will behave
unpredictably. It is safest to avoid using instanceof, and using
this type-testing method instead.
XRequired
- Type: object
IsTerraformElement
XRequired
- Type: object
IsTerraformResource
XRequired
- Type: object
GenerateConfigForImport
ScopeRequired
- Type: Constructs.Construct
ImportToIdRequired
- Type: string
ImportFromIdRequired
- Type: string
ProviderOptional
- Type: TerraformProvider
Properties
NodeRequired
- Type: Constructs.Node
CdktfStackRequired
- Type: TerraformStack
FqnRequired
- Type: string
FriendlyUniqueIdRequired
- Type: string
TerraformMetaArgumentsRequired
- Type: System.Collections.Generic.IDictionary< string, object >
TerraformResourceTypeRequired
- Type: string
TerraformGeneratorMetadataOptional
ConnectionOptional
CountOptional
- Type: double|TerraformCount
DependsOnOptional
- Type: string[]
ForEachOptional
- Type: ITerraformIterator
LifecycleOptional
ProviderOptional
- Type: TerraformProvider
ProvisionersOptional
IdRequired
- Type: string
OutputRequired
- Type: AnyMap
InputInputOptional
- Type: System.Collections.Generic.IDictionary< string, object >
TriggersReplaceInputOptional
- Type: System.Collections.Generic.IDictionary< string, object >
InputRequired
- Type: System.Collections.Generic.IDictionary< string, object >
TriggersReplaceRequired
- Type: System.Collections.Generic.IDictionary< string, object >
Constants
TfResourceTypeRequired
- Type: string