provider

package
v4.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

README

provider

Refer to the Terraform Registory for docs: digitalocean.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DigitaloceanProvider_IsConstruct

func DigitaloceanProvider_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 DigitaloceanProvider_IsTerraformElement

func DigitaloceanProvider_IsTerraformElement(x interface{}) *bool

Experimental.

func DigitaloceanProvider_IsTerraformProvider

func DigitaloceanProvider_IsTerraformProvider(x interface{}) *bool

Experimental.

func DigitaloceanProvider_TfResourceType

func DigitaloceanProvider_TfResourceType() *string

func NewDigitaloceanProvider_Override

func NewDigitaloceanProvider_Override(d DigitaloceanProvider, scope constructs.Construct, id *string, config *DigitaloceanProviderConfig)

Create a new {@link https://www.terraform.io/docs/providers/digitalocean digitalocean} Resource.

Types

type DigitaloceanProvider

type DigitaloceanProvider interface {
	cdktf.TerraformProvider
	Alias() *string
	SetAlias(val *string)
	AliasInput() *string
	ApiEndpoint() *string
	SetApiEndpoint(val *string)
	ApiEndpointInput() *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{}
	SpacesAccessId() *string
	SetSpacesAccessId(val *string)
	SpacesAccessIdInput() *string
	SpacesEndpoint() *string
	SetSpacesEndpoint(val *string)
	SpacesEndpointInput() *string
	SpacesSecretKey() *string
	SetSpacesSecretKey(val *string)
	SpacesSecretKeyInput() *string
	// Experimental.
	TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
	// Experimental.
	TerraformProviderSource() *string
	// Experimental.
	TerraformResourceType() *string
	Token() *string
	SetToken(val *string)
	TokenInput() *string
	// Experimental.
	AddOverride(path *string, value interface{})
	// Overrides the auto-generated logical ID with a specific ID.
	// Experimental.
	OverrideLogicalId(newLogicalId *string)
	ResetAlias()
	ResetApiEndpoint()
	// Resets a previously passed logical Id to use the auto-generated logical id again.
	// Experimental.
	ResetOverrideLogicalId()
	ResetSpacesAccessId()
	ResetSpacesEndpoint()
	ResetSpacesSecretKey()
	ResetToken()
	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{}
}

Represents a {@link https://www.terraform.io/docs/providers/digitalocean digitalocean}.

func NewDigitaloceanProvider

func NewDigitaloceanProvider(scope constructs.Construct, id *string, config *DigitaloceanProviderConfig) DigitaloceanProvider

Create a new {@link https://www.terraform.io/docs/providers/digitalocean digitalocean} Resource.

type DigitaloceanProviderConfig

type DigitaloceanProviderConfig struct {
	// Alias name.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean#alias DigitaloceanProvider#alias}
	Alias *string `field:"optional" json:"alias" yaml:"alias"`
	// The URL to use for the DigitalOcean API.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean#api_endpoint DigitaloceanProvider#api_endpoint}
	ApiEndpoint *string `field:"optional" json:"apiEndpoint" yaml:"apiEndpoint"`
	// The access key ID for Spaces API operations.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean#spaces_access_id DigitaloceanProvider#spaces_access_id}
	SpacesAccessId *string `field:"optional" json:"spacesAccessId" yaml:"spacesAccessId"`
	// The URL to use for the DigitalOcean Spaces API.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean#spaces_endpoint DigitaloceanProvider#spaces_endpoint}
	SpacesEndpoint *string `field:"optional" json:"spacesEndpoint" yaml:"spacesEndpoint"`
	// The secret access key for Spaces API operations.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean#spaces_secret_key DigitaloceanProvider#spaces_secret_key}
	SpacesSecretKey *string `field:"optional" json:"spacesSecretKey" yaml:"spacesSecretKey"`
	// The token key for API operations.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/digitalocean#token DigitaloceanProvider#token}
	Token *string `field:"optional" json:"token" yaml:"token"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL