Documentation ¶
Overview ¶
A drop-in replacement for cdktf.TerraformStack that lets you define Terraform modules as constructs
Index ¶
- func NewProviderRequirement_Override(p ProviderRequirement, scope constructs.Construct, providerName *string, ...)
- func NewTFModuleApp_Override(t TFModuleApp, options *cdktf.AppConfig)
- func NewTFModuleOutput_Override(t TFModuleOutput, scope constructs.Construct, name *string, ...)
- func NewTFModuleStack_Override(t TFModuleStack, scope constructs.Construct, id *string)
- func NewTFModuleVariable_Override(t TFModuleVariable, scope constructs.Construct, name *string, ...)
- func ProviderRequirement_IsConstruct(x interface{}) *bool
- func ProviderRequirement_IsTerraformElement(x interface{}) *bool
- func ProviderRequirement_IsTerraformProvider(x interface{}) *bool
- func TFModuleApp_IsApp(x interface{}) *bool
- func TFModuleApp_IsConstruct(x interface{}) *bool
- func TFModuleApp_Of(construct constructs.IConstruct) cdktf.App
- func TFModuleOutput_IsConstruct(x interface{}) *bool
- func TFModuleOutput_IsTerraformElement(x interface{}) *bool
- func TFModuleOutput_IsTerraformOutput(x interface{}) *bool
- func TFModuleStack_IsConstruct(x interface{}) *bool
- func TFModuleStack_IsStack(x interface{}) *bool
- func TFModuleStack_Of(construct constructs.IConstruct) cdktf.TerraformStack
- func TFModuleVariable_IsConstruct(x interface{}) *bool
- func TFModuleVariable_IsTerraformElement(x interface{}) *bool
- type ProviderRequirement
- type TFModuleApp
- type TFModuleOutput
- type TFModuleStack
- type TFModuleVariable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProviderRequirement_Override ¶
func NewProviderRequirement_Override(p ProviderRequirement, scope constructs.Construct, providerName *string, providerVersionConstraint *string, terraformProviderSource *string)
func NewTFModuleApp_Override ¶
func NewTFModuleApp_Override(t TFModuleApp, options *cdktf.AppConfig)
func NewTFModuleOutput_Override ¶
func NewTFModuleOutput_Override(t TFModuleOutput, scope constructs.Construct, name *string, config *cdktf.TerraformOutputConfig)
func NewTFModuleStack_Override ¶
func NewTFModuleStack_Override(t TFModuleStack, scope constructs.Construct, id *string)
Experimental.
func NewTFModuleVariable_Override ¶
func NewTFModuleVariable_Override(t TFModuleVariable, scope constructs.Construct, name *string, config *cdktf.TerraformVariableConfig)
func ProviderRequirement_IsConstruct ¶
func ProviderRequirement_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead.
func ProviderRequirement_IsTerraformElement ¶
func ProviderRequirement_IsTerraformElement(x interface{}) *bool
Experimental.
func ProviderRequirement_IsTerraformProvider ¶
func ProviderRequirement_IsTerraformProvider(x interface{}) *bool
Experimental.
func TFModuleApp_IsConstruct ¶
func TFModuleApp_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead.
func TFModuleOutput_IsConstruct ¶
func TFModuleOutput_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead.
func TFModuleOutput_IsTerraformElement ¶
func TFModuleOutput_IsTerraformElement(x interface{}) *bool
Experimental.
func TFModuleOutput_IsTerraformOutput ¶
func TFModuleOutput_IsTerraformOutput(x interface{}) *bool
Experimental.
func TFModuleStack_IsConstruct ¶
func TFModuleStack_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead.
func TFModuleStack_Of ¶
func TFModuleStack_Of(construct constructs.IConstruct) cdktf.TerraformStack
Experimental.
func TFModuleVariable_IsConstruct ¶
func TFModuleVariable_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead.
func TFModuleVariable_IsTerraformElement ¶
func TFModuleVariable_IsTerraformElement(x interface{}) *bool
Experimental.
Types ¶
type ProviderRequirement ¶
type ProviderRequirement interface { cdktf.TerraformProvider // Experimental. Alias() *string // Experimental. SetAlias(val *string) // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string // Experimental. MetaAttributes() *map[string]interface{} // The tree node. Node() constructs.Node // Experimental. RawOverrides() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformProviderSource() *string // Experimental. TerraformResourceType() *string // Experimental. AddOverride(path *string, value interface{}) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() // Experimental. SynthesizeAttributes() *map[string]interface{} // Experimental. SynthesizeHclAttributes() *map[string]interface{} // Experimental. ToHclTerraform() interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
func NewProviderRequirement ¶
func NewProviderRequirement(scope constructs.Construct, providerName *string, providerVersionConstraint *string, terraformProviderSource *string) ProviderRequirement
type TFModuleApp ¶
type TFModuleApp interface { cdktf.App // Experimental. HclOutput() *bool // Experimental. Manifest() cdktf.Manifest // The tree node. Node() constructs.Node // The output directory into which resources will be synthesized. // Experimental. Outdir() *string // Whether to skip backend validation during synthesis of the app. // Experimental. SkipBackendValidation() *bool // Whether to skip all validations during synthesis of the app. // Experimental. SkipValidation() *bool // The stack which will be synthesized. // // If not set, all stacks will be synthesized. // Experimental. TargetStackId() *string // Creates a reference from one stack to another, invoked on prepareStack since it creates extra resources. // Experimental. CrossStackReference(fromStack cdktf.TerraformStack, toStack cdktf.TerraformStack, identifier *string) *string // Synthesizes all resources to the output directory. // Experimental. Synth() // Returns a string representation of this construct. ToString() *string }
func NewTFModuleApp ¶
func NewTFModuleApp(options *cdktf.AppConfig) TFModuleApp
type TFModuleOutput ¶
type TFModuleOutput interface { cdktf.TerraformOutput // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. DependsOn() *[]cdktf.ITerraformDependable // Experimental. SetDependsOn(val *[]cdktf.ITerraformDependable) // Experimental. Description() *string // Experimental. SetDescription(val *string) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string // The tree node. Node() constructs.Node // Experimental. Precondition() *cdktf.Precondition // Experimental. SetPrecondition(val *cdktf.Precondition) // Experimental. RawOverrides() interface{} // Experimental. Sensitive() *bool // Experimental. SetSensitive(val *bool) // Experimental. StaticId() *bool // Experimental. SetStaticId(val *bool) // Experimental. Value() interface{} // Experimental. SetValue(val interface{}) // Experimental. AddOverride(path *string, value interface{}) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() // Experimental. SynthesizeAttributes() *map[string]interface{} // Experimental. SynthesizeHclAttributes() *map[string]interface{} // Experimental. ToHclTerraform() interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string ToTerraform() interface{} }
func NewTFModuleOutput ¶
func NewTFModuleOutput(scope constructs.Construct, name *string, config *cdktf.TerraformOutputConfig) TFModuleOutput
type TFModuleStack ¶
type TFModuleStack interface { cdktf.TerraformStack // Experimental. Dependencies() *[]cdktf.TerraformStack // Experimental. SetDependencies(val *[]cdktf.TerraformStack) // Experimental. MoveTargets() cdktf.TerraformResourceTargets // Experimental. SetMoveTargets(val cdktf.TerraformResourceTargets) // The tree node. Node() constructs.Node // Experimental. Synthesizer() cdktf.IStackSynthesizer // Experimental. SetSynthesizer(val cdktf.IStackSynthesizer) // Experimental. AddDependency(dependency cdktf.TerraformStack) // Experimental. AddOverride(path *string, value interface{}) // Returns the naming scheme used to allocate logical IDs. // // By default, uses // the `HashedAddressingScheme` but this method can be overridden to customize // this behavior. // Experimental. AllocateLogicalId(tfElement interface{}) *string // Experimental. AllProviders() *[]cdktf.TerraformProvider // Experimental. DependsOn(stack cdktf.TerraformStack) *bool // Experimental. EnsureBackendExists() cdktf.TerraformBackend // Experimental. GetLogicalId(tfElement interface{}) *string // Experimental. HasResourceMove() *bool // Experimental. PrepareStack() // Experimental. RegisterIncomingCrossStackReference(fromStack cdktf.TerraformStack) cdktf.TerraformRemoteState // Experimental. RegisterOutgoingCrossStackReference(identifier *string) cdktf.TerraformOutput // Run all validations on the stack. // Experimental. RunAllValidations() // Experimental. ToHclTerraform() *map[string]interface{} // Returns a string representation of this construct. ToString() *string ToTerraform() interface{} }
func NewTFModuleStack ¶
func NewTFModuleStack(scope constructs.Construct, id *string) TFModuleStack
Experimental.
type TFModuleVariable ¶
type TFModuleVariable interface { cdktf.TerraformVariable // Experimental. BooleanValue() cdktf.IResolvable // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Default() interface{} // Experimental. Description() *string // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string // Experimental. ListValue() *[]*string // The tree node. Node() constructs.Node // Experimental. Nullable() *bool // Experimental. NumberValue() *float64 // Experimental. RawOverrides() interface{} // Experimental. Sensitive() *bool // Experimental. StringValue() *string // Experimental. Type() *string // Experimental. Validation() *[]*cdktf.TerraformVariableValidationConfig // Experimental. Value() interface{} // Experimental. AddOverride(path *string, value interface{}) // Experimental. AddValidation(validation *cdktf.TerraformVariableValidationConfig) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() // Experimental. SynthesizeAttributes() *map[string]interface{} // Experimental. SynthesizeHclAttributes() *map[string]interface{} // Experimental. ToHclTerraform() interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. // // Returns: a string token referencing the value of this variable. // Experimental. ToString() *string ToTerraform() interface{} }
func NewTFModuleVariable ¶
func NewTFModuleVariable(scope constructs.Construct, name *string, config *cdktf.TerraformVariableConfig) TFModuleVariable