Documentation ¶
Index ¶
- func ComputeSubnetwork_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func ComputeSubnetwork_IsConstruct(x interface{}) *bool
- func ComputeSubnetwork_IsTerraformElement(x interface{}) *bool
- func ComputeSubnetwork_IsTerraformResource(x interface{}) *bool
- func ComputeSubnetwork_TfResourceType() *string
- func NewComputeSubnetworkLogConfigOutputReference_Override(c ComputeSubnetworkLogConfigOutputReference, ...)
- func NewComputeSubnetworkSecondaryIpRangeList_Override(c ComputeSubnetworkSecondaryIpRangeList, ...)
- func NewComputeSubnetworkSecondaryIpRangeOutputReference_Override(c ComputeSubnetworkSecondaryIpRangeOutputReference, ...)
- func NewComputeSubnetworkTimeoutsOutputReference_Override(c ComputeSubnetworkTimeoutsOutputReference, ...)
- func NewComputeSubnetwork_Override(c ComputeSubnetwork, scope constructs.Construct, id *string, ...)
- type ComputeSubnetwork
- type ComputeSubnetworkConfig
- type ComputeSubnetworkLogConfig
- type ComputeSubnetworkLogConfigOutputReference
- type ComputeSubnetworkSecondaryIpRange
- type ComputeSubnetworkSecondaryIpRangeList
- type ComputeSubnetworkSecondaryIpRangeOutputReference
- type ComputeSubnetworkTimeouts
- type ComputeSubnetworkTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeSubnetwork_GenerateConfigForImport ¶
func ComputeSubnetwork_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a ComputeSubnetwork resource upon running "cdktf plan <stack-name>".
func ComputeSubnetwork_IsConstruct ¶
func ComputeSubnetwork_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 ComputeSubnetwork_IsTerraformElement ¶
func ComputeSubnetwork_IsTerraformElement(x interface{}) *bool
Experimental.
func ComputeSubnetwork_IsTerraformResource ¶
func ComputeSubnetwork_IsTerraformResource(x interface{}) *bool
Experimental.
func ComputeSubnetwork_TfResourceType ¶
func ComputeSubnetwork_TfResourceType() *string
func NewComputeSubnetworkLogConfigOutputReference_Override ¶
func NewComputeSubnetworkLogConfigOutputReference_Override(c ComputeSubnetworkLogConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSubnetworkSecondaryIpRangeList_Override ¶
func NewComputeSubnetworkSecondaryIpRangeList_Override(c ComputeSubnetworkSecondaryIpRangeList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeSubnetworkSecondaryIpRangeOutputReference_Override ¶
func NewComputeSubnetworkSecondaryIpRangeOutputReference_Override(c ComputeSubnetworkSecondaryIpRangeOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeSubnetworkTimeoutsOutputReference_Override ¶
func NewComputeSubnetworkTimeoutsOutputReference_Override(c ComputeSubnetworkTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeSubnetwork_Override ¶
func NewComputeSubnetwork_Override(c ComputeSubnetwork, scope constructs.Construct, id *string, config *ComputeSubnetworkConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork google_compute_subnetwork} Resource.
Types ¶
type ComputeSubnetwork ¶
type ComputeSubnetwork 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{}) CreationTimestamp() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string ExternalIpv6Prefix() *string SetExternalIpv6Prefix(val *string) ExternalIpv6PrefixInput() *string Fingerprint() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string GatewayAddress() *string Id() *string SetId(val *string) IdInput() *string InternalIpv6Prefix() *string IpCidrRange() *string SetIpCidrRange(val *string) IpCidrRangeInput() *string Ipv6AccessType() *string SetIpv6AccessType(val *string) Ipv6AccessTypeInput() *string Ipv6CidrRange() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) LogConfig() ComputeSubnetworkLogConfigOutputReference LogConfigInput() *ComputeSubnetworkLogConfig Name() *string SetName(val *string) NameInput() *string Network() *string SetNetwork(val *string) NetworkInput() *string // The tree node. Node() constructs.Node PrivateIpGoogleAccess() interface{} SetPrivateIpGoogleAccess(val interface{}) PrivateIpGoogleAccessInput() interface{} PrivateIpv6GoogleAccess() *string SetPrivateIpv6GoogleAccess(val *string) PrivateIpv6GoogleAccessInput() *string Project() *string SetProject(val *string) ProjectInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) Purpose() *string SetPurpose(val *string) PurposeInput() *string // Experimental. RawOverrides() interface{} Region() *string SetRegion(val *string) RegionInput() *string ReservedInternalRange() *string SetReservedInternalRange(val *string) ReservedInternalRangeInput() *string Role() *string SetRole(val *string) RoleInput() *string SecondaryIpRange() ComputeSubnetworkSecondaryIpRangeList SecondaryIpRangeInput() interface{} SelfLink() *string SendSecondaryIpRangeIfEmpty() interface{} SetSendSecondaryIpRangeIfEmpty(val interface{}) SendSecondaryIpRangeIfEmptyInput() interface{} StackType() *string SetStackType(val *string) StackTypeInput() *string SubnetworkId() *float64 // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() ComputeSubnetworkTimeoutsOutputReference TimeoutsInput() interface{} // Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. // Experimental. AddMoveTarget(moveTarget *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. HasResourceMove() interface{} // Experimental. ImportFrom(id *string, provider cdktf.TerraformProvider) // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Move the resource corresponding to "id" to this resource. // // Note that the resource being moved from must be marked as moved using it's instance function. // Experimental. MoveFromId(id *string) // Moves this resource to the target resource given by moveTarget. // Experimental. MoveTo(moveTarget *string, index interface{}) // Moves this resource to the resource corresponding to "id". // Experimental. MoveToId(id *string) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutLogConfig(value *ComputeSubnetworkLogConfig) PutSecondaryIpRange(value interface{}) PutTimeouts(value *ComputeSubnetworkTimeouts) ResetDescription() ResetExternalIpv6Prefix() ResetId() ResetIpCidrRange() ResetIpv6AccessType() ResetLogConfig() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPrivateIpGoogleAccess() ResetPrivateIpv6GoogleAccess() ResetProject() ResetPurpose() ResetRegion() ResetReservedInternalRange() ResetRole() ResetSecondaryIpRange() ResetSendSecondaryIpRangeIfEmpty() ResetStackType() ResetTimeouts() SynthesizeAttributes() *map[string]interface{} SynthesizeHclAttributes() *map[string]interface{} // Experimental. ToHclTerraform() 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/6.13.0/docs/resources/compute_subnetwork google_compute_subnetwork}.
func NewComputeSubnetwork ¶
func NewComputeSubnetwork(scope constructs.Construct, id *string, config *ComputeSubnetworkConfig) ComputeSubnetwork
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork google_compute_subnetwork} Resource.
type ComputeSubnetworkConfig ¶
type ComputeSubnetworkConfig 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 name of the resource, provided by the client when initially creating the resource. // // The name must be 1-63 characters long, and // comply with RFC1035. Specifically, the name must be 1-63 characters // long and match the regular expression '[a-z]([-a-z0-9]*[a-z0-9])?' which // means the first character must be a lowercase letter, and all // following characters must be a dash, lowercase letter, or digit, // except the last character, which cannot be a dash. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#name ComputeSubnetwork#name} Name *string `field:"required" json:"name" yaml:"name"` // The network this subnet belongs to. Only networks that are in the distributed mode can have subnetworks. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#network ComputeSubnetwork#network} Network *string `field:"required" json:"network" yaml:"network"` // An optional description of this resource. // // Provide this property when // you create the resource. This field can be set only at resource // creation time. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#description ComputeSubnetwork#description} Description *string `field:"optional" json:"description" yaml:"description"` // The range of external IPv6 addresses that are owned by this subnetwork. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#external_ipv6_prefix ComputeSubnetwork#external_ipv6_prefix} ExternalIpv6Prefix *string `field:"optional" json:"externalIpv6Prefix" yaml:"externalIpv6Prefix"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#id ComputeSubnetwork#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 range of internal addresses that are owned by this subnetwork. // // Provide this property when you create the subnetwork. For example, // 10.0.0.0/8 or 192.168.0.0/16. Ranges must be unique and // non-overlapping within a network. Only IPv4 is supported. // Field is optional when 'reserved_internal_range' is defined, otherwise required. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#ip_cidr_range ComputeSubnetwork#ip_cidr_range} IpCidrRange *string `field:"optional" json:"ipCidrRange" yaml:"ipCidrRange"` // The access type of IPv6 address this subnet holds. // // It's immutable and can only be specified during creation // or the first time the subnet is updated into IPV4_IPV6 dual stack. If the ipv6_type is EXTERNAL then this subnet // cannot enable direct path. Possible values: ["EXTERNAL", "INTERNAL"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#ipv6_access_type ComputeSubnetwork#ipv6_access_type} Ipv6AccessType *string `field:"optional" json:"ipv6AccessType" yaml:"ipv6AccessType"` // log_config block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#log_config ComputeSubnetwork#log_config} LogConfig *ComputeSubnetworkLogConfig `field:"optional" json:"logConfig" yaml:"logConfig"` // When enabled, VMs in this subnetwork without external IP addresses can access Google APIs and services by using Private Google Access. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#private_ip_google_access ComputeSubnetwork#private_ip_google_access} PrivateIpGoogleAccess interface{} `field:"optional" json:"privateIpGoogleAccess" yaml:"privateIpGoogleAccess"` // The private IPv6 google access type for the VMs in this subnet. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#private_ipv6_google_access ComputeSubnetwork#private_ipv6_google_access} PrivateIpv6GoogleAccess *string `field:"optional" json:"privateIpv6GoogleAccess" yaml:"privateIpv6GoogleAccess"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#project ComputeSubnetwork#project}. Project *string `field:"optional" json:"project" yaml:"project"` // The purpose of the resource. // // This field can be either 'PRIVATE', 'REGIONAL_MANAGED_PROXY', 'GLOBAL_MANAGED_PROXY', 'PRIVATE_SERVICE_CONNECT' or 'PRIVATE_NAT'([Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html)). // A subnet with purpose set to 'REGIONAL_MANAGED_PROXY' is a user-created subnetwork that is reserved for regional Envoy-based load balancers. // A subnetwork in a given region with purpose set to 'GLOBAL_MANAGED_PROXY' is a proxy-only subnet and is shared between all the cross-regional Envoy-based load balancers. // A subnetwork with purpose set to 'PRIVATE_SERVICE_CONNECT' reserves the subnet for hosting a Private Service Connect published service. // A subnetwork with purpose set to 'PRIVATE_NAT' is used as source range for Private NAT gateways. // Note that 'REGIONAL_MANAGED_PROXY' is the preferred setting for all regional Envoy load balancers. // If unspecified, the purpose defaults to 'PRIVATE'. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#purpose ComputeSubnetwork#purpose} Purpose *string `field:"optional" json:"purpose" yaml:"purpose"` // The GCP region for this subnetwork. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#region ComputeSubnetwork#region} Region *string `field:"optional" json:"region" yaml:"region"` // The ID of the reserved internal range. Must be prefixed with 'networkconnectivity.googleapis.com' E.g. 'networkconnectivity.googleapis.com/projects/{project}/locations/global/internalRanges/{rangeId}'. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#reserved_internal_range ComputeSubnetwork#reserved_internal_range} ReservedInternalRange *string `field:"optional" json:"reservedInternalRange" yaml:"reservedInternalRange"` // The role of subnetwork. // // Currently, this field is only used when 'purpose' is 'REGIONAL_MANAGED_PROXY'. // The value can be set to 'ACTIVE' or 'BACKUP'. // An 'ACTIVE' subnetwork is one that is currently being used for Envoy-based load balancers in a region. // A 'BACKUP' subnetwork is one that is ready to be promoted to 'ACTIVE' or is currently draining. Possible values: ["ACTIVE", "BACKUP"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#role ComputeSubnetwork#role} Role *string `field:"optional" json:"role" yaml:"role"` // secondary_ip_range block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#secondary_ip_range ComputeSubnetwork#secondary_ip_range} SecondaryIpRange interface{} `field:"optional" json:"secondaryIpRange" yaml:"secondaryIpRange"` // Controls the removal behavior of secondary_ip_range. // // When false, removing secondary_ip_range from config will not produce a diff as // the provider will default to the API's value. // When true, the provider will treat removing secondary_ip_range as sending an // empty list of secondary IP ranges to the API. // Defaults to false. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#send_secondary_ip_range_if_empty ComputeSubnetwork#send_secondary_ip_range_if_empty} SendSecondaryIpRangeIfEmpty interface{} `field:"optional" json:"sendSecondaryIpRangeIfEmpty" yaml:"sendSecondaryIpRangeIfEmpty"` // The stack type for this subnet to identify whether the IPv6 feature is enabled or not. // // If not specified IPV4_ONLY will be used. Possible values: ["IPV4_ONLY", "IPV4_IPV6"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#stack_type ComputeSubnetwork#stack_type} StackType *string `field:"optional" json:"stackType" yaml:"stackType"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#timeouts ComputeSubnetwork#timeouts} Timeouts *ComputeSubnetworkTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }
type ComputeSubnetworkLogConfig ¶
type ComputeSubnetworkLogConfig struct { // Can only be specified if VPC flow logging for this subnetwork is enabled. // // Toggles the aggregation interval for collecting flow logs. Increasing the // interval time will reduce the amount of generated flow logs for long // lasting connections. Default is an interval of 5 seconds per connection. Default value: "INTERVAL_5_SEC" Possible values: ["INTERVAL_5_SEC", "INTERVAL_30_SEC", "INTERVAL_1_MIN", "INTERVAL_5_MIN", "INTERVAL_10_MIN", "INTERVAL_15_MIN"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#aggregation_interval ComputeSubnetwork#aggregation_interval} AggregationInterval *string `field:"optional" json:"aggregationInterval" yaml:"aggregationInterval"` // Export filter used to define which VPC flow logs should be logged, as as CEL expression. // // See // https://cloud.google.com/vpc/docs/flow-logs#filtering for details on how to format this field. // The default value is 'true', which evaluates to include everything. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#filter_expr ComputeSubnetwork#filter_expr} FilterExpr *string `field:"optional" json:"filterExpr" yaml:"filterExpr"` // Can only be specified if VPC flow logging for this subnetwork is enabled. // // The value of the field must be in [0, 1]. Set the sampling rate of VPC // flow logs within the subnetwork where 1.0 means all collected logs are // reported and 0.0 means no logs are reported. Default is 0.5 which means // half of all collected logs are reported. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#flow_sampling ComputeSubnetwork#flow_sampling} FlowSampling *float64 `field:"optional" json:"flowSampling" yaml:"flowSampling"` // Can only be specified if VPC flow logging for this subnetwork is enabled. // // Configures whether metadata fields should be added to the reported VPC // flow logs. Default value: "INCLUDE_ALL_METADATA" Possible values: ["EXCLUDE_ALL_METADATA", "INCLUDE_ALL_METADATA", "CUSTOM_METADATA"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#metadata ComputeSubnetwork#metadata} Metadata *string `field:"optional" json:"metadata" yaml:"metadata"` // List of metadata fields that should be added to reported logs. // // Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" is set to CUSTOM_METADATA. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#metadata_fields ComputeSubnetwork#metadata_fields} MetadataFields *[]*string `field:"optional" json:"metadataFields" yaml:"metadataFields"` }
type ComputeSubnetworkLogConfigOutputReference ¶
type ComputeSubnetworkLogConfigOutputReference interface { cdktf.ComplexObject AggregationInterval() *string SetAggregationInterval(val *string) AggregationIntervalInput() *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 FilterExpr() *string SetFilterExpr(val *string) FilterExprInput() *string FlowSampling() *float64 SetFlowSampling(val *float64) FlowSamplingInput() *float64 // Experimental. Fqn() *string InternalValue() *ComputeSubnetworkLogConfig SetInternalValue(val *ComputeSubnetworkLogConfig) Metadata() *string SetMetadata(val *string) MetadataFields() *[]*string SetMetadataFields(val *[]*string) MetadataFieldsInput() *[]*string MetadataInput() *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 ResetAggregationInterval() ResetFilterExpr() ResetFlowSampling() ResetMetadata() ResetMetadataFields() // 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 NewComputeSubnetworkLogConfigOutputReference ¶
func NewComputeSubnetworkLogConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSubnetworkLogConfigOutputReference
type ComputeSubnetworkSecondaryIpRange ¶
type ComputeSubnetworkSecondaryIpRange struct { // The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. // // The name must // be 1-63 characters long, and comply with RFC1035. The name // must be unique within the subnetwork. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#range_name ComputeSubnetwork#range_name} RangeName *string `field:"required" json:"rangeName" yaml:"rangeName"` // The range of IP addresses belonging to this subnetwork secondary range. // // Provide this property when you create the subnetwork. // Ranges must be unique and non-overlapping with all primary and // secondary IP ranges within a network. Only IPv4 is supported. // Field is optional when 'reserved_internal_range' is defined, otherwise required. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#ip_cidr_range ComputeSubnetwork#ip_cidr_range} IpCidrRange *string `field:"optional" json:"ipCidrRange" yaml:"ipCidrRange"` // The ID of the reserved internal range. Must be prefixed with 'networkconnectivity.googleapis.com' E.g. 'networkconnectivity.googleapis.com/projects/{project}/locations/global/internalRanges/{rangeId}'. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#reserved_internal_range ComputeSubnetwork#reserved_internal_range} ReservedInternalRange *string `field:"optional" json:"reservedInternalRange" yaml:"reservedInternalRange"` }
type ComputeSubnetworkSecondaryIpRangeList ¶
type ComputeSubnetworkSecondaryIpRangeList 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) // Creating an iterator for this complex list. // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. ComputeFqn() *string Get(index *float64) ComputeSubnetworkSecondaryIpRangeOutputReference // 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 NewComputeSubnetworkSecondaryIpRangeList ¶
func NewComputeSubnetworkSecondaryIpRangeList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeSubnetworkSecondaryIpRangeList
type ComputeSubnetworkSecondaryIpRangeOutputReference ¶
type ComputeSubnetworkSecondaryIpRangeOutputReference 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() interface{} SetInternalValue(val interface{}) IpCidrRange() *string SetIpCidrRange(val *string) IpCidrRangeInput() *string RangeName() *string SetRangeName(val *string) RangeNameInput() *string ReservedInternalRange() *string SetReservedInternalRange(val *string) ReservedInternalRangeInput() *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 ResetIpCidrRange() ResetReservedInternalRange() // 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 NewComputeSubnetworkSecondaryIpRangeOutputReference ¶
func NewComputeSubnetworkSecondaryIpRangeOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeSubnetworkSecondaryIpRangeOutputReference
type ComputeSubnetworkTimeouts ¶
type ComputeSubnetworkTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#create ComputeSubnetwork#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#delete ComputeSubnetwork#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_subnetwork#update ComputeSubnetwork#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type ComputeSubnetworkTimeoutsOutputReference ¶
type ComputeSubnetworkTimeoutsOutputReference 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 NewComputeSubnetworkTimeoutsOutputReference ¶
func NewComputeSubnetworkTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeSubnetworkTimeoutsOutputReference
Source Files ¶
- ComputeSubnetwork.go
- ComputeSubnetworkConfig.go
- ComputeSubnetworkLogConfig.go
- ComputeSubnetworkLogConfigOutputReference.go
- ComputeSubnetworkLogConfigOutputReference__checks.go
- ComputeSubnetworkSecondaryIpRange.go
- ComputeSubnetworkSecondaryIpRangeList.go
- ComputeSubnetworkSecondaryIpRangeList__checks.go
- ComputeSubnetworkSecondaryIpRangeOutputReference.go
- ComputeSubnetworkSecondaryIpRangeOutputReference__checks.go
- ComputeSubnetworkTimeouts.go
- ComputeSubnetworkTimeoutsOutputReference.go
- ComputeSubnetworkTimeoutsOutputReference__checks.go
- ComputeSubnetwork__checks.go
- main.go