Documentation ¶
Overview ¶
A package that vends a construct to setup the surreal backend in CDKTF
A package that vends a construct to setup the surreal backend in CDKTF ¶
A package that vends a construct to setup the surreal backend in CDKTF
Index ¶
- func NewSurrealBackend_Override(s SurrealBackend, scope constructs.Construct, props *SurrealBackendProps)
- func SurrealBackend_IsBackend(x interface{}) *bool
- func SurrealBackend_IsConstruct(x interface{}) *bool
- func SurrealBackend_IsTerraformElement(x interface{}) *bool
- type SurrealBackend
- type SurrealBackendProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSurrealBackend_Override ¶
func NewSurrealBackend_Override(s SurrealBackend, scope constructs.Construct, props *SurrealBackendProps)
func SurrealBackend_IsConstruct ¶
func SurrealBackend_IsConstruct(x interface{}) *bool
Checks if `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.
Returns: true if `x` is an object created from a class which extends `Construct`.
func SurrealBackend_IsTerraformElement ¶
func SurrealBackend_IsTerraformElement(x interface{}) *bool
Experimental.
Types ¶
type SurrealBackend ¶
type SurrealBackend interface { cdktf.HttpBackend // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string // Experimental. Name() *string // The tree node. Node() constructs.Node // Experimental. RawOverrides() interface{} // Experimental. AddOverride(path *string, value interface{}) // Creates a TerraformRemoteState resource that accesses this backend. // Experimental. GetRemoteStateDataSource(scope constructs.Construct, name *string, _fromStack *string) cdktf.TerraformRemoteState // 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. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
func NewSurrealBackend ¶
func NewSurrealBackend(scope constructs.Construct, props *SurrealBackendProps) SurrealBackend
type SurrealBackendProps ¶
type SurrealBackendProps struct { Address *string `field:"required" json:"address" yaml:"address"` Password *string `field:"required" json:"password" yaml:"password"` Project *string `field:"required" json:"project" yaml:"project"` Stack *string `field:"required" json:"stack" yaml:"stack"` Username *string `field:"required" json:"username" yaml:"username"` SkipCertVerification *bool `field:"optional" json:"skipCertVerification" yaml:"skipCertVerification"` }