Represents a {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.46.1/docs digitalocean}.
import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v11/provider"
provider.NewDigitaloceanProvider(scope Construct, id *string, config DigitaloceanProviderConfig) DigitaloceanProvider
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 |
DigitaloceanProviderConfig |
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
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. |
ResetAlias |
No description. |
ResetApiEndpoint |
No description. |
ResetHttpRetryMax |
No description. |
ResetHttpRetryWaitMax |
No description. |
ResetHttpRetryWaitMin |
No description. |
ResetRequestsPerSecond |
No description. |
ResetSpacesAccessId |
No description. |
ResetSpacesEndpoint |
No description. |
ResetSpacesSecretKey |
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 ResetAlias()
func ResetApiEndpoint()
func ResetHttpRetryMax()
func ResetHttpRetryWaitMax()
func ResetHttpRetryWaitMin()
func ResetRequestsPerSecond()
func ResetSpacesAccessId()
func ResetSpacesEndpoint()
func ResetSpacesSecretKey()
func ResetToken()
Name | Description |
---|---|
IsConstruct |
Checks if x is a construct. |
IsTerraformElement |
No description. |
IsTerraformProvider |
No description. |
GenerateConfigForImport |
Generates CDKTF code for importing a DigitaloceanProvider resource upon running "cdktf plan ". |
import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v11/provider"
provider.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.
- Type: interface{}
Any object.
import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v11/provider"
provider.DigitaloceanProvider_IsTerraformElement(x interface{}) *bool
- Type: interface{}
import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v11/provider"
provider.DigitaloceanProvider_IsTerraformProvider(x interface{}) *bool
- Type: interface{}
import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v11/provider"
provider.DigitaloceanProvider_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource
Generates CDKTF code for importing a DigitaloceanProvider 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 DigitaloceanProvider to import.
- Type: *string
The id of the existing DigitaloceanProvider that should be imported.
Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.46.1/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 DigitaloceanProvider 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. |
AliasInput |
*string |
No description. |
ApiEndpointInput |
*string |
No description. |
HttpRetryMaxInput |
*f64 |
No description. |
HttpRetryWaitMaxInput |
*f64 |
No description. |
HttpRetryWaitMinInput |
*f64 |
No description. |
RequestsPerSecondInput |
*f64 |
No description. |
SpacesAccessIdInput |
*string |
No description. |
SpacesEndpointInput |
*string |
No description. |
SpacesSecretKeyInput |
*string |
No description. |
TokenInput |
*string |
No description. |
ApiEndpoint |
*string |
No description. |
HttpRetryMax |
*f64 |
No description. |
HttpRetryWaitMax |
*f64 |
No description. |
HttpRetryWaitMin |
*f64 |
No description. |
RequestsPerSecond |
*f64 |
No description. |
SpacesAccessId |
*string |
No description. |
SpacesEndpoint |
*string |
No description. |
SpacesSecretKey |
*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 AliasInput() *string
- Type: *string
func ApiEndpointInput() *string
- Type: *string
func HttpRetryMaxInput() *f64
- Type: *f64
func HttpRetryWaitMaxInput() *f64
- Type: *f64
func HttpRetryWaitMinInput() *f64
- Type: *f64
func RequestsPerSecondInput() *f64
- Type: *f64
func SpacesAccessIdInput() *string
- Type: *string
func SpacesEndpointInput() *string
- Type: *string
func SpacesSecretKeyInput() *string
- Type: *string
func TokenInput() *string
- Type: *string
func ApiEndpoint() *string
- Type: *string
func HttpRetryMax() *f64
- Type: *f64
func HttpRetryWaitMax() *f64
- Type: *f64
func HttpRetryWaitMin() *f64
- Type: *f64
func RequestsPerSecond() *f64
- Type: *f64
func SpacesAccessId() *string
- Type: *string
func SpacesEndpoint() *string
- Type: *string
func SpacesSecretKey() *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-digitalocean-go/digitalocean/v11/provider"
&provider.DigitaloceanProviderConfig {
Alias: *string,
ApiEndpoint: *string,
HttpRetryMax: *f64,
HttpRetryWaitMax: *f64,
HttpRetryWaitMin: *f64,
RequestsPerSecond: *f64,
SpacesAccessId: *string,
SpacesEndpoint: *string,
SpacesSecretKey: *string,
Token: *string,
}
Name | Type | Description |
---|---|---|
Alias |
*string |
Alias name. |
ApiEndpoint |
*string |
The URL to use for the DigitalOcean API. |
HttpRetryMax |
*f64 |
The maximum number of retries on a failed API request. |
HttpRetryWaitMax |
*f64 |
The maximum wait time (in seconds) between failed API requests. |
HttpRetryWaitMin |
*f64 |
The minimum wait time (in seconds) between failed API requests. |
RequestsPerSecond |
*f64 |
The rate of requests per second to limit the HTTP client. |
SpacesAccessId |
*string |
The access key ID for Spaces API operations. |
SpacesEndpoint |
*string |
The URL to use for the DigitalOcean Spaces API. |
SpacesSecretKey |
*string |
The secret access key for Spaces API operations. |
Token |
*string |
The token key for API operations. |
Alias *string
- Type: *string
Alias name.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.46.1/docs#alias DigitaloceanProvider#alias}
ApiEndpoint *string
- Type: *string
The URL to use for the DigitalOcean API.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.46.1/docs#api_endpoint DigitaloceanProvider#api_endpoint}
HttpRetryMax *f64
- Type: *f64
The maximum number of retries on a failed API request.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.46.1/docs#http_retry_max DigitaloceanProvider#http_retry_max}
HttpRetryWaitMax *f64
- Type: *f64
The maximum wait time (in seconds) between failed API requests.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.46.1/docs#http_retry_wait_max DigitaloceanProvider#http_retry_wait_max}
HttpRetryWaitMin *f64
- Type: *f64
The minimum wait time (in seconds) between failed API requests.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.46.1/docs#http_retry_wait_min DigitaloceanProvider#http_retry_wait_min}
RequestsPerSecond *f64
- Type: *f64
The rate of requests per second to limit the HTTP client.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.46.1/docs#requests_per_second DigitaloceanProvider#requests_per_second}
SpacesAccessId *string
- Type: *string
The access key ID for Spaces API operations.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.46.1/docs#spaces_access_id DigitaloceanProvider#spaces_access_id}
SpacesEndpoint *string
- Type: *string
The URL to use for the DigitalOcean Spaces API.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.46.1/docs#spaces_endpoint DigitaloceanProvider#spaces_endpoint}
SpacesSecretKey *string
- Type: *string
The secret access key for Spaces API operations.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.46.1/docs#spaces_secret_key DigitaloceanProvider#spaces_secret_key}
Token *string
- Type: *string
The token key for API operations.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.46.1/docs#token DigitaloceanProvider#token}