Documentation ¶
Index ¶
- func DocumentAiWarehouseLocation_IsConstruct(x interface{}) *bool
- func DocumentAiWarehouseLocation_IsTerraformElement(x interface{}) *bool
- func DocumentAiWarehouseLocation_IsTerraformResource(x interface{}) *bool
- func DocumentAiWarehouseLocation_TfResourceType() *string
- func NewDocumentAiWarehouseLocationTimeoutsOutputReference_Override(d DocumentAiWarehouseLocationTimeoutsOutputReference, ...)
- func NewDocumentAiWarehouseLocation_Override(d DocumentAiWarehouseLocation, scope constructs.Construct, id *string, ...)
- type DocumentAiWarehouseLocation
- type DocumentAiWarehouseLocationConfig
- type DocumentAiWarehouseLocationTimeouts
- type DocumentAiWarehouseLocationTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DocumentAiWarehouseLocation_IsConstruct ¶
func DocumentAiWarehouseLocation_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 DocumentAiWarehouseLocation_IsTerraformElement ¶
func DocumentAiWarehouseLocation_IsTerraformElement(x interface{}) *bool
Experimental.
func DocumentAiWarehouseLocation_IsTerraformResource ¶
func DocumentAiWarehouseLocation_IsTerraformResource(x interface{}) *bool
Experimental.
func DocumentAiWarehouseLocation_TfResourceType ¶
func DocumentAiWarehouseLocation_TfResourceType() *string
func NewDocumentAiWarehouseLocationTimeoutsOutputReference_Override ¶
func NewDocumentAiWarehouseLocationTimeoutsOutputReference_Override(d DocumentAiWarehouseLocationTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewDocumentAiWarehouseLocation_Override ¶
func NewDocumentAiWarehouseLocation_Override(d DocumentAiWarehouseLocation, scope constructs.Construct, id *string, config *DocumentAiWarehouseLocationConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/4.84.0/docs/resources/document_ai_warehouse_location google_document_ai_warehouse_location} Resource.
Types ¶
type DocumentAiWarehouseLocation ¶
type DocumentAiWarehouseLocation interface { cdktf.TerraformResource AccessControlMode() *string SetAccessControlMode(val *string) AccessControlModeInput() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) DatabaseType() *string SetDatabaseType(val *string) DatabaseTypeInput() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) DocumentCreatorDefaultRole() *string SetDocumentCreatorDefaultRole(val *string) DocumentCreatorDefaultRoleInput() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string KmsKey() *string SetKmsKey(val *string) KmsKeyInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Location() *string SetLocation(val *string) LocationInput() *string // The tree node. Node() constructs.Node ProjectNumber() *string SetProjectNumber(val *string) ProjectNumberInput() *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 Timeouts() DocumentAiWarehouseLocationTimeoutsOutputReference TimeoutsInput() interface{} // 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) PutTimeouts(value *DocumentAiWarehouseLocationTimeouts) ResetDocumentCreatorDefaultRole() ResetId() ResetKmsKey() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetTimeouts() 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://registry.terraform.io/providers/hashicorp/google/4.84.0/docs/resources/document_ai_warehouse_location google_document_ai_warehouse_location}.
func NewDocumentAiWarehouseLocation ¶
func NewDocumentAiWarehouseLocation(scope constructs.Construct, id *string, config *DocumentAiWarehouseLocationConfig) DocumentAiWarehouseLocation
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/4.84.0/docs/resources/document_ai_warehouse_location google_document_ai_warehouse_location} Resource.
type DocumentAiWarehouseLocationConfig ¶
type DocumentAiWarehouseLocationConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `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 access control mode for accessing the customer data. Possible values: ["ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI", "ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_BYOID", "ACL_MODE_UNIVERSAL_ACCESS"]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.84.0/docs/resources/document_ai_warehouse_location#access_control_mode DocumentAiWarehouseLocation#access_control_mode} AccessControlMode *string `field:"required" json:"accessControlMode" yaml:"accessControlMode"` // The type of database used to store customer data. Possible values: ["DB_INFRA_SPANNER", "DB_CLOUD_SQL_POSTGRES"]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.84.0/docs/resources/document_ai_warehouse_location#database_type DocumentAiWarehouseLocation#database_type} DatabaseType *string `field:"required" json:"databaseType" yaml:"databaseType"` // The location in which the instance is to be provisioned. It takes the form projects/{projectNumber}/locations/{location}. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.84.0/docs/resources/document_ai_warehouse_location#location DocumentAiWarehouseLocation#location} Location *string `field:"required" json:"location" yaml:"location"` // The unique identifier of the project. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.84.0/docs/resources/document_ai_warehouse_location#project_number DocumentAiWarehouseLocation#project_number} ProjectNumber *string `field:"required" json:"projectNumber" yaml:"projectNumber"` // The default role for the person who create a document. Possible values: ["DOCUMENT_ADMIN", "DOCUMENT_EDITOR", "DOCUMENT_VIEWER"]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.84.0/docs/resources/document_ai_warehouse_location#document_creator_default_role DocumentAiWarehouseLocation#document_creator_default_role} DocumentCreatorDefaultRole *string `field:"optional" json:"documentCreatorDefaultRole" yaml:"documentCreatorDefaultRole"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.84.0/docs/resources/document_ai_warehouse_location#id DocumentAiWarehouseLocation#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 KMS key used for CMEK encryption. // // It is required that // the kms key is in the same region as the endpoint. The // same key will be used for all provisioned resources, if // encryption is available. If the kmsKey is left empty, no // encryption will be enforced. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.84.0/docs/resources/document_ai_warehouse_location#kms_key DocumentAiWarehouseLocation#kms_key} KmsKey *string `field:"optional" json:"kmsKey" yaml:"kmsKey"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.84.0/docs/resources/document_ai_warehouse_location#timeouts DocumentAiWarehouseLocation#timeouts} Timeouts *DocumentAiWarehouseLocationTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }
type DocumentAiWarehouseLocationTimeouts ¶
type DocumentAiWarehouseLocationTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.84.0/docs/resources/document_ai_warehouse_location#create DocumentAiWarehouseLocation#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.84.0/docs/resources/document_ai_warehouse_location#delete DocumentAiWarehouseLocation#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` }
type DocumentAiWarehouseLocationTimeoutsOutputReference ¶
type DocumentAiWarehouseLocationTimeoutsOutputReference 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) Create() *string SetCreate(val *string) CreateInput() *string // 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 Delete() *string SetDelete(val *string) DeleteInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // 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 ResetCreate() ResetDelete() // 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 NewDocumentAiWarehouseLocationTimeoutsOutputReference ¶
func NewDocumentAiWarehouseLocationTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) DocumentAiWarehouseLocationTimeoutsOutputReference