Documentation ¶
Index ¶
- func GoogleNetworkConnectivityServiceConnectionPolicy_IsConstruct(x interface{}) *bool
- func GoogleNetworkConnectivityServiceConnectionPolicy_IsTerraformElement(x interface{}) *bool
- func GoogleNetworkConnectivityServiceConnectionPolicy_IsTerraformResource(x interface{}) *bool
- func GoogleNetworkConnectivityServiceConnectionPolicy_TfResourceType() *string
- func NewGoogleNetworkConnectivityServiceConnectionPolicyPscConfigOutputReference_Override(g GoogleNetworkConnectivityServiceConnectionPolicyPscConfigOutputReference, ...)
- func NewGoogleNetworkConnectivityServiceConnectionPolicyTimeoutsOutputReference_Override(g GoogleNetworkConnectivityServiceConnectionPolicyTimeoutsOutputReference, ...)
- func NewGoogleNetworkConnectivityServiceConnectionPolicy_Override(g GoogleNetworkConnectivityServiceConnectionPolicy, scope constructs.Construct, ...)
- type GoogleNetworkConnectivityServiceConnectionPolicy
- type GoogleNetworkConnectivityServiceConnectionPolicyConfig
- type GoogleNetworkConnectivityServiceConnectionPolicyPscConfig
- type GoogleNetworkConnectivityServiceConnectionPolicyPscConfigOutputReference
- type GoogleNetworkConnectivityServiceConnectionPolicyTimeouts
- type GoogleNetworkConnectivityServiceConnectionPolicyTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoogleNetworkConnectivityServiceConnectionPolicy_IsConstruct ¶
func GoogleNetworkConnectivityServiceConnectionPolicy_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 GoogleNetworkConnectivityServiceConnectionPolicy_IsTerraformElement ¶
func GoogleNetworkConnectivityServiceConnectionPolicy_IsTerraformElement(x interface{}) *bool
Experimental.
func GoogleNetworkConnectivityServiceConnectionPolicy_IsTerraformResource ¶
func GoogleNetworkConnectivityServiceConnectionPolicy_IsTerraformResource(x interface{}) *bool
Experimental.
func GoogleNetworkConnectivityServiceConnectionPolicy_TfResourceType ¶
func GoogleNetworkConnectivityServiceConnectionPolicy_TfResourceType() *string
func NewGoogleNetworkConnectivityServiceConnectionPolicyPscConfigOutputReference_Override ¶
func NewGoogleNetworkConnectivityServiceConnectionPolicyPscConfigOutputReference_Override(g GoogleNetworkConnectivityServiceConnectionPolicyPscConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleNetworkConnectivityServiceConnectionPolicyTimeoutsOutputReference_Override ¶
func NewGoogleNetworkConnectivityServiceConnectionPolicyTimeoutsOutputReference_Override(g GoogleNetworkConnectivityServiceConnectionPolicyTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleNetworkConnectivityServiceConnectionPolicy_Override ¶
func NewGoogleNetworkConnectivityServiceConnectionPolicy_Override(g GoogleNetworkConnectivityServiceConnectionPolicy, scope constructs.Construct, id *string, config *GoogleNetworkConnectivityServiceConnectionPolicyConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_network_connectivity_service_connection_policy google_network_connectivity_service_connection_policy} Resource.
Types ¶
type GoogleNetworkConnectivityServiceConnectionPolicy ¶
type GoogleNetworkConnectivityServiceConnectionPolicy interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) CreateTime() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string Etag() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string Infrastructure() *string Labels() *map[string]*string SetLabels(val *map[string]*string) LabelsInput() *map[string]*string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Location() *string SetLocation(val *string) LocationInput() *string Name() *string SetName(val *string) NameInput() *string Network() *string SetNetwork(val *string) NetworkInput() *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{}) PscConfig() GoogleNetworkConnectivityServiceConnectionPolicyPscConfigOutputReference PscConfigInput() *GoogleNetworkConnectivityServiceConnectionPolicyPscConfig PscConnections() *[]*string // Experimental. RawOverrides() interface{} ServiceClass() *string SetServiceClass(val *string) ServiceClassInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() GoogleNetworkConnectivityServiceConnectionPolicyTimeoutsOutputReference TimeoutsInput() interface{} UpdateTime() *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) PutPscConfig(value *GoogleNetworkConnectivityServiceConnectionPolicyPscConfig) PutTimeouts(value *GoogleNetworkConnectivityServiceConnectionPolicyTimeouts) ResetDescription() ResetId() ResetLabels() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetProject() ResetPscConfig() 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-beta/4.79.0/docs/resources/google_network_connectivity_service_connection_policy google_network_connectivity_service_connection_policy}.
func NewGoogleNetworkConnectivityServiceConnectionPolicy ¶
func NewGoogleNetworkConnectivityServiceConnectionPolicy(scope constructs.Construct, id *string, config *GoogleNetworkConnectivityServiceConnectionPolicyConfig) GoogleNetworkConnectivityServiceConnectionPolicy
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_network_connectivity_service_connection_policy google_network_connectivity_service_connection_policy} Resource.
type GoogleNetworkConnectivityServiceConnectionPolicyConfig ¶
type GoogleNetworkConnectivityServiceConnectionPolicyConfig 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 location of the ServiceConnectionPolicy. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_network_connectivity_service_connection_policy#location GoogleNetworkConnectivityServiceConnectionPolicy#location} Location *string `field:"required" json:"location" yaml:"location"` // The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_network_connectivity_service_connection_policy#name GoogleNetworkConnectivityServiceConnectionPolicy#name} Name *string `field:"required" json:"name" yaml:"name"` // The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_network_connectivity_service_connection_policy#network GoogleNetworkConnectivityServiceConnectionPolicy#network} Network *string `field:"required" json:"network" yaml:"network"` // The service class identifier for which this ServiceConnectionPolicy is for. // // The service class identifier is a unique, symbolic representation of a ServiceClass. // It is provided by the Service Producer. Google services have a prefix of gcp. For example, gcp-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_network_connectivity_service_connection_policy#service_class GoogleNetworkConnectivityServiceConnectionPolicy#service_class} ServiceClass *string `field:"required" json:"serviceClass" yaml:"serviceClass"` // Free-text description of the resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_network_connectivity_service_connection_policy#description GoogleNetworkConnectivityServiceConnectionPolicy#description} Description *string `field:"optional" json:"description" yaml:"description"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_network_connectivity_service_connection_policy#id GoogleNetworkConnectivityServiceConnectionPolicy#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"` // User-defined labels. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_network_connectivity_service_connection_policy#labels GoogleNetworkConnectivityServiceConnectionPolicy#labels} Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_network_connectivity_service_connection_policy#project GoogleNetworkConnectivityServiceConnectionPolicy#project}. Project *string `field:"optional" json:"project" yaml:"project"` // psc_config block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_network_connectivity_service_connection_policy#psc_config GoogleNetworkConnectivityServiceConnectionPolicy#psc_config} PscConfig *GoogleNetworkConnectivityServiceConnectionPolicyPscConfig `field:"optional" json:"pscConfig" yaml:"pscConfig"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_network_connectivity_service_connection_policy#timeouts GoogleNetworkConnectivityServiceConnectionPolicy#timeouts} Timeouts *GoogleNetworkConnectivityServiceConnectionPolicyTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }
type GoogleNetworkConnectivityServiceConnectionPolicyPscConfig ¶
type GoogleNetworkConnectivityServiceConnectionPolicyPscConfig struct { // IDs of the subnetworks or fully qualified identifiers for the subnetworks. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_network_connectivity_service_connection_policy#subnetworks GoogleNetworkConnectivityServiceConnectionPolicy#subnetworks} Subnetworks *[]*string `field:"required" json:"subnetworks" yaml:"subnetworks"` // Max number of PSC connections for this policy. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_network_connectivity_service_connection_policy#limit GoogleNetworkConnectivityServiceConnectionPolicy#limit} Limit *string `field:"optional" json:"limit" yaml:"limit"` }
type GoogleNetworkConnectivityServiceConnectionPolicyPscConfigOutputReference ¶
type GoogleNetworkConnectivityServiceConnectionPolicyPscConfigOutputReference 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) // 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() *GoogleNetworkConnectivityServiceConnectionPolicyPscConfig SetInternalValue(val *GoogleNetworkConnectivityServiceConnectionPolicyPscConfig) Limit() *string SetLimit(val *string) LimitInput() *string Subnetworks() *[]*string SetSubnetworks(val *[]*string) SubnetworksInput() *[]*string // 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 ResetLimit() // 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 NewGoogleNetworkConnectivityServiceConnectionPolicyPscConfigOutputReference ¶
func NewGoogleNetworkConnectivityServiceConnectionPolicyPscConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleNetworkConnectivityServiceConnectionPolicyPscConfigOutputReference
type GoogleNetworkConnectivityServiceConnectionPolicyTimeouts ¶
type GoogleNetworkConnectivityServiceConnectionPolicyTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_network_connectivity_service_connection_policy#create GoogleNetworkConnectivityServiceConnectionPolicy#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_network_connectivity_service_connection_policy#delete GoogleNetworkConnectivityServiceConnectionPolicy#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_network_connectivity_service_connection_policy#update GoogleNetworkConnectivityServiceConnectionPolicy#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type GoogleNetworkConnectivityServiceConnectionPolicyTimeoutsOutputReference ¶
type GoogleNetworkConnectivityServiceConnectionPolicyTimeoutsOutputReference 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) Update() *string SetUpdate(val *string) UpdateInput() *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 ResetCreate() ResetDelete() ResetUpdate() // 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 NewGoogleNetworkConnectivityServiceConnectionPolicyTimeoutsOutputReference ¶
func NewGoogleNetworkConnectivityServiceConnectionPolicyTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleNetworkConnectivityServiceConnectionPolicyTimeoutsOutputReference
Source Files ¶
- GoogleNetworkConnectivityServiceConnectionPolicy.go
- GoogleNetworkConnectivityServiceConnectionPolicyConfig.go
- GoogleNetworkConnectivityServiceConnectionPolicyPscConfig.go
- GoogleNetworkConnectivityServiceConnectionPolicyPscConfigOutputReference.go
- GoogleNetworkConnectivityServiceConnectionPolicyPscConfigOutputReference__checks.go
- GoogleNetworkConnectivityServiceConnectionPolicyTimeouts.go
- GoogleNetworkConnectivityServiceConnectionPolicyTimeoutsOutputReference.go
- GoogleNetworkConnectivityServiceConnectionPolicyTimeoutsOutputReference__checks.go
- GoogleNetworkConnectivityServiceConnectionPolicy__checks.go
- main.go