Represents a {@link https://registry.terraform.io/providers/spotinst/spotinst/1.199.0/docs spotinst}.
import "github.com/cdktf/cdktf-provider-spotinst-go/spotinst/v13/provider"
provider.NewSpotinstProvider(scope Construct, id *string, config SpotinstProviderConfig) SpotinstProvider
Name | Type | Description |
---|---|---|
scope |
github.com/aws/constructs-go/constructs/v10.Construct |
The scope in which to define this construct. |
id |
*string |
The scoped construct ID. |
config |
SpotinstProviderConfig |
No description. |
- Type: github.com/aws/constructs-go/constructs/v10.Construct
The scope in which to define this construct.
- Type: *string
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: SpotinstProviderConfig
Name | Description |
---|---|
ToString |
Returns a string representation of this construct. |
AddOverride |
No description. |
OverrideLogicalId |
Overrides the auto-generated logical ID with a specific ID. |
ResetOverrideLogicalId |
Resets a previously passed logical Id to use the auto-generated logical id again. |
ToHclTerraform |
No description. |
ToMetadata |
No description. |
ToTerraform |
Adds this resource to the terraform JSON output. |
ResetAccount |
No description. |
ResetAlias |
No description. |
ResetEnabled |
No description. |
ResetFeatureFlags |
No description. |
ResetToken |
No description. |
func ToString() *string
Returns a string representation of this construct.
func AddOverride(path *string, value interface{})
- Type: *string
- Type: interface{}
func OverrideLogicalId(newLogicalId *string)
Overrides the auto-generated logical ID with a specific ID.
- Type: *string
The new logical ID to use for this stack element.
func ResetOverrideLogicalId()
Resets a previously passed logical Id to use the auto-generated logical id again.
func ToHclTerraform() interface{}
func ToMetadata() interface{}
func ToTerraform() interface{}
Adds this resource to the terraform JSON output.
func ResetAccount()
func ResetAlias()
func ResetEnabled()
func ResetFeatureFlags()
func ResetToken()
Name | Description |
---|---|
IsConstruct |
Checks if x is a construct. |
IsTerraformElement |
No description. |
IsTerraformProvider |
No description. |
GenerateConfigForImport |
Generates CDKTF code for importing a SpotinstProvider resource upon running "cdktf plan ". |
import "github.com/cdktf/cdktf-provider-spotinst-go/spotinst/v13/provider"
provider.SpotinstProvider_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.
- Type: interface{}
Any object.
import "github.com/cdktf/cdktf-provider-spotinst-go/spotinst/v13/provider"
provider.SpotinstProvider_IsTerraformElement(x interface{}) *bool
- Type: interface{}
import "github.com/cdktf/cdktf-provider-spotinst-go/spotinst/v13/provider"
provider.SpotinstProvider_IsTerraformProvider(x interface{}) *bool
- Type: interface{}
import "github.com/cdktf/cdktf-provider-spotinst-go/spotinst/v13/provider"
provider.SpotinstProvider_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource
Generates CDKTF code for importing a SpotinstProvider resource upon running "cdktf plan ".
- Type: github.com/aws/constructs-go/constructs/v10.Construct
The scope in which to define this construct.
- Type: *string
The construct id used in the generated config for the SpotinstProvider to import.
- Type: *string
The id of the existing SpotinstProvider that should be imported.
Refer to the {@link https://registry.terraform.io/providers/spotinst/spotinst/1.199.0/docs#import import section} in the documentation of this resource for the id to use
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider
? Optional instance of the provider where the SpotinstProvider to import is found.
Name | Type | Description |
---|---|---|
Node |
github.com/aws/constructs-go/constructs/v10.Node |
The tree node. |
CdktfStack |
github.com/hashicorp/terraform-cdk-go/cdktf.TerraformStack |
No description. |
Fqn |
*string |
No description. |
FriendlyUniqueId |
*string |
No description. |
MetaAttributes |
*map[string]interface{} |
No description. |
TerraformResourceType |
*string |
No description. |
TerraformGeneratorMetadata |
github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProviderGeneratorMetadata |
No description. |
TerraformProviderSource |
*string |
No description. |
Alias |
*string |
No description. |
AccountInput |
*string |
No description. |
AliasInput |
*string |
No description. |
EnabledInput |
interface{} |
No description. |
FeatureFlagsInput |
*string |
No description. |
TokenInput |
*string |
No description. |
Account |
*string |
No description. |
Enabled |
interface{} |
No description. |
FeatureFlags |
*string |
No description. |
Token |
*string |
No description. |
func Node() Node
- Type: github.com/aws/constructs-go/constructs/v10.Node
The tree node.
func CdktfStack() TerraformStack
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformStack
func Fqn() *string
- Type: *string
func FriendlyUniqueId() *string
- Type: *string
func MetaAttributes() *map[string]interface{}
- Type: *map[string]interface{}
func TerraformResourceType() *string
- Type: *string
func TerraformGeneratorMetadata() TerraformProviderGeneratorMetadata
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProviderGeneratorMetadata
func TerraformProviderSource() *string
- Type: *string
func Alias() *string
- Type: *string
func AccountInput() *string
- Type: *string
func AliasInput() *string
- Type: *string
func EnabledInput() interface{}
- Type: interface{}
func FeatureFlagsInput() *string
- Type: *string
func TokenInput() *string
- Type: *string
func Account() *string
- Type: *string
func Enabled() interface{}
- Type: interface{}
func FeatureFlags() *string
- Type: *string
func Token() *string
- Type: *string
Name | Type | Description |
---|---|---|
TfResourceType |
*string |
No description. |
func TfResourceType() *string
- Type: *string
import "github.com/cdktf/cdktf-provider-spotinst-go/spotinst/v13/provider"
&provider.SpotinstProviderConfig {
Account: *string,
Alias: *string,
Enabled: interface{},
FeatureFlags: *string,
Token: *string,
}
Name | Type | Description |
---|---|---|
Account |
*string |
Spotinst Account ID. |
Alias |
*string |
Alias name. |
Enabled |
interface{} |
Enable or disable the Spotinst provider. |
FeatureFlags |
*string |
Spotinst SDK Feature Flags. |
Token |
*string |
Spotinst Personal API Access Token. |
Account *string
- Type: *string
Spotinst Account ID.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/spotinst/spotinst/1.199.0/docs#account SpotinstProvider#account}
Alias *string
- Type: *string
Alias name.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/spotinst/spotinst/1.199.0/docs#alias SpotinstProvider#alias}
Enabled interface{}
- Type: interface{}
Enable or disable the Spotinst provider.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/spotinst/spotinst/1.199.0/docs#enabled SpotinstProvider#enabled}
FeatureFlags *string
- Type: *string
Spotinst SDK Feature Flags.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/spotinst/spotinst/1.199.0/docs#feature_flags SpotinstProvider#feature_flags}
Token *string
- Type: *string
Spotinst Personal API Access Token.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/spotinst/spotinst/1.199.0/docs#token SpotinstProvider#token}