Skip to content

Latest commit

 

History

History
3133 lines (1949 loc) · 146 KB

computeFirewallPolicyRule.go.md

File metadata and controls

3133 lines (1949 loc) · 146 KB

computeFirewallPolicyRule Submodule

Constructs

ComputeFirewallPolicyRule

Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule google_compute_firewall_policy_rule}.

Initializers

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

computefirewallpolicyrule.NewComputeFirewallPolicyRule(scope Construct, id *string, config ComputeFirewallPolicyRuleConfig) ComputeFirewallPolicyRule
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 ComputeFirewallPolicyRuleConfig 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".
PutMatch No description.
PutTimeouts No description.
ResetDescription No description.
ResetDisabled No description.
ResetEnableLogging No description.
ResetId No description.
ResetSecurityProfileGroup No description.
ResetTargetResources No description.
ResetTargetServiceAccounts No description.
ResetTimeouts No description.
ResetTlsInspect 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".


PutMatch
func PutMatch(value ComputeFirewallPolicyRuleMatch)
valueRequired

PutTimeouts
func PutTimeouts(value ComputeFirewallPolicyRuleTimeouts)
valueRequired

ResetDescription
func ResetDescription()
ResetDisabled
func ResetDisabled()
ResetEnableLogging
func ResetEnableLogging()
ResetId
func ResetId()
ResetSecurityProfileGroup
func ResetSecurityProfileGroup()
ResetTargetResources
func ResetTargetResources()
ResetTargetServiceAccounts
func ResetTargetServiceAccounts()
ResetTimeouts
func ResetTimeouts()
ResetTlsInspect
func ResetTlsInspect()

Static Functions

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

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

computefirewallpolicyrule.ComputeFirewallPolicyRule_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/computefirewallpolicyrule"

computefirewallpolicyrule.ComputeFirewallPolicyRule_IsTerraformElement(x interface{}) *bool
xRequired
  • Type: interface{}

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

computefirewallpolicyrule.ComputeFirewallPolicyRule_IsTerraformResource(x interface{}) *bool
xRequired
  • Type: interface{}

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

computefirewallpolicyrule.ComputeFirewallPolicyRule_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource

Generates CDKTF code for importing a ComputeFirewallPolicyRule 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 ComputeFirewallPolicyRule to import.


importFromIdRequired
  • Type: *string

The id of the existing ComputeFirewallPolicyRule that should be imported.

Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_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 ComputeFirewallPolicyRule 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.
Kind *string No description.
Match ComputeFirewallPolicyRuleMatchOutputReference No description.
RuleTupleCount *f64 No description.
Timeouts ComputeFirewallPolicyRuleTimeoutsOutputReference No description.
ActionInput *string No description.
DescriptionInput *string No description.
DirectionInput *string No description.
DisabledInput interface{} No description.
EnableLoggingInput interface{} No description.
FirewallPolicyInput *string No description.
IdInput *string No description.
MatchInput ComputeFirewallPolicyRuleMatch No description.
PriorityInput *f64 No description.
SecurityProfileGroupInput *string No description.
TargetResourcesInput *[]*string No description.
TargetServiceAccountsInput *[]*string No description.
TimeoutsInput interface{} No description.
TlsInspectInput interface{} No description.
Action *string No description.
Description *string No description.
Direction *string No description.
Disabled interface{} No description.
EnableLogging interface{} No description.
FirewallPolicy *string No description.
Id *string No description.
Priority *f64 No description.
SecurityProfileGroup *string No description.
TargetResources *[]*string No description.
TargetServiceAccounts *[]*string No description.
TlsInspect interface{} 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{}

KindRequired
func Kind() *string
  • Type: *string

MatchRequired
func Match() ComputeFirewallPolicyRuleMatchOutputReference

RuleTupleCountRequired
func RuleTupleCount() *f64
  • Type: *f64

TimeoutsRequired
func Timeouts() ComputeFirewallPolicyRuleTimeoutsOutputReference

ActionInputOptional
func ActionInput() *string
  • Type: *string

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

DirectionInputOptional
func DirectionInput() *string
  • Type: *string

DisabledInputOptional
func DisabledInput() interface{}
  • Type: interface{}

EnableLoggingInputOptional
func EnableLoggingInput() interface{}
  • Type: interface{}

FirewallPolicyInputOptional
func FirewallPolicyInput() *string
  • Type: *string

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

MatchInputOptional
func MatchInput() ComputeFirewallPolicyRuleMatch

PriorityInputOptional
func PriorityInput() *f64
  • Type: *f64

SecurityProfileGroupInputOptional
func SecurityProfileGroupInput() *string
  • Type: *string

TargetResourcesInputOptional
func TargetResourcesInput() *[]*string
  • Type: *[]*string

TargetServiceAccountsInputOptional
func TargetServiceAccountsInput() *[]*string
  • Type: *[]*string

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

TlsInspectInputOptional
func TlsInspectInput() interface{}
  • Type: interface{}

ActionRequired
func Action() *string
  • Type: *string

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

DirectionRequired
func Direction() *string
  • Type: *string

DisabledRequired
func Disabled() interface{}
  • Type: interface{}

EnableLoggingRequired
func EnableLogging() interface{}
  • Type: interface{}

FirewallPolicyRequired
func FirewallPolicy() *string
  • Type: *string

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

PriorityRequired
func Priority() *f64
  • Type: *f64

SecurityProfileGroupRequired
func SecurityProfileGroup() *string
  • Type: *string

TargetResourcesRequired
func TargetResources() *[]*string
  • Type: *[]*string

TargetServiceAccountsRequired
func TargetServiceAccounts() *[]*string
  • Type: *[]*string

TlsInspectRequired
func TlsInspect() interface{}
  • Type: interface{}

Constants

Name Type Description
TfResourceType *string No description.

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

Structs

ComputeFirewallPolicyRuleConfig

Initializer

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

&computefirewallpolicyrule.ComputeFirewallPolicyRuleConfig {
	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{},
	Action: *string,
	Direction: *string,
	FirewallPolicy: *string,
	Match: github.com/cdktf/cdktf-provider-google-go/google/v14.computeFirewallPolicyRule.ComputeFirewallPolicyRuleMatch,
	Priority: *f64,
	Description: *string,
	Disabled: interface{},
	EnableLogging: interface{},
	Id: *string,
	SecurityProfileGroup: *string,
	TargetResources: *[]*string,
	TargetServiceAccounts: *[]*string,
	Timeouts: github.com/cdktf/cdktf-provider-google-go/google/v14.computeFirewallPolicyRule.ComputeFirewallPolicyRuleTimeouts,
	TlsInspect: interface{},
}

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.
Action *string The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny", "goto_next" and "apply_security_profile_group".
Direction *string The direction in which this rule applies. Possible values: INGRESS, EGRESS.
FirewallPolicy *string The firewall policy of the resource.
Match ComputeFirewallPolicyRuleMatch match block.
Priority *f64 An integer indicating the priority of a rule in the list.
Description *string An optional description for this resource.
Disabled interface{} Denotes whether the firewall policy rule is disabled.
EnableLogging interface{} Denotes whether to enable logging for a particular rule.
Id *string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#id ComputeFirewallPolicyRule#id}.
SecurityProfileGroup *string A fully-qualified URL of a SecurityProfileGroup resource.
TargetResources *[]*string A list of network resource URLs to which this rule applies.
TargetServiceAccounts *[]*string A list of service accounts indicating the sets of instances that are applied with this rule.
Timeouts ComputeFirewallPolicyRuleTimeouts timeouts block.
TlsInspect interface{} Boolean flag indicating if the traffic should be TLS decrypted.

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{}

ActionRequired
Action *string
  • Type: *string

The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny", "goto_next" and "apply_security_profile_group".

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#action ComputeFirewallPolicyRule#action}


DirectionRequired
Direction *string
  • Type: *string

The direction in which this rule applies. Possible values: INGRESS, EGRESS.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#direction ComputeFirewallPolicyRule#direction}


FirewallPolicyRequired
FirewallPolicy *string
  • Type: *string

The firewall policy of the resource.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#firewall_policy ComputeFirewallPolicyRule#firewall_policy}


MatchRequired
Match ComputeFirewallPolicyRuleMatch

match block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#match ComputeFirewallPolicyRule#match}


PriorityRequired
Priority *f64
  • Type: *f64

An integer indicating the priority of a rule in the list.

The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#priority ComputeFirewallPolicyRule#priority}


DescriptionOptional
Description *string
  • Type: *string

An optional description for this resource.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#description ComputeFirewallPolicyRule#description}


DisabledOptional
Disabled interface{}
  • Type: interface{}

Denotes whether the firewall policy rule is disabled.

When set to true, the firewall policy rule is not enforced and traffic behaves as if it did not exist. If this is unspecified, the firewall policy rule will be enabled.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#disabled ComputeFirewallPolicyRule#disabled}


EnableLoggingOptional
EnableLogging interface{}
  • Type: interface{}

Denotes whether to enable logging for a particular rule.

If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#enable_logging ComputeFirewallPolicyRule#enable_logging}


IdOptional
Id *string
  • Type: *string

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


SecurityProfileGroupOptional
SecurityProfileGroup *string
  • Type: *string

A fully-qualified URL of a SecurityProfileGroup resource.

Example: https://networksecurity.googleapis.com/v1/organizations/{organizationId}/locations/global/securityProfileGroups/my-security-profile-group. It must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#security_profile_group ComputeFirewallPolicyRule#security_profile_group}


TargetResourcesOptional
TargetResources *[]*string
  • Type: *[]*string

A list of network resource URLs to which this rule applies.

This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#target_resources ComputeFirewallPolicyRule#target_resources}


TargetServiceAccountsOptional
TargetServiceAccounts *[]*string
  • Type: *[]*string

A list of service accounts indicating the sets of instances that are applied with this rule.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#target_service_accounts ComputeFirewallPolicyRule#target_service_accounts}


TimeoutsOptional
Timeouts ComputeFirewallPolicyRuleTimeouts

timeouts block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#timeouts ComputeFirewallPolicyRule#timeouts}


TlsInspectOptional
TlsInspect interface{}
  • Type: interface{}

Boolean flag indicating if the traffic should be TLS decrypted.

It can be set only if action = 'apply_security_profile_group' and cannot be set for other actions.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#tls_inspect ComputeFirewallPolicyRule#tls_inspect}


ComputeFirewallPolicyRuleMatch

Initializer

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

&computefirewallpolicyrule.ComputeFirewallPolicyRuleMatch {
	Layer4Configs: interface{},
	DestAddressGroups: *[]*string,
	DestFqdns: *[]*string,
	DestIpRanges: *[]*string,
	DestRegionCodes: *[]*string,
	DestThreatIntelligences: *[]*string,
	SrcAddressGroups: *[]*string,
	SrcFqdns: *[]*string,
	SrcIpRanges: *[]*string,
	SrcRegionCodes: *[]*string,
	SrcThreatIntelligences: *[]*string,
}

Properties

Name Type Description
Layer4Configs interface{} layer4_configs block.
DestAddressGroups *[]*string Address groups which should be matched against the traffic destination.
DestFqdns *[]*string Domain names that will be used to match against the resolved domain name of destination of traffic.
DestIpRanges *[]*string CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 256.
DestRegionCodes *[]*string The Unicode country codes whose IP addresses will be used to match against the source of traffic.
DestThreatIntelligences *[]*string Name of the Google Cloud Threat Intelligence list.
SrcAddressGroups *[]*string Address groups which should be matched against the traffic source.
SrcFqdns *[]*string Domain names that will be used to match against the resolved domain name of source of traffic.
SrcIpRanges *[]*string CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 256.
SrcRegionCodes *[]*string The Unicode country codes whose IP addresses will be used to match against the source of traffic.
SrcThreatIntelligences *[]*string Name of the Google Cloud Threat Intelligence list.

Layer4ConfigsRequired
Layer4Configs interface{}
  • Type: interface{}

layer4_configs block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#layer4_configs ComputeFirewallPolicyRule#layer4_configs}


DestAddressGroupsOptional
DestAddressGroups *[]*string
  • Type: *[]*string

Address groups which should be matched against the traffic destination.

Maximum number of destination address groups is 10. Destination address groups is only supported in Egress rules.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#dest_address_groups ComputeFirewallPolicyRule#dest_address_groups}


DestFqdnsOptional
DestFqdns *[]*string
  • Type: *[]*string

Domain names that will be used to match against the resolved domain name of destination of traffic.

Can only be specified if DIRECTION is egress.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#dest_fqdns ComputeFirewallPolicyRule#dest_fqdns}


DestIpRangesOptional
DestIpRanges *[]*string
  • Type: *[]*string

CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 256.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#dest_ip_ranges ComputeFirewallPolicyRule#dest_ip_ranges}


DestRegionCodesOptional
DestRegionCodes *[]*string
  • Type: *[]*string

The Unicode country codes whose IP addresses will be used to match against the source of traffic.

Can only be specified if DIRECTION is egress.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#dest_region_codes ComputeFirewallPolicyRule#dest_region_codes}


DestThreatIntelligencesOptional
DestThreatIntelligences *[]*string
  • Type: *[]*string

Name of the Google Cloud Threat Intelligence list.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#dest_threat_intelligences ComputeFirewallPolicyRule#dest_threat_intelligences}


SrcAddressGroupsOptional
SrcAddressGroups *[]*string
  • Type: *[]*string

Address groups which should be matched against the traffic source.

Maximum number of source address groups is 10. Source address groups is only supported in Ingress rules.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#src_address_groups ComputeFirewallPolicyRule#src_address_groups}


SrcFqdnsOptional
SrcFqdns *[]*string
  • Type: *[]*string

Domain names that will be used to match against the resolved domain name of source of traffic.

Can only be specified if DIRECTION is ingress.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#src_fqdns ComputeFirewallPolicyRule#src_fqdns}


SrcIpRangesOptional
SrcIpRanges *[]*string
  • Type: *[]*string

CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 256.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#src_ip_ranges ComputeFirewallPolicyRule#src_ip_ranges}


SrcRegionCodesOptional
SrcRegionCodes *[]*string
  • Type: *[]*string

The Unicode country codes whose IP addresses will be used to match against the source of traffic.

Can only be specified if DIRECTION is ingress.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#src_region_codes ComputeFirewallPolicyRule#src_region_codes}


SrcThreatIntelligencesOptional
SrcThreatIntelligences *[]*string
  • Type: *[]*string

Name of the Google Cloud Threat Intelligence list.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#src_threat_intelligences ComputeFirewallPolicyRule#src_threat_intelligences}


ComputeFirewallPolicyRuleMatchLayer4Configs

Initializer

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

&computefirewallpolicyrule.ComputeFirewallPolicyRuleMatchLayer4Configs {
	IpProtocol: *string,
	Ports: *[]*string,
}

Properties

Name Type Description
IpProtocol *string The IP protocol to which this rule applies.
Ports *[]*string An optional list of ports to which this rule applies.

IpProtocolRequired
IpProtocol *string
  • Type: *string

The IP protocol to which this rule applies.

The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#ip_protocol ComputeFirewallPolicyRule#ip_protocol}


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

An optional list of ports to which this rule applies.

This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ``.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#ports ComputeFirewallPolicyRule#ports}


ComputeFirewallPolicyRuleTimeouts

Initializer

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

&computefirewallpolicyrule.ComputeFirewallPolicyRuleTimeouts {
	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.11.2/docs/resources/compute_firewall_policy_rule#create ComputeFirewallPolicyRule#create}.
Delete *string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#delete ComputeFirewallPolicyRule#delete}.
Update *string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#update ComputeFirewallPolicyRule#update}.

CreateOptional
Create *string
  • Type: *string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#create ComputeFirewallPolicyRule#create}.


DeleteOptional
Delete *string
  • Type: *string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#delete ComputeFirewallPolicyRule#delete}.


UpdateOptional
Update *string
  • Type: *string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule#update ComputeFirewallPolicyRule#update}.


Classes

ComputeFirewallPolicyRuleMatchLayer4ConfigsList

Initializers

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

computefirewallpolicyrule.NewComputeFirewallPolicyRuleMatchLayer4ConfigsList(terraformResource IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeFirewallPolicyRuleMatchLayer4ConfigsList
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.
wrapsSet *bool whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

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.


wrapsSetRequired
  • Type: *bool

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
AllWithMapKey Creating an iterator for this complex list.
ComputeFqn No description.
Resolve Produce the Token's value at resolution time.
ToString Return a string representation of this resolvable object.
Get No description.

AllWithMapKey
func AllWithMapKey(mapKeyAttributeName *string) DynamicListTerraformIterator

Creating an iterator for this complex list.

The list will be converted into a map with the mapKeyAttributeName as the key.

mapKeyAttributeNameRequired
  • Type: *string

ComputeFqn
func ComputeFqn() *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.

Get
func Get(index *f64) ComputeFirewallPolicyRuleMatchLayer4ConfigsOutputReference
indexRequired
  • Type: *f64

the index of the item to return.


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

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

ComputeFirewallPolicyRuleMatchLayer4ConfigsOutputReference

Initializers

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

computefirewallpolicyrule.NewComputeFirewallPolicyRuleMatchLayer4ConfigsOutputReference(terraformResource IInterpolatingParent, terraformAttribute *string, complexObjectIndex *f64, complexObjectIsFromSet *bool) ComputeFirewallPolicyRuleMatchLayer4ConfigsOutputReference
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.
complexObjectIndex *f64 the index of this item in the list.
complexObjectIsFromSet *bool whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

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.


complexObjectIndexRequired
  • Type: *f64

the index of this item in the list.


complexObjectIsFromSetRequired
  • Type: *bool

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


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.
ResetPorts 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.

ResetPorts
func ResetPorts()

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.
IpProtocolInput *string No description.
PortsInput *[]*string No description.
IpProtocol *string No description.
Ports *[]*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

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

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

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

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

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

ComputeFirewallPolicyRuleMatchOutputReference

Initializers

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

computefirewallpolicyrule.NewComputeFirewallPolicyRuleMatchOutputReference(terraformResource IInterpolatingParent, terraformAttribute *string) ComputeFirewallPolicyRuleMatchOutputReference
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.
PutLayer4Configs No description.
ResetDestAddressGroups No description.
ResetDestFqdns No description.
ResetDestIpRanges No description.
ResetDestRegionCodes No description.
ResetDestThreatIntelligences No description.
ResetSrcAddressGroups No description.
ResetSrcFqdns No description.
ResetSrcIpRanges No description.
ResetSrcRegionCodes No description.
ResetSrcThreatIntelligences 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.

PutLayer4Configs
func PutLayer4Configs(value interface{})
valueRequired
  • Type: interface{}

ResetDestAddressGroups
func ResetDestAddressGroups()
ResetDestFqdns
func ResetDestFqdns()
ResetDestIpRanges
func ResetDestIpRanges()
ResetDestRegionCodes
func ResetDestRegionCodes()
ResetDestThreatIntelligences
func ResetDestThreatIntelligences()
ResetSrcAddressGroups
func ResetSrcAddressGroups()
ResetSrcFqdns
func ResetSrcFqdns()
ResetSrcIpRanges
func ResetSrcIpRanges()
ResetSrcRegionCodes
func ResetSrcRegionCodes()
ResetSrcThreatIntelligences
func ResetSrcThreatIntelligences()

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.
Layer4Configs ComputeFirewallPolicyRuleMatchLayer4ConfigsList No description.
DestAddressGroupsInput *[]*string No description.
DestFqdnsInput *[]*string No description.
DestIpRangesInput *[]*string No description.
DestRegionCodesInput *[]*string No description.
DestThreatIntelligencesInput *[]*string No description.
Layer4ConfigsInput interface{} No description.
SrcAddressGroupsInput *[]*string No description.
SrcFqdnsInput *[]*string No description.
SrcIpRangesInput *[]*string No description.
SrcRegionCodesInput *[]*string No description.
SrcThreatIntelligencesInput *[]*string No description.
DestAddressGroups *[]*string No description.
DestFqdns *[]*string No description.
DestIpRanges *[]*string No description.
DestRegionCodes *[]*string No description.
DestThreatIntelligences *[]*string No description.
SrcAddressGroups *[]*string No description.
SrcFqdns *[]*string No description.
SrcIpRanges *[]*string No description.
SrcRegionCodes *[]*string No description.
SrcThreatIntelligences *[]*string No description.
InternalValue ComputeFirewallPolicyRuleMatch 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

Layer4ConfigsRequired
func Layer4Configs() ComputeFirewallPolicyRuleMatchLayer4ConfigsList

DestAddressGroupsInputOptional
func DestAddressGroupsInput() *[]*string
  • Type: *[]*string

DestFqdnsInputOptional
func DestFqdnsInput() *[]*string
  • Type: *[]*string

DestIpRangesInputOptional
func DestIpRangesInput() *[]*string
  • Type: *[]*string

DestRegionCodesInputOptional
func DestRegionCodesInput() *[]*string
  • Type: *[]*string

DestThreatIntelligencesInputOptional
func DestThreatIntelligencesInput() *[]*string
  • Type: *[]*string

Layer4ConfigsInputOptional
func Layer4ConfigsInput() interface{}
  • Type: interface{}

SrcAddressGroupsInputOptional
func SrcAddressGroupsInput() *[]*string
  • Type: *[]*string

SrcFqdnsInputOptional
func SrcFqdnsInput() *[]*string
  • Type: *[]*string

SrcIpRangesInputOptional
func SrcIpRangesInput() *[]*string
  • Type: *[]*string

SrcRegionCodesInputOptional
func SrcRegionCodesInput() *[]*string
  • Type: *[]*string

SrcThreatIntelligencesInputOptional
func SrcThreatIntelligencesInput() *[]*string
  • Type: *[]*string

DestAddressGroupsRequired
func DestAddressGroups() *[]*string
  • Type: *[]*string

DestFqdnsRequired
func DestFqdns() *[]*string
  • Type: *[]*string

DestIpRangesRequired
func DestIpRanges() *[]*string
  • Type: *[]*string

DestRegionCodesRequired
func DestRegionCodes() *[]*string
  • Type: *[]*string

DestThreatIntelligencesRequired
func DestThreatIntelligences() *[]*string
  • Type: *[]*string

SrcAddressGroupsRequired
func SrcAddressGroups() *[]*string
  • Type: *[]*string

SrcFqdnsRequired
func SrcFqdns() *[]*string
  • Type: *[]*string

SrcIpRangesRequired
func SrcIpRanges() *[]*string
  • Type: *[]*string

SrcRegionCodesRequired
func SrcRegionCodes() *[]*string
  • Type: *[]*string

SrcThreatIntelligencesRequired
func SrcThreatIntelligences() *[]*string
  • Type: *[]*string

InternalValueOptional
func InternalValue() ComputeFirewallPolicyRuleMatch

ComputeFirewallPolicyRuleTimeoutsOutputReference

Initializers

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

computefirewallpolicyrule.NewComputeFirewallPolicyRuleTimeoutsOutputReference(terraformResource IInterpolatingParent, terraformAttribute *string) ComputeFirewallPolicyRuleTimeoutsOutputReference
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{}