Documentation ¶
Index ¶
- func GoogleBigtableInstance_IsConstruct(x interface{}) *bool
- func GoogleBigtableInstance_IsTerraformElement(x interface{}) *bool
- func GoogleBigtableInstance_IsTerraformResource(x interface{}) *bool
- func GoogleBigtableInstance_TfResourceType() *string
- func NewGoogleBigtableInstanceClusterAutoscalingConfigOutputReference_Override(g GoogleBigtableInstanceClusterAutoscalingConfigOutputReference, ...)
- func NewGoogleBigtableInstanceClusterList_Override(g GoogleBigtableInstanceClusterList, ...)
- func NewGoogleBigtableInstanceClusterOutputReference_Override(g GoogleBigtableInstanceClusterOutputReference, ...)
- func NewGoogleBigtableInstance_Override(g GoogleBigtableInstance, scope constructs.Construct, id *string, ...)
- type GoogleBigtableInstance
- type GoogleBigtableInstanceCluster
- type GoogleBigtableInstanceClusterAutoscalingConfig
- type GoogleBigtableInstanceClusterAutoscalingConfigOutputReference
- type GoogleBigtableInstanceClusterList
- type GoogleBigtableInstanceClusterOutputReference
- type GoogleBigtableInstanceConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoogleBigtableInstance_IsConstruct ¶
func GoogleBigtableInstance_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 GoogleBigtableInstance_IsTerraformElement ¶
func GoogleBigtableInstance_IsTerraformElement(x interface{}) *bool
Experimental.
func GoogleBigtableInstance_IsTerraformResource ¶
func GoogleBigtableInstance_IsTerraformResource(x interface{}) *bool
Experimental.
func GoogleBigtableInstance_TfResourceType ¶
func GoogleBigtableInstance_TfResourceType() *string
func NewGoogleBigtableInstanceClusterAutoscalingConfigOutputReference_Override ¶
func NewGoogleBigtableInstanceClusterAutoscalingConfigOutputReference_Override(g GoogleBigtableInstanceClusterAutoscalingConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleBigtableInstanceClusterList_Override ¶
func NewGoogleBigtableInstanceClusterList_Override(g GoogleBigtableInstanceClusterList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleBigtableInstanceClusterOutputReference_Override ¶
func NewGoogleBigtableInstanceClusterOutputReference_Override(g GoogleBigtableInstanceClusterOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleBigtableInstance_Override ¶
func NewGoogleBigtableInstance_Override(g GoogleBigtableInstance, scope constructs.Construct, id *string, config *GoogleBigtableInstanceConfig)
Create a new {@link https://www.terraform.io/docs/providers/google-beta/r/google_bigtable_instance google_bigtable_instance} Resource.
Types ¶
type GoogleBigtableInstance ¶
type GoogleBigtableInstance interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack Cluster() GoogleBigtableInstanceClusterList ClusterInput() interface{} // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) DeletionProtection() interface{} SetDeletionProtection(val interface{}) DeletionProtectionInput() interface{} // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) DisplayName() *string SetDisplayName(val *string) DisplayNameInput() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string InstanceType() *string SetInstanceType(val *string) InstanceTypeInput() *string Labels() *map[string]*string SetLabels(val *map[string]*string) LabelsInput() *map[string]*string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node Project() *string SetProject(val *string) ProjectInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutCluster(value interface{}) ResetCluster() ResetDeletionProtection() ResetDisplayName() ResetId() ResetInstanceType() ResetLabels() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetProject() 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/google-beta/r/google_bigtable_instance google_bigtable_instance}.
func NewGoogleBigtableInstance ¶
func NewGoogleBigtableInstance(scope constructs.Construct, id *string, config *GoogleBigtableInstanceConfig) GoogleBigtableInstance
Create a new {@link https://www.terraform.io/docs/providers/google-beta/r/google_bigtable_instance google_bigtable_instance} Resource.
type GoogleBigtableInstanceCluster ¶
type GoogleBigtableInstanceCluster struct { // The ID of the Cloud Bigtable cluster. // // Must be 6-30 characters and must only contain hyphens, lowercase letters and numbers. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_bigtable_instance#cluster_id GoogleBigtableInstance#cluster_id} ClusterId *string `field:"required" json:"clusterId" yaml:"clusterId"` // autoscaling_config block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_bigtable_instance#autoscaling_config GoogleBigtableInstance#autoscaling_config} AutoscalingConfig *GoogleBigtableInstanceClusterAutoscalingConfig `field:"optional" json:"autoscalingConfig" yaml:"autoscalingConfig"` // Describes the Cloud KMS encryption key that will be used to protect the destination Bigtable cluster. // // The requirements for this key are: 1) The Cloud Bigtable service account associated with the project that contains this cluster must be granted the cloudkms.cryptoKeyEncrypterDecrypter role on the CMEK key. 2) Only regional keys can be used and the region of the CMEK key must match the region of the cluster. 3) All clusters within an instance must use the same CMEK key. Values are of the form projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key} // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_bigtable_instance#kms_key_name GoogleBigtableInstance#kms_key_name} KmsKeyName *string `field:"optional" json:"kmsKeyName" yaml:"kmsKeyName"` // The number of nodes in your Cloud Bigtable cluster. // // Required, with a minimum of 1 for each cluster in an instance. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_bigtable_instance#num_nodes GoogleBigtableInstance#num_nodes} NumNodes *float64 `field:"optional" json:"numNodes" yaml:"numNodes"` // The storage type to use. One of "SSD" or "HDD". Defaults to "SSD". // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_bigtable_instance#storage_type GoogleBigtableInstance#storage_type} StorageType *string `field:"optional" json:"storageType" yaml:"storageType"` // The zone to create the Cloud Bigtable cluster in. // // Each cluster must have a different zone in the same region. Zones that support Bigtable instances are noted on the Cloud Bigtable locations page. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_bigtable_instance#zone GoogleBigtableInstance#zone} Zone *string `field:"optional" json:"zone" yaml:"zone"` }
type GoogleBigtableInstanceClusterAutoscalingConfig ¶
type GoogleBigtableInstanceClusterAutoscalingConfig struct { // The target CPU utilization for autoscaling. Value must be between 10 and 80. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_bigtable_instance#cpu_target GoogleBigtableInstance#cpu_target} CpuTarget *float64 `field:"required" json:"cpuTarget" yaml:"cpuTarget"` // The maximum number of nodes for autoscaling. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_bigtable_instance#max_nodes GoogleBigtableInstance#max_nodes} MaxNodes *float64 `field:"required" json:"maxNodes" yaml:"maxNodes"` // The minimum number of nodes for autoscaling. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_bigtable_instance#min_nodes GoogleBigtableInstance#min_nodes} MinNodes *float64 `field:"required" json:"minNodes" yaml:"minNodes"` // The target storage utilization for autoscaling, in GB, for each node in a cluster. // // This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD cluster and between 8192 (8TiB) and 16384 (16 TiB) for an HDD cluster. If not set, whatever is already set for the cluster will not change, or if the cluster is just being created, it will use the default value of 2560 for SSD clusters and 8192 for HDD clusters. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_bigtable_instance#storage_target GoogleBigtableInstance#storage_target} StorageTarget *float64 `field:"optional" json:"storageTarget" yaml:"storageTarget"` }
type GoogleBigtableInstanceClusterAutoscalingConfigOutputReference ¶
type GoogleBigtableInstanceClusterAutoscalingConfigOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) CpuTarget() *float64 SetCpuTarget(val *float64) CpuTargetInput() *float64 // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *GoogleBigtableInstanceClusterAutoscalingConfig SetInternalValue(val *GoogleBigtableInstanceClusterAutoscalingConfig) MaxNodes() *float64 SetMaxNodes(val *float64) MaxNodesInput() *float64 MinNodes() *float64 SetMinNodes(val *float64) MinNodesInput() *float64 StorageTarget() *float64 SetStorageTarget(val *float64) StorageTargetInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetStorageTarget() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleBigtableInstanceClusterAutoscalingConfigOutputReference ¶
func NewGoogleBigtableInstanceClusterAutoscalingConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleBigtableInstanceClusterAutoscalingConfigOutputReference
type GoogleBigtableInstanceClusterList ¶
type GoogleBigtableInstanceClusterList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) GoogleBigtableInstanceClusterOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleBigtableInstanceClusterList ¶
func NewGoogleBigtableInstanceClusterList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleBigtableInstanceClusterList
type GoogleBigtableInstanceClusterOutputReference ¶
type GoogleBigtableInstanceClusterOutputReference interface { cdktf.ComplexObject AutoscalingConfig() GoogleBigtableInstanceClusterAutoscalingConfigOutputReference AutoscalingConfigInput() *GoogleBigtableInstanceClusterAutoscalingConfig ClusterId() *string SetClusterId(val *string) ClusterIdInput() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) KmsKeyName() *string SetKmsKeyName(val *string) KmsKeyNameInput() *string NumNodes() *float64 SetNumNodes(val *float64) NumNodesInput() *float64 StorageType() *string SetStorageType(val *string) StorageTypeInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Zone() *string SetZone(val *string) ZoneInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutAutoscalingConfig(value *GoogleBigtableInstanceClusterAutoscalingConfig) ResetAutoscalingConfig() ResetKmsKeyName() ResetNumNodes() ResetStorageType() ResetZone() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleBigtableInstanceClusterOutputReference ¶
func NewGoogleBigtableInstanceClusterOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleBigtableInstanceClusterOutputReference
type GoogleBigtableInstanceConfig ¶
type GoogleBigtableInstanceConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // The name (also called Instance Id in the Cloud Console) of the Cloud Bigtable instance. // // Must be 6-33 characters and must only contain hyphens, lowercase letters and numbers. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_bigtable_instance#name GoogleBigtableInstance#name} Name *string `field:"required" json:"name" yaml:"name"` // cluster block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_bigtable_instance#cluster GoogleBigtableInstance#cluster} Cluster interface{} `field:"optional" json:"cluster" yaml:"cluster"` // Whether or not to allow Terraform to destroy the instance. // // Unless this field is set to false in Terraform state, a terraform destroy or terraform apply that would delete the instance will fail. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_bigtable_instance#deletion_protection GoogleBigtableInstance#deletion_protection} DeletionProtection interface{} `field:"optional" json:"deletionProtection" yaml:"deletionProtection"` // The human-readable display name of the Bigtable instance. Defaults to the instance name. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_bigtable_instance#display_name GoogleBigtableInstance#display_name} DisplayName *string `field:"optional" json:"displayName" yaml:"displayName"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_bigtable_instance#id GoogleBigtableInstance#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // The instance type to create. One of "DEVELOPMENT" or "PRODUCTION". Defaults to "PRODUCTION". // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_bigtable_instance#instance_type GoogleBigtableInstance#instance_type} InstanceType *string `field:"optional" json:"instanceType" yaml:"instanceType"` // A mapping of labels to assign to the resource. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_bigtable_instance#labels GoogleBigtableInstance#labels} Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"` // The ID of the project in which the resource belongs. // // If it is not provided, the provider project is used. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google-beta/r/google_bigtable_instance#project GoogleBigtableInstance#project} Project *string `field:"optional" json:"project" yaml:"project"` }
Source Files ¶
- GoogleBigtableInstance.go
- GoogleBigtableInstanceCluster.go
- GoogleBigtableInstanceClusterAutoscalingConfig.go
- GoogleBigtableInstanceClusterAutoscalingConfigOutputReference.go
- GoogleBigtableInstanceClusterAutoscalingConfigOutputReference__checks.go
- GoogleBigtableInstanceClusterList.go
- GoogleBigtableInstanceClusterList__checks.go
- GoogleBigtableInstanceClusterOutputReference.go
- GoogleBigtableInstanceClusterOutputReference__checks.go
- GoogleBigtableInstanceConfig.go
- GoogleBigtableInstance__checks.go
- main.go