Skip to content

Latest commit

 

History

History
3065 lines (1954 loc) · 136 KB

computeForwardingRule.go.md

File metadata and controls

3065 lines (1954 loc) · 136 KB

computeForwardingRule Submodule

Constructs

ComputeForwardingRule

Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule google_compute_forwarding_rule}.

Initializers

import "github.com/cdktf/cdktf-provider-google-go/google/v14/computeforwardingrule"

computeforwardingrule.NewComputeForwardingRule(scope Construct, id *string, config ComputeForwardingRuleConfig) ComputeForwardingRule
Name Type Description
scope github.com/aws/constructs-go/constructs/v10.Construct The scope in which to define this construct.
id *string The scoped construct ID.
config ComputeForwardingRuleConfig No description.

scopeRequired
  • Type: github.com/aws/constructs-go/constructs/v10.Construct

The scope in which to define this construct.


idRequired
  • Type: *string

The scoped construct ID.

Must be unique amongst siblings in the same scope


configRequired

Methods

Name Description
ToString Returns a string representation of this construct.
AddOverride No description.
OverrideLogicalId Overrides the auto-generated logical ID with a specific ID.
ResetOverrideLogicalId Resets a previously passed logical Id to use the auto-generated logical id again.
ToHclTerraform No description.
ToMetadata No description.
ToTerraform Adds this resource to the terraform JSON output.
AddMoveTarget Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
GetAnyMapAttribute No description.
GetBooleanAttribute No description.
GetBooleanMapAttribute No description.
GetListAttribute No description.
GetNumberAttribute No description.
GetNumberListAttribute No description.
GetNumberMapAttribute No description.
GetStringAttribute No description.
GetStringMapAttribute No description.
HasResourceMove No description.
ImportFrom No description.
InterpolationForAttribute No description.
MoveFromId Move the resource corresponding to "id" to this resource.
MoveTo Moves this resource to the target resource given by moveTarget.
MoveToId Moves this resource to the resource corresponding to "id".
PutServiceDirectoryRegistrations No description.
PutTimeouts No description.
ResetAllowGlobalAccess No description.
ResetAllowPscGlobalAccess No description.
ResetAllPorts No description.
ResetBackendService No description.
ResetDescription No description.
ResetId No description.
ResetIpAddress No description.
ResetIpProtocol No description.
ResetIpVersion No description.
ResetIsMirroringCollector No description.
ResetLabels No description.
ResetLoadBalancingScheme No description.
ResetNetwork No description.
ResetNetworkTier No description.
ResetNoAutomateDnsZone No description.
ResetPortRange No description.
ResetPorts No description.
ResetProject No description.
ResetRecreateClosedPsc No description.
ResetRegion No description.
ResetServiceDirectoryRegistrations No description.
ResetServiceLabel No description.
ResetSourceIpRanges No description.
ResetSubnetwork No description.
ResetTarget No description.
ResetTimeouts No description.

ToString
func ToString() *string

Returns a string representation of this construct.

AddOverride
func AddOverride(path *string, value interface{})
pathRequired
  • Type: *string

valueRequired
  • Type: interface{}

OverrideLogicalId
func OverrideLogicalId(newLogicalId *string)

Overrides the auto-generated logical ID with a specific ID.

newLogicalIdRequired
  • Type: *string

The new logical ID to use for this stack element.


ResetOverrideLogicalId
func ResetOverrideLogicalId()

Resets a previously passed logical Id to use the auto-generated logical id again.

ToHclTerraform
func ToHclTerraform() interface{}
ToMetadata
func ToMetadata() interface{}
ToTerraform
func ToTerraform() interface{}

Adds this resource to the terraform JSON output.

AddMoveTarget
func AddMoveTarget(moveTarget *string)

Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.

moveTargetRequired
  • Type: *string

The string move target that will correspond to this resource.


GetAnyMapAttribute
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
terraformAttributeRequired
  • Type: *string

GetBooleanAttribute
func GetBooleanAttribute(terraformAttribute *string) IResolvable
terraformAttributeRequired
  • Type: *string

GetBooleanMapAttribute
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
terraformAttributeRequired
  • Type: *string

GetListAttribute
func GetListAttribute(terraformAttribute *string) *[]*string
terraformAttributeRequired
  • Type: *string

GetNumberAttribute
func GetNumberAttribute(terraformAttribute *string) *f64
terraformAttributeRequired
  • Type: *string

GetNumberListAttribute
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
terraformAttributeRequired
  • Type: *string

GetNumberMapAttribute
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
terraformAttributeRequired
  • Type: *string

GetStringAttribute
func GetStringAttribute(terraformAttribute *string) *string
terraformAttributeRequired
  • Type: *string

GetStringMapAttribute
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
terraformAttributeRequired
  • Type: *string

HasResourceMove
func HasResourceMove() interface{}
ImportFrom
func ImportFrom(id *string, provider TerraformProvider)
idRequired
  • Type: *string

providerOptional
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider

InterpolationForAttribute
func InterpolationForAttribute(terraformAttribute *string) IResolvable
terraformAttributeRequired
  • Type: *string

MoveFromId
func MoveFromId(id *string)

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.

idRequired
  • Type: *string

Full id of resource being moved from, e.g. "aws_s3_bucket.example".


MoveTo
func MoveTo(moveTarget *string, index interface{})

Moves this resource to the target resource given by moveTarget.

moveTargetRequired
  • Type: *string

The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.


indexOptional
  • Type: interface{}

Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.


MoveToId
func MoveToId(id *string)

Moves this resource to the resource corresponding to "id".

idRequired
  • Type: *string

Full id of resource to move to, e.g. "aws_s3_bucket.example".


PutServiceDirectoryRegistrations
func PutServiceDirectoryRegistrations(value ComputeForwardingRuleServiceDirectoryRegistrations)
valueRequired

PutTimeouts
func PutTimeouts(value ComputeForwardingRuleTimeouts)
valueRequired

ResetAllowGlobalAccess
func ResetAllowGlobalAccess()
ResetAllowPscGlobalAccess
func ResetAllowPscGlobalAccess()
ResetAllPorts
func ResetAllPorts()
ResetBackendService
func ResetBackendService()
ResetDescription
func ResetDescription()
ResetId
func ResetId()
ResetIpAddress
func ResetIpAddress()
ResetIpProtocol
func ResetIpProtocol()
ResetIpVersion
func ResetIpVersion()
ResetIsMirroringCollector
func ResetIsMirroringCollector()
ResetLabels
func ResetLabels()
ResetLoadBalancingScheme
func ResetLoadBalancingScheme()
ResetNetwork
func ResetNetwork()
ResetNetworkTier
func ResetNetworkTier()
ResetNoAutomateDnsZone
func ResetNoAutomateDnsZone()
ResetPortRange
func ResetPortRange()
ResetPorts
func ResetPorts()
ResetProject
func ResetProject()
ResetRecreateClosedPsc
func ResetRecreateClosedPsc()
ResetRegion
func ResetRegion()
ResetServiceDirectoryRegistrations
func ResetServiceDirectoryRegistrations()
ResetServiceLabel
func ResetServiceLabel()
ResetSourceIpRanges
func ResetSourceIpRanges()
ResetSubnetwork
func ResetSubnetwork()
ResetTarget
func ResetTarget()
ResetTimeouts
func ResetTimeouts()

Static Functions

Name Description
IsConstruct Checks if x is a construct.
IsTerraformElement No description.
IsTerraformResource No description.
GenerateConfigForImport Generates CDKTF code for importing a ComputeForwardingRule resource upon running "cdktf plan ".

IsConstruct
import "github.com/cdktf/cdktf-provider-google-go/google/v14/computeforwardingrule"

computeforwardingrule.ComputeForwardingRule_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.

xRequired
  • Type: interface{}

Any object.


IsTerraformElement
import "github.com/cdktf/cdktf-provider-google-go/google/v14/computeforwardingrule"

computeforwardingrule.ComputeForwardingRule_IsTerraformElement(x interface{}) *bool
xRequired
  • Type: interface{}

IsTerraformResource
import "github.com/cdktf/cdktf-provider-google-go/google/v14/computeforwardingrule"

computeforwardingrule.ComputeForwardingRule_IsTerraformResource(x interface{}) *bool
xRequired
  • Type: interface{}

GenerateConfigForImport
import "github.com/cdktf/cdktf-provider-google-go/google/v14/computeforwardingrule"

computeforwardingrule.ComputeForwardingRule_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource

Generates CDKTF code for importing a ComputeForwardingRule resource upon running "cdktf plan ".

scopeRequired
  • Type: github.com/aws/constructs-go/constructs/v10.Construct

The scope in which to define this construct.


importToIdRequired
  • Type: *string

The construct id used in the generated config for the ComputeForwardingRule to import.


importFromIdRequired
  • Type: *string

The id of the existing ComputeForwardingRule that should be imported.

Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#import import section} in the documentation of this resource for the id to use


providerOptional
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider

? Optional instance of the provider where the ComputeForwardingRule to import is found.


Properties

Name Type Description
Node github.com/aws/constructs-go/constructs/v10.Node The tree node.
CdktfStack github.com/hashicorp/terraform-cdk-go/cdktf.TerraformStack No description.
Fqn *string No description.
FriendlyUniqueId *string No description.
TerraformMetaArguments *map[string]interface{} No description.
TerraformResourceType *string No description.
TerraformGeneratorMetadata github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProviderGeneratorMetadata No description.
Connection interface{} No description.
Count interface{} No description.
DependsOn *[]*string No description.
ForEach github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator No description.
Lifecycle github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle No description.
Provider github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider No description.
Provisioners *[]interface{} No description.
BaseForwardingRule *string No description.
CreationTimestamp *string No description.
EffectiveLabels github.com/hashicorp/terraform-cdk-go/cdktf.StringMap No description.
ForwardingRuleId *f64 No description.
LabelFingerprint *string No description.
PscConnectionId *string No description.
PscConnectionStatus *string No description.
SelfLink *string No description.
ServiceDirectoryRegistrations ComputeForwardingRuleServiceDirectoryRegistrationsOutputReference No description.
ServiceName *string No description.
TerraformLabels github.com/hashicorp/terraform-cdk-go/cdktf.StringMap No description.
Timeouts ComputeForwardingRuleTimeoutsOutputReference No description.
AllowGlobalAccessInput interface{} No description.
AllowPscGlobalAccessInput interface{} No description.
AllPortsInput interface{} No description.
BackendServiceInput *string No description.
DescriptionInput *string No description.
IdInput *string No description.
IpAddressInput *string No description.
IpProtocolInput *string No description.
IpVersionInput *string No description.
IsMirroringCollectorInput interface{} No description.
LabelsInput *map[string]*string No description.
LoadBalancingSchemeInput *string No description.
NameInput *string No description.
NetworkInput *string No description.
NetworkTierInput *string No description.
NoAutomateDnsZoneInput interface{} No description.
PortRangeInput *string No description.
PortsInput *[]*string No description.
ProjectInput *string No description.
RecreateClosedPscInput interface{} No description.
RegionInput *string No description.
ServiceDirectoryRegistrationsInput ComputeForwardingRuleServiceDirectoryRegistrations No description.
ServiceLabelInput *string No description.
SourceIpRangesInput *[]*string No description.
SubnetworkInput *string No description.
TargetInput *string No description.
TimeoutsInput interface{} No description.
AllowGlobalAccess interface{} No description.
AllowPscGlobalAccess interface{} No description.
AllPorts interface{} No description.
BackendService *string No description.
Description *string No description.
Id *string No description.
IpAddress *string No description.
IpProtocol *string No description.
IpVersion *string No description.
IsMirroringCollector interface{} No description.
Labels *map[string]*string No description.
LoadBalancingScheme *string No description.
Name *string No description.
Network *string No description.
NetworkTier *string No description.
NoAutomateDnsZone interface{} No description.
PortRange *string No description.
Ports *[]*string No description.
Project *string No description.
RecreateClosedPsc interface{} No description.
Region *string No description.
ServiceLabel *string No description.
SourceIpRanges *[]*string No description.
Subnetwork *string No description.
Target *string No description.

NodeRequired
func Node() Node
  • Type: github.com/aws/constructs-go/constructs/v10.Node

The tree node.


CdktfStackRequired
func CdktfStack() TerraformStack
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformStack

FqnRequired
func Fqn() *string
  • Type: *string

FriendlyUniqueIdRequired
func FriendlyUniqueId() *string
  • Type: *string

TerraformMetaArgumentsRequired
func TerraformMetaArguments() *map[string]interface{}
  • Type: *map[string]interface{}

TerraformResourceTypeRequired
func TerraformResourceType() *string
  • Type: *string

TerraformGeneratorMetadataOptional
func TerraformGeneratorMetadata() TerraformProviderGeneratorMetadata
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProviderGeneratorMetadata

ConnectionOptional
func Connection() interface{}
  • Type: interface{}

CountOptional
func Count() interface{}
  • Type: interface{}

DependsOnOptional
func DependsOn() *[]*string
  • Type: *[]*string

ForEachOptional
func ForEach() ITerraformIterator
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator

LifecycleOptional
func Lifecycle() TerraformResourceLifecycle
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle

ProviderOptional
func Provider() TerraformProvider
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider

ProvisionersOptional
func Provisioners() *[]interface{}
  • Type: *[]interface{}

BaseForwardingRuleRequired
func BaseForwardingRule() *string
  • Type: *string

CreationTimestampRequired
func CreationTimestamp() *string
  • Type: *string

EffectiveLabelsRequired
func EffectiveLabels() StringMap
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.StringMap

ForwardingRuleIdRequired
func ForwardingRuleId() *f64
  • Type: *f64

LabelFingerprintRequired
func LabelFingerprint() *string
  • Type: *string

PscConnectionIdRequired
func PscConnectionId() *string
  • Type: *string

PscConnectionStatusRequired
func PscConnectionStatus() *string
  • Type: *string

SelfLinkRequired
func SelfLink() *string
  • Type: *string

ServiceDirectoryRegistrationsRequired
func ServiceDirectoryRegistrations() ComputeForwardingRuleServiceDirectoryRegistrationsOutputReference

ServiceNameRequired
func ServiceName() *string
  • Type: *string

TerraformLabelsRequired
func TerraformLabels() StringMap
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.StringMap

TimeoutsRequired
func Timeouts() ComputeForwardingRuleTimeoutsOutputReference

AllowGlobalAccessInputOptional
func AllowGlobalAccessInput() interface{}
  • Type: interface{}

AllowPscGlobalAccessInputOptional
func AllowPscGlobalAccessInput() interface{}
  • Type: interface{}

AllPortsInputOptional
func AllPortsInput() interface{}
  • Type: interface{}

BackendServiceInputOptional
func BackendServiceInput() *string
  • Type: *string

DescriptionInputOptional
func DescriptionInput() *string
  • Type: *string

IdInputOptional
func IdInput() *string
  • Type: *string

IpAddressInputOptional
func IpAddressInput() *string
  • Type: *string

IpProtocolInputOptional
func IpProtocolInput() *string
  • Type: *string

IpVersionInputOptional
func IpVersionInput() *string
  • Type: *string

IsMirroringCollectorInputOptional
func IsMirroringCollectorInput() interface{}
  • Type: interface{}

LabelsInputOptional
func LabelsInput() *map[string]*string
  • Type: *map[string]*string

LoadBalancingSchemeInputOptional
func LoadBalancingSchemeInput() *string
  • Type: *string

NameInputOptional
func NameInput() *string
  • Type: *string

NetworkInputOptional
func NetworkInput() *string
  • Type: *string

NetworkTierInputOptional
func NetworkTierInput() *string
  • Type: *string

NoAutomateDnsZoneInputOptional
func NoAutomateDnsZoneInput() interface{}
  • Type: interface{}

PortRangeInputOptional
func PortRangeInput() *string
  • Type: *string

PortsInputOptional
func PortsInput() *[]*string
  • Type: *[]*string

ProjectInputOptional
func ProjectInput() *string
  • Type: *string

RecreateClosedPscInputOptional
func RecreateClosedPscInput() interface{}
  • Type: interface{}

RegionInputOptional
func RegionInput() *string
  • Type: *string

ServiceDirectoryRegistrationsInputOptional
func ServiceDirectoryRegistrationsInput() ComputeForwardingRuleServiceDirectoryRegistrations

ServiceLabelInputOptional
func ServiceLabelInput() *string
  • Type: *string

SourceIpRangesInputOptional
func SourceIpRangesInput() *[]*string
  • Type: *[]*string

SubnetworkInputOptional
func SubnetworkInput() *string
  • Type: *string

TargetInputOptional
func TargetInput() *string
  • Type: *string

TimeoutsInputOptional
func TimeoutsInput() interface{}
  • Type: interface{}

AllowGlobalAccessRequired
func AllowGlobalAccess() interface{}
  • Type: interface{}

AllowPscGlobalAccessRequired
func AllowPscGlobalAccess() interface{}
  • Type: interface{}

AllPortsRequired
func AllPorts() interface{}
  • Type: interface{}

BackendServiceRequired
func BackendService() *string
  • Type: *string

DescriptionRequired
func Description() *string
  • Type: *string

IdRequired
func Id() *string
  • Type: *string

IpAddressRequired
func IpAddress() *string
  • Type: *string

IpProtocolRequired
func IpProtocol() *string
  • Type: *string

IpVersionRequired
func IpVersion() *string
  • Type: *string

IsMirroringCollectorRequired
func IsMirroringCollector() interface{}
  • Type: interface{}

LabelsRequired
func Labels() *map[string]*string
  • Type: *map[string]*string

LoadBalancingSchemeRequired
func LoadBalancingScheme() *string
  • Type: *string

NameRequired
func Name() *string
  • Type: *string

NetworkRequired
func Network() *string
  • Type: *string

NetworkTierRequired
func NetworkTier() *string
  • Type: *string

NoAutomateDnsZoneRequired
func NoAutomateDnsZone() interface{}
  • Type: interface{}

PortRangeRequired
func PortRange() *string
  • Type: *string

PortsRequired
func Ports() *[]*string
  • Type: *[]*string

ProjectRequired
func Project() *string
  • Type: *string

RecreateClosedPscRequired
func RecreateClosedPsc() interface{}
  • Type: interface{}

RegionRequired
func Region() *string
  • Type: *string

ServiceLabelRequired
func ServiceLabel() *string
  • Type: *string

SourceIpRangesRequired
func SourceIpRanges() *[]*string
  • Type: *[]*string

SubnetworkRequired
func Subnetwork() *string
  • Type: *string

TargetRequired
func Target() *string
  • Type: *string

Constants

Name Type Description
TfResourceType *string No description.

TfResourceTypeRequired
func TfResourceType() *string
  • Type: *string

Structs

ComputeForwardingRuleConfig

Initializer

import "github.com/cdktf/cdktf-provider-google-go/google/v14/computeforwardingrule"

&computeforwardingrule.ComputeForwardingRuleConfig {
	Connection: interface{},
	Count: interface{},
	DependsOn: *[]github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformDependable,
	ForEach: github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator,
	Lifecycle: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle,
	Provider: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider,
	Provisioners: *[]interface{},
	Name: *string,
	AllowGlobalAccess: interface{},
	AllowPscGlobalAccess: interface{},
	AllPorts: interface{},
	BackendService: *string,
	Description: *string,
	Id: *string,
	IpAddress: *string,
	IpProtocol: *string,
	IpVersion: *string,
	IsMirroringCollector: interface{},
	Labels: *map[string]*string,
	LoadBalancingScheme: *string,
	Network: *string,
	NetworkTier: *string,
	NoAutomateDnsZone: interface{},
	PortRange: *string,
	Ports: *[]*string,
	Project: *string,
	RecreateClosedPsc: interface{},
	Region: *string,
	ServiceDirectoryRegistrations: github.com/cdktf/cdktf-provider-google-go/google/v14.computeForwardingRule.ComputeForwardingRuleServiceDirectoryRegistrations,
	ServiceLabel: *string,
	SourceIpRanges: *[]*string,
	Subnetwork: *string,
	Target: *string,
	Timeouts: github.com/cdktf/cdktf-provider-google-go/google/v14.computeForwardingRule.ComputeForwardingRuleTimeouts,
}

Properties

Name Type Description
Connection interface{} No description.
Count interface{} No description.
DependsOn *[]github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformDependable No description.
ForEach github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator No description.
Lifecycle github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle No description.
Provider github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider No description.
Provisioners *[]interface{} No description.
Name *string Name of the resource;
AllowGlobalAccess interface{} This field is used along with the 'backend_service' field for internal load balancing or with the 'target' field for internal TargetInstance.
AllowPscGlobalAccess interface{} This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.
AllPorts interface{} The 'ports', 'portRange', and 'allPorts' fields are mutually exclusive.
BackendService *string Identifies the backend service to which the forwarding rule sends traffic.
Description *string An optional description of this resource. Provide this property when you create the resource.
Id *string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#id ComputeForwardingRule#id}.
IpAddress *string IP address for which this forwarding rule accepts traffic.
IpProtocol *string The IP protocol to which this rule applies.
IpVersion *string The IP address version that will be used by this forwarding rule. Valid options are IPV4 and IPV6.
IsMirroringCollector interface{} Indicates whether or not this load balancer can be used as a collector for packet mirroring.
Labels *map[string]*string Labels to apply to this forwarding rule. A list of key->value pairs.
LoadBalancingScheme *string Specifies the forwarding rule type.
Network *string This field is not used for external load balancing.
NetworkTier *string This signifies the networking tier used for configuring this load balancer and can only take the following values: 'PREMIUM', 'STANDARD'.
NoAutomateDnsZone interface{} This is used in PSC consumer ForwardingRule to control whether it should try to auto-generate a DNS zone or not.
PortRange *string The 'ports', 'portRange', and 'allPorts' fields are mutually exclusive.
Ports *[]*string The 'ports', 'portRange', and 'allPorts' fields are mutually exclusive.
Project *string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#project ComputeForwardingRule#project}.
RecreateClosedPsc interface{} This is used in PSC consumer ForwardingRule to make terraform recreate the ForwardingRule when the status is closed.
Region *string A reference to the region where the regional forwarding rule resides.
ServiceDirectoryRegistrations ComputeForwardingRuleServiceDirectoryRegistrations service_directory_registrations block.
ServiceLabel *string An optional prefix to the service name for this Forwarding Rule.
SourceIpRanges *[]*string If not empty, this Forwarding Rule will only forward the traffic when the source IP address matches one of the IP addresses or CIDR ranges set here.
Subnetwork *string This field identifies the subnetwork that the load balanced IP should belong to for this Forwarding Rule, used in internal load balancing and network load balancing with IPv6.
Target *string The URL of the target resource to receive the matched traffic.
Timeouts ComputeForwardingRuleTimeouts timeouts block.

ConnectionOptional
Connection interface{}
  • Type: interface{}

CountOptional
Count interface{}
  • Type: interface{}

DependsOnOptional
DependsOn *[]ITerraformDependable
  • Type: *[]github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformDependable

ForEachOptional
ForEach ITerraformIterator
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator

LifecycleOptional
Lifecycle TerraformResourceLifecycle
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle

ProviderOptional
Provider TerraformProvider
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider

ProvisionersOptional
Provisioners *[]interface{}
  • Type: *[]interface{}

NameRequired
Name *string
  • Type: *string

Name of the resource;

provided by the client when the resource is created. 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?' 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.

For Private Service Connect forwarding rules that forward traffic to Google APIs, the forwarding rule name must be a 1-20 characters string with lowercase letters and numbers and must start with a letter.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#name ComputeForwardingRule#name}


AllowGlobalAccessOptional
AllowGlobalAccess interface{}
  • Type: interface{}

This field is used along with the 'backend_service' field for internal load balancing or with the 'target' field for internal TargetInstance.

If the field is set to 'TRUE', clients can access ILB from all regions.

Otherwise only allows access from clients in the same region as the internal load balancer.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#allow_global_access ComputeForwardingRule#allow_global_access}


AllowPscGlobalAccessOptional
AllowPscGlobalAccess interface{}
  • Type: interface{}

This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#allow_psc_global_access ComputeForwardingRule#allow_psc_global_access}


AllPortsOptional
AllPorts interface{}
  • Type: interface{}

The 'ports', 'portRange', and 'allPorts' fields are mutually exclusive.

Only packets addressed to ports in the specified range will be forwarded to the backends configured with this forwarding rule.

The 'allPorts' field has the following limitations:

  • It requires that the forwarding rule 'IPProtocol' be TCP, UDP, SCTP, or L3_DEFAULT.
  • It's applicable only to the following products: internal passthrough Network Load Balancers, backend service-based external passthrough Network Load Balancers, and internal and external protocol forwarding.
  • Set this field to true to allow packets addressed to any port or packets lacking destination port information (for example, UDP fragments after the first fragment) to be forwarded to the backends configured with this forwarding rule. The L3_DEFAULT protocol requires 'allPorts' be set to true.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#all_ports ComputeForwardingRule#all_ports}


BackendServiceOptional
BackendService *string
  • Type: *string

Identifies the backend service to which the forwarding rule sends traffic.

Required for Internal TCP/UDP Load Balancing and Network Load Balancing; must be omitted for all other load balancer types.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#backend_service ComputeForwardingRule#backend_service}


DescriptionOptional
Description *string
  • Type: *string

An optional description of this resource. Provide this property when you create the resource.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#description ComputeForwardingRule#description}


IdOptional
Id *string
  • Type: *string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#id ComputeForwardingRule#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.


IpAddressOptional
IpAddress *string
  • Type: *string

IP address for which this forwarding rule accepts traffic.

When a client sends traffic to this IP address, the forwarding rule directs the traffic to the referenced 'target' or 'backendService'.

While creating a forwarding rule, specifying an 'IPAddress' is required under the following circumstances:

  • When the 'target' is set to 'targetGrpcProxy' and 'validateForProxyless' is set to 'true', the 'IPAddress' should be set to '0.0.0.0'.
  • When the 'target' is a Private Service Connect Google APIs bundle, you must specify an 'IPAddress'.

Otherwise, you can optionally specify an IP address that references an existing static (reserved) IP address resource. When omitted, Google Cloud assigns an ephemeral IP address.

Use one of the following formats to specify an IP address while creating a forwarding rule:

The forwarding rule's 'target' or 'backendService', and in most cases, also the 'loadBalancingScheme', determine the type of IP address that you can use. For detailed information, see IP address specifications.

When reading an 'IPAddress', the API always returns the IP address number.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#ip_address ComputeForwardingRule#ip_address}


IpProtocolOptional
IpProtocol *string
  • Type: *string

The IP protocol to which this rule applies.

For protocol forwarding, valid options are 'TCP', 'UDP', 'ESP', 'AH', 'SCTP', 'ICMP' and 'L3_DEFAULT'.

The valid IP protocols are different for different load balancing products as described in Load balancing features.

A Forwarding Rule with protocol L3_DEFAULT can attach with target instance or backend service with UNSPECIFIED protocol. A forwarding rule with "L3_DEFAULT" IPProtocal cannot be attached to a backend service with TCP or UDP. Possible values: ["TCP", "UDP", "ESP", "AH", "SCTP", "ICMP", "L3_DEFAULT"]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#ip_protocol ComputeForwardingRule#ip_protocol}


IpVersionOptional
IpVersion *string
  • Type: *string

The IP address version that will be used by this forwarding rule. Valid options are IPV4 and IPV6.

If not set, the IPv4 address will be used by default. Possible values: ["IPV4", "IPV6"]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#ip_version ComputeForwardingRule#ip_version}


IsMirroringCollectorOptional
IsMirroringCollector interface{}
  • Type: interface{}

Indicates whether or not this load balancer can be used as a collector for packet mirroring.

To prevent mirroring loops, instances behind this load balancer will not have their traffic mirrored even if a 'PacketMirroring' rule applies to them.

This can only be set to true for load balancers that have their 'loadBalancingScheme' set to 'INTERNAL'.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#is_mirroring_collector ComputeForwardingRule#is_mirroring_collector}


LabelsOptional
Labels *map[string]*string
  • Type: *map[string]*string

Labels to apply to this forwarding rule. A list of key->value pairs.

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#labels ComputeForwardingRule#labels}


LoadBalancingSchemeOptional
LoadBalancingScheme *string
  • Type: *string

Specifies the forwarding rule type.

For more information about forwarding rules, refer to Forwarding rule concepts. Default value: "EXTERNAL" Possible values: ["EXTERNAL", "EXTERNAL_MANAGED", "INTERNAL", "INTERNAL_MANAGED"]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#load_balancing_scheme ComputeForwardingRule#load_balancing_scheme}


NetworkOptional
Network *string
  • Type: *string

This field is not used for external load balancing.

For Internal TCP/UDP Load Balancing, this field identifies the network that the load balanced IP should belong to for this Forwarding Rule. If the subnetwork is specified, the network of the subnetwork will be used. If neither subnetwork nor this field is specified, the default network will be used.

For Private Service Connect forwarding rules that forward traffic to Google APIs, a network must be provided.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#network ComputeForwardingRule#network}


NetworkTierOptional
NetworkTier *string
  • Type: *string

This signifies the networking tier used for configuring this load balancer and can only take the following values: 'PREMIUM', 'STANDARD'.

For regional ForwardingRule, the valid values are 'PREMIUM' and 'STANDARD'. For GlobalForwardingRule, the valid value is 'PREMIUM'.

If this field is not specified, it is assumed to be 'PREMIUM'. If 'IPAddress' is specified, this value must be equal to the networkTier of the Address. Possible values: ["PREMIUM", "STANDARD"]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#network_tier ComputeForwardingRule#network_tier}


NoAutomateDnsZoneOptional
NoAutomateDnsZone interface{}
  • Type: interface{}

This is used in PSC consumer ForwardingRule to control whether it should try to auto-generate a DNS zone or not.

Non-PSC forwarding rules do not use this field.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#no_automate_dns_zone ComputeForwardingRule#no_automate_dns_zone}


PortRangeOptional
PortRange *string
  • Type: *string

The 'ports', 'portRange', and 'allPorts' fields are mutually exclusive.

Only packets addressed to ports in the specified range will be forwarded to the backends configured with this forwarding rule.

The 'portRange' field has the following limitations:

  • It requires that the forwarding rule 'IPProtocol' be TCP, UDP, or SCTP, and
  • It's applicable only to the following products: external passthrough Network Load Balancers, internal and external proxy Network Load Balancers, internal and external Application Load Balancers, external protocol forwarding, and Classic VPN.
  • Some products have restrictions on what ports can be used. See port specifications for details.

For external forwarding rules, two or more forwarding rules cannot use the same '[IPAddress, IPProtocol]' pair, and cannot have overlapping 'portRange's.

For internal forwarding rules within the same VPC network, two or more forwarding rules cannot use the same '[IPAddress, IPProtocol]' pair, and cannot have overlapping 'portRange's.


PortsOptional
Ports *[]*string
  • Type: *[]*string

The 'ports', 'portRange', and 'allPorts' fields are mutually exclusive.

Only packets addressed to ports in the specified range will be forwarded to the backends configured with this forwarding rule.

The 'ports' field has the following limitations:

  • It requires that the forwarding rule 'IPProtocol' be TCP, UDP, or SCTP, and
  • It's applicable only to the following products: internal passthrough Network Load Balancers, backend service-based external passthrough Network Load Balancers, and internal protocol forwarding.
  • You can specify a list of up to five ports by number, separated by commas. The ports can be contiguous or discontiguous.

For external forwarding rules, two or more forwarding rules cannot use the same '[IPAddress, IPProtocol]' pair if they share at least one port number.

For internal forwarding rules within the same VPC network, two or more forwarding rules cannot use the same '[IPAddress, IPProtocol]' pair if they share at least one port number.


ProjectOptional
Project *string
  • Type: *string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#project ComputeForwardingRule#project}.


RecreateClosedPscOptional
RecreateClosedPsc interface{}
  • Type: interface{}

This is used in PSC consumer ForwardingRule to make terraform recreate the ForwardingRule when the status is closed.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#recreate_closed_psc ComputeForwardingRule#recreate_closed_psc}


RegionOptional
Region *string
  • Type: *string

A reference to the region where the regional forwarding rule resides.

This field is not applicable to global forwarding rules.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#region ComputeForwardingRule#region}


ServiceDirectoryRegistrationsOptional
ServiceDirectoryRegistrations ComputeForwardingRuleServiceDirectoryRegistrations

service_directory_registrations block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#service_directory_registrations ComputeForwardingRule#service_directory_registrations}


ServiceLabelOptional
ServiceLabel *string
  • Type: *string

An optional prefix to the service name for this Forwarding Rule.

If specified, will be the first label of the fully qualified service name.

The label must be 1-63 characters long, and comply with RFC1035. Specifically, the label must be 1-63 characters long and match the regular expression 'a-z?' 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.

This field is only used for INTERNAL load balancing.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#service_label ComputeForwardingRule#service_label}


SourceIpRangesOptional
SourceIpRanges *[]*string
  • Type: *[]*string

If not empty, this Forwarding Rule will only forward the traffic when the source IP address matches one of the IP addresses or CIDR ranges set here.

Note that a Forwarding Rule can only have up to 64 source IP ranges, and this field can only be used with a regional Forwarding Rule whose scheme is EXTERNAL. Each sourceIpRange entry should be either an IP address (for example, 1.2.3.4) or a CIDR range (for example, 1.2.3.0/24).

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#source_ip_ranges ComputeForwardingRule#source_ip_ranges}


SubnetworkOptional
Subnetwork *string
  • Type: *string

This field identifies the subnetwork that the load balanced IP should belong to for this Forwarding Rule, used in internal load balancing and network load balancing with IPv6.

If the network specified is in auto subnet mode, this field is optional. However, a subnetwork must be specified if the network is in custom subnet mode or when creating external forwarding rule with IPv6.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#subnetwork ComputeForwardingRule#subnetwork}


TargetOptional
Target *string
  • Type: *string

The URL of the target resource to receive the matched traffic.

For regional forwarding rules, this target must be in the same region as the forwarding rule. For global forwarding rules, this target must be a global load balancing resource.

The forwarded traffic must be of a type appropriate to the target object.

For Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#target ComputeForwardingRule#target}


TimeoutsOptional
Timeouts ComputeForwardingRuleTimeouts

timeouts block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#timeouts ComputeForwardingRule#timeouts}


ComputeForwardingRuleServiceDirectoryRegistrations

Initializer

import "github.com/cdktf/cdktf-provider-google-go/google/v14/computeforwardingrule"

&computeforwardingrule.ComputeForwardingRuleServiceDirectoryRegistrations {
	Namespace: *string,
	Service: *string,
}

Properties

Name Type Description
Namespace *string Service Directory namespace to register the forwarding rule under.
Service *string Service Directory service to register the forwarding rule under.

NamespaceOptional
Namespace *string
  • Type: *string

Service Directory namespace to register the forwarding rule under.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#namespace ComputeForwardingRule#namespace}


ServiceOptional
Service *string
  • Type: *string

Service Directory service to register the forwarding rule under.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#service ComputeForwardingRule#service}


ComputeForwardingRuleTimeouts

Initializer

import "github.com/cdktf/cdktf-provider-google-go/google/v14/computeforwardingrule"

&computeforwardingrule.ComputeForwardingRuleTimeouts {
	Create: *string,
	Delete: *string,
	Update: *string,
}

Properties

Name Type Description
Create *string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#create ComputeForwardingRule#create}.
Delete *string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#delete ComputeForwardingRule#delete}.
Update *string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#update ComputeForwardingRule#update}.

CreateOptional
Create *string
  • Type: *string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#create ComputeForwardingRule#create}.


DeleteOptional
Delete *string
  • Type: *string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#delete ComputeForwardingRule#delete}.


UpdateOptional
Update *string
  • Type: *string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/compute_forwarding_rule#update ComputeForwardingRule#update}.


Classes

ComputeForwardingRuleServiceDirectoryRegistrationsOutputReference

Initializers

import "github.com/cdktf/cdktf-provider-google-go/google/v14/computeforwardingrule"

computeforwardingrule.NewComputeForwardingRuleServiceDirectoryRegistrationsOutputReference(terraformResource IInterpolatingParent, terraformAttribute *string) ComputeForwardingRuleServiceDirectoryRegistrationsOutputReference
Name Type Description
terraformResource github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent The parent resource.
terraformAttribute *string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: *string

The attribute on the parent resource this class is referencing.


Methods

Name Description
ComputeFqn No description.
GetAnyMapAttribute No description.
GetBooleanAttribute No description.
GetBooleanMapAttribute No description.
GetListAttribute No description.
GetNumberAttribute No description.
GetNumberListAttribute No description.
GetNumberMapAttribute No description.
GetStringAttribute No description.
GetStringMapAttribute No description.
InterpolationForAttribute No description.
Resolve Produce the Token's value at resolution time.
ToString Return a string representation of this resolvable object.
ResetNamespace No description.
ResetService No description.

ComputeFqn
func ComputeFqn() *string
GetAnyMapAttribute
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
terraformAttributeRequired
  • Type: *string

GetBooleanAttribute
func GetBooleanAttribute(terraformAttribute *string) IResolvable
terraformAttributeRequired
  • Type: *string

GetBooleanMapAttribute
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
terraformAttributeRequired
  • Type: *string

GetListAttribute
func GetListAttribute(terraformAttribute *string) *[]*string
terraformAttributeRequired
  • Type: *string

GetNumberAttribute
func GetNumberAttribute(terraformAttribute *string) *f64
terraformAttributeRequired
  • Type: *string

GetNumberListAttribute
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
terraformAttributeRequired
  • Type: *string

GetNumberMapAttribute
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
terraformAttributeRequired
  • Type: *string

GetStringAttribute
func GetStringAttribute(terraformAttribute *string) *string
terraformAttributeRequired
  • Type: *string

GetStringMapAttribute
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
terraformAttributeRequired
  • Type: *string

InterpolationForAttribute
func InterpolationForAttribute(property *string) IResolvable
propertyRequired
  • Type: *string

Resolve
func Resolve(_context IResolveContext) interface{}

Produce the Token's value at resolution time.

_contextRequired
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.IResolveContext

ToString
func ToString() *string

Return a string representation of this resolvable object.

Returns a reversible string representation.

ResetNamespace
func ResetNamespace()
ResetService
func ResetService()

Properties

Name Type Description
CreationStack *[]*string The creation stack of this resolvable which will be appended to errors thrown during resolution.
Fqn *string No description.
NamespaceInput *string No description.
ServiceInput *string No description.
Namespace *string No description.
Service *string No description.
InternalValue ComputeForwardingRuleServiceDirectoryRegistrations No description.

CreationStackRequired
func CreationStack() *[]*string
  • Type: *[]*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.


FqnRequired
func Fqn() *string
  • Type: *string

NamespaceInputOptional
func NamespaceInput() *string
  • Type: *string

ServiceInputOptional
func ServiceInput() *string
  • Type: *string

NamespaceRequired
func Namespace() *string
  • Type: *string

ServiceRequired
func Service() *string
  • Type: *string

InternalValueOptional
func InternalValue() ComputeForwardingRuleServiceDirectoryRegistrations

ComputeForwardingRuleTimeoutsOutputReference

Initializers

import "github.com/cdktf/cdktf-provider-google-go/google/v14/computeforwardingrule"

computeforwardingrule.NewComputeForwardingRuleTimeoutsOutputReference(terraformResource IInterpolatingParent, terraformAttribute *string) ComputeForwardingRuleTimeoutsOutputReference
Name Type Description
terraformResource github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent The parent resource.
terraformAttribute *string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: *string

The attribute on the parent resource this class is referencing.


Methods

Name Description
ComputeFqn No description.
GetAnyMapAttribute No description.
GetBooleanAttribute No description.
GetBooleanMapAttribute No description.
GetListAttribute No description.
GetNumberAttribute No description.
GetNumberListAttribute No description.
GetNumberMapAttribute No description.
GetStringAttribute No description.
GetStringMapAttribute No description.
InterpolationForAttribute No description.
Resolve Produce the Token's value at resolution time.
ToString Return a string representation of this resolvable object.
ResetCreate No description.
ResetDelete No description.
ResetUpdate No description.

ComputeFqn
func ComputeFqn() *string
GetAnyMapAttribute
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
terraformAttributeRequired
  • Type: *string

GetBooleanAttribute
func GetBooleanAttribute(terraformAttribute *string) IResolvable
terraformAttributeRequired
  • Type: *string

GetBooleanMapAttribute
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
terraformAttributeRequired
  • Type: *string

GetListAttribute
func GetListAttribute(terraformAttribute *string) *[]*string
terraformAttributeRequired
  • Type: *string

GetNumberAttribute
func GetNumberAttribute(terraformAttribute *string) *f64
terraformAttributeRequired
  • Type: *string

GetNumberListAttribute
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
terraformAttributeRequired
  • Type: *string

GetNumberMapAttribute
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
terraformAttributeRequired
  • Type: *string

GetStringAttribute
func GetStringAttribute(terraformAttribute *string) *string
terraformAttributeRequired
  • Type: *string

GetStringMapAttribute
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
terraformAttributeRequired
  • Type: *string

InterpolationForAttribute
func InterpolationForAttribute(property *string) IResolvable
propertyRequired
  • Type: *string

Resolve
func Resolve(_context IResolveContext) interface{}

Produce the Token's value at resolution time.

_contextRequired
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.IResolveContext

ToString
func ToString() *string

Return a string representation of this resolvable object.

Returns a reversible string representation.

ResetCreate
func ResetCreate()
ResetDelete
func ResetDelete()
ResetUpdate
func ResetUpdate()

Properties

Name Type Description
CreationStack *[]*string The creation stack of this resolvable which will be appended to errors thrown during resolution.
Fqn *string No description.
CreateInput *string No description.
DeleteInput *string No description.
UpdateInput *string No description.
Create *string No description.
Delete *string No description.
Update *string No description.
InternalValue interface{} No description.

CreationStackRequired
func CreationStack() *[]*string
  • Type: *[]*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.


FqnRequired
func Fqn() *string
  • Type: *string

CreateInputOptional
func CreateInput() *string
  • Type: *string

DeleteInputOptional
func DeleteInput() *string
  • Type: *string

UpdateInputOptional
func UpdateInput() *string
  • Type: *string

CreateRequired
func Create() *string
  • Type: *string

DeleteRequired
func Delete() *string
  • Type: *string

UpdateRequired
func Update() *string
  • Type: *string

InternalValueOptional
func InternalValue() interface{}
  • Type: interface{}