Documentation ¶
Index ¶
- func ComputeSharedVpcHostProject_IsConstruct(x interface{}) *bool
- func ComputeSharedVpcHostProject_IsTerraformElement(x interface{}) *bool
- func ComputeSharedVpcHostProject_IsTerraformResource(x interface{}) *bool
- func ComputeSharedVpcHostProject_TfResourceType() *string
- func NewComputeSharedVpcHostProjectTimeoutsOutputReference_Override(c ComputeSharedVpcHostProjectTimeoutsOutputReference, ...)
- func NewComputeSharedVpcHostProject_Override(c ComputeSharedVpcHostProject, scope constructs.Construct, id *string, ...)
- type ComputeSharedVpcHostProject
- type ComputeSharedVpcHostProjectConfig
- type ComputeSharedVpcHostProjectTimeouts
- type ComputeSharedVpcHostProjectTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeSharedVpcHostProject_IsConstruct ¶
func ComputeSharedVpcHostProject_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 ComputeSharedVpcHostProject_IsTerraformElement ¶
func ComputeSharedVpcHostProject_IsTerraformElement(x interface{}) *bool
Experimental.
func ComputeSharedVpcHostProject_IsTerraformResource ¶
func ComputeSharedVpcHostProject_IsTerraformResource(x interface{}) *bool
Experimental.
func ComputeSharedVpcHostProject_TfResourceType ¶
func ComputeSharedVpcHostProject_TfResourceType() *string
func NewComputeSharedVpcHostProjectTimeoutsOutputReference_Override ¶
func NewComputeSharedVpcHostProjectTimeoutsOutputReference_Override(c ComputeSharedVpcHostProjectTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSharedVpcHostProject_Override ¶
func NewComputeSharedVpcHostProject_Override(c ComputeSharedVpcHostProject, scope constructs.Construct, id *string, config *ComputeSharedVpcHostProjectConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_shared_vpc_host_project google_compute_shared_vpc_host_project} Resource.
Types ¶
type ComputeSharedVpcHostProject ¶
type ComputeSharedVpcHostProject interface { cdktf.TerraformResource CdktfStack() cdktf.TerraformStack Connection() interface{} SetConnection(val interface{}) ConstructNodeMetadata() *map[string]interface{} Count() interface{} SetCount(val interface{}) DependsOn() *[]*string SetDependsOn(val *[]*string) ForEach() cdktf.ITerraformIterator SetForEach(val cdktf.ITerraformIterator) Fqn() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle SetLifecycle(val *cdktf.TerraformResourceLifecycle) // The tree node. Provider() cdktf.TerraformProvider SetProvider(val cdktf.TerraformProvider) Provisioners() *[]interface{} SetProvisioners(val *[]interface{}) RawOverrides() interface{} TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata TerraformMetaArguments() *map[string]interface{} // Experimental. AddOverride(path *string, value interface{}) GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool GetListAttribute(terraformAttribute *string) *[]*string GetNumberAttribute(terraformAttribute *string) *float64 GetNumberListAttribute(terraformAttribute *string) *[]*float64 GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 GetStringAttribute(terraformAttribute *string) *string GetStringMapAttribute(terraformAttribute *string) *map[string]*string InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ToMetadata() interface{} ToString() *string // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_shared_vpc_host_project google_compute_shared_vpc_host_project}.
func NewComputeSharedVpcHostProject ¶
func NewComputeSharedVpcHostProject(scope constructs.Construct, id *string, config *ComputeSharedVpcHostProjectConfig) ComputeSharedVpcHostProject
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_shared_vpc_host_project google_compute_shared_vpc_host_project} Resource.
type ComputeSharedVpcHostProjectConfig ¶
type ComputeSharedVpcHostProjectConfig struct { cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_shared_vpc_host_project#project ComputeSharedVpcHostProject#project} Project *string `field:"required" json:"project" yaml:"project"` // // 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"` // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.78.0/docs/resources/compute_shared_vpc_host_project#timeouts ComputeSharedVpcHostProject#timeouts} Timeouts *ComputeSharedVpcHostProjectTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }Connection interface{} `field:"optional" json:"connection" yaml:"connection"` Count interface{} `field:"optional" json:"count" yaml:"count"` DependsOn *[]
type ComputeSharedVpcHostProjectTimeoutsOutputReference ¶
type ComputeSharedVpcHostProjectTimeoutsOutputReference interface { cdktf.ComplexObject // Experimental. ComplexObjectIndex() interface{} SetComplexObjectIndex(val interface{}) // Experimental. ComplexObjectIsFromSet() *bool // Experimental. // 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. // Experimental. TerraformAttribute() *string SetTerraformAttribute(val *string) TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) ComputeFqn() *string GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool GetListAttribute(terraformAttribute *string) *[]*string GetNumberAttribute(terraformAttribute *string) *float64 GetNumberListAttribute(terraformAttribute *string) *[]*float64 GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 GetStringAttribute(terraformAttribute *string) *string GetStringMapAttribute(terraformAttribute *string) *map[string]*string InterpolationAsList() cdktf.IResolvable // Experimental. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeSharedVpcHostProjectTimeoutsOutputReference ¶
func NewComputeSharedVpcHostProjectTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSharedVpcHostProjectTimeoutsOutputReference