Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.11.2/docs/resources/compute_firewall_policy_rule google_compute_firewall_policy_rule}.
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. |
- Type: github.com/aws/constructs-go/constructs/v10.Construct
The scope in which to define this construct.
- Type: *string
The scoped construct ID.
Must be unique amongst siblings in the same scope
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. |
func ToString() *string
Returns a string representation of this construct.
func AddOverride(path *string, value interface{})
- Type: *string
- Type: interface{}
func OverrideLogicalId(newLogicalId *string)
Overrides the auto-generated logical ID with a specific ID.
- Type: *string
The new logical ID to use for this stack element.
func ResetOverrideLogicalId()
Resets a previously passed logical Id to use the auto-generated logical id again.
func ToHclTerraform() interface{}
func ToMetadata() interface{}
func ToTerraform() interface{}
Adds this resource to the terraform JSON output.
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.
- Type: *string
The string move target that will correspond to this resource.
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
- Type: *string
func GetBooleanAttribute(terraformAttribute *string) IResolvable
- Type: *string
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
- Type: *string
func GetListAttribute(terraformAttribute *string) *[]*string
- Type: *string
func GetNumberAttribute(terraformAttribute *string) *f64
- Type: *string
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
- Type: *string
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
- Type: *string
func GetStringAttribute(terraformAttribute *string) *string
- Type: *string
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
- Type: *string
func HasResourceMove() interface{}
func ImportFrom(id *string, provider TerraformProvider)
- Type: *string
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider
func InterpolationForAttribute(terraformAttribute *string) IResolvable
- Type: *string
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.
- Type: *string
Full id of resource being moved from, e.g. "aws_s3_bucket.example".
func MoveTo(moveTarget *string, index interface{})
Moves this resource to the target resource given by moveTarget.
- Type: *string
The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.
- Type: interface{}
Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.
func MoveToId(id *string)
Moves this resource to the resource corresponding to "id".
- Type: *string
Full id of resource to move to, e.g. "aws_s3_bucket.example".
func PutMatch(value ComputeFirewallPolicyRuleMatch)
func PutTimeouts(value ComputeFirewallPolicyRuleTimeouts)
func ResetDescription()
func ResetDisabled()
func ResetEnableLogging()
func ResetId()
func ResetSecurityProfileGroup()
func ResetTargetResources()
func ResetTargetServiceAccounts()
func ResetTimeouts()
func ResetTlsInspect()
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 ". |
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.
- Type: interface{}
Any object.
import "github.com/cdktf/cdktf-provider-google-go/google/v14/computefirewallpolicyrule"
computefirewallpolicyrule.ComputeFirewallPolicyRule_IsTerraformElement(x interface{}) *bool
- Type: interface{}
import "github.com/cdktf/cdktf-provider-google-go/google/v14/computefirewallpolicyrule"
computefirewallpolicyrule.ComputeFirewallPolicyRule_IsTerraformResource(x interface{}) *bool
- Type: interface{}
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 ".
- Type: github.com/aws/constructs-go/constructs/v10.Construct
The scope in which to define this construct.
- Type: *string
The construct id used in the generated config for the ComputeFirewallPolicyRule to import.
- 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
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider
? Optional instance of the provider where the ComputeFirewallPolicyRule to import is found.
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. |
func Node() Node
- Type: github.com/aws/constructs-go/constructs/v10.Node
The tree node.
func CdktfStack() TerraformStack
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformStack
func Fqn() *string
- Type: *string
func FriendlyUniqueId() *string
- Type: *string
func TerraformMetaArguments() *map[string]interface{}
- Type: *map[string]interface{}
func TerraformResourceType() *string
- Type: *string
func TerraformGeneratorMetadata() TerraformProviderGeneratorMetadata
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProviderGeneratorMetadata
func Connection() interface{}
- Type: interface{}
func Count() interface{}
- Type: interface{}
func DependsOn() *[]*string
- Type: *[]*string
func ForEach() ITerraformIterator
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator
func Lifecycle() TerraformResourceLifecycle
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle
func Provider() TerraformProvider
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider
func Provisioners() *[]interface{}
- Type: *[]interface{}
func Kind() *string
- Type: *string
func Match() ComputeFirewallPolicyRuleMatchOutputReference
func RuleTupleCount() *f64
- Type: *f64
func Timeouts() ComputeFirewallPolicyRuleTimeoutsOutputReference
func ActionInput() *string
- Type: *string
func DescriptionInput() *string
- Type: *string
func DirectionInput() *string
- Type: *string
func DisabledInput() interface{}
- Type: interface{}
func EnableLoggingInput() interface{}
- Type: interface{}
func FirewallPolicyInput() *string
- Type: *string
func IdInput() *string
- Type: *string
func MatchInput() ComputeFirewallPolicyRuleMatch
func PriorityInput() *f64
- Type: *f64
func SecurityProfileGroupInput() *string
- Type: *string
func TargetResourcesInput() *[]*string
- Type: *[]*string
func TargetServiceAccountsInput() *[]*string
- Type: *[]*string
func TimeoutsInput() interface{}
- Type: interface{}
func TlsInspectInput() interface{}
- Type: interface{}
func Action() *string
- Type: *string
func Description() *string
- Type: *string
func Direction() *string
- Type: *string
func Disabled() interface{}
- Type: interface{}
func EnableLogging() interface{}
- Type: interface{}
func FirewallPolicy() *string
- Type: *string
func Id() *string
- Type: *string
func Priority() *f64
- Type: *f64
func SecurityProfileGroup() *string
- Type: *string
func TargetResources() *[]*string
- Type: *[]*string
func TargetServiceAccounts() *[]*string
- Type: *[]*string
func TlsInspect() interface{}
- Type: interface{}
Name | Type | Description |
---|---|---|
TfResourceType |
*string |
No description. |
func TfResourceType() *string
- Type: *string
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{},
}
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. |
Connection interface{}
- Type: interface{}
Count interface{}
- Type: interface{}
DependsOn *[]ITerraformDependable
- Type: *[]github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformDependable
ForEach ITerraformIterator
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator
Lifecycle TerraformResourceLifecycle
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle
Provider TerraformProvider
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider
Provisioners *[]interface{}
- Type: *[]interface{}
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}
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}
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}
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}
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}
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}
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}
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}
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.
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}
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}
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}
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}
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}
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,
}
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. |
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}
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}
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}
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}
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}
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}
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}
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}
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}
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}
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}
import "github.com/cdktf/cdktf-provider-google-go/google/v14/computefirewallpolicyrule"
&computefirewallpolicyrule.ComputeFirewallPolicyRuleMatchLayer4Configs {
IpProtocol: *string,
Ports: *[]*string,
}
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. |
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}
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}
import "github.com/cdktf/cdktf-provider-google-go/google/v14/computefirewallpolicyrule"
&computefirewallpolicyrule.ComputeFirewallPolicyRuleTimeouts {
Create: *string,
Delete: *string,
Update: *string,
}
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}. |
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}.
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}.
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}.
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). |
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent
The parent resource.
- Type: *string
The attribute on the parent resource this class is referencing.
- Type: *bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
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. |
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.
- Type: *string
func ComputeFqn() *string
func Resolve(_context IResolveContext) interface{}
Produce the Token's value at resolution time.
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.IResolveContext
func ToString() *string
Return a string representation of this resolvable object.
Returns a reversible string representation.
func Get(index *f64) ComputeFirewallPolicyRuleMatchLayer4ConfigsOutputReference
- Type: *f64
the index of the item to return.
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. |
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.
func Fqn() *string
- Type: *string
func InternalValue() interface{}
- Type: interface{}
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). |
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent
The parent resource.
- Type: *string
The attribute on the parent resource this class is referencing.
- Type: *f64
the index of this item in the list.
- Type: *bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
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. |
func ComputeFqn() *string
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
- Type: *string
func GetBooleanAttribute(terraformAttribute *string) IResolvable
- Type: *string
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
- Type: *string
func GetListAttribute(terraformAttribute *string) *[]*string
- Type: *string
func GetNumberAttribute(terraformAttribute *string) *f64
- Type: *string
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
- Type: *string
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
- Type: *string
func GetStringAttribute(terraformAttribute *string) *string
- Type: *string
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
- Type: *string
func InterpolationForAttribute(property *string) IResolvable
- Type: *string
func Resolve(_context IResolveContext) interface{}
Produce the Token's value at resolution time.
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.IResolveContext
func ToString() *string
Return a string representation of this resolvable object.
Returns a reversible string representation.
func ResetPorts()
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. |
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.
func Fqn() *string
- Type: *string
func IpProtocolInput() *string
- Type: *string
func PortsInput() *[]*string
- Type: *[]*string
func IpProtocol() *string
- Type: *string
func Ports() *[]*string
- Type: *[]*string
func InternalValue() interface{}
- Type: interface{}
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. |
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent
The parent resource.
- Type: *string
The attribute on the parent resource this class is referencing.
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. |
func ComputeFqn() *string
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
- Type: *string
func GetBooleanAttribute(terraformAttribute *string) IResolvable
- Type: *string
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
- Type: *string
func GetListAttribute(terraformAttribute *string) *[]*string
- Type: *string
func GetNumberAttribute(terraformAttribute *string) *f64
- Type: *string
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
- Type: *string
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
- Type: *string
func GetStringAttribute(terraformAttribute *string) *string
- Type: *string
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
- Type: *string
func InterpolationForAttribute(property *string) IResolvable
- Type: *string
func Resolve(_context IResolveContext) interface{}
Produce the Token's value at resolution time.
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.IResolveContext
func ToString() *string
Return a string representation of this resolvable object.
Returns a reversible string representation.
func PutLayer4Configs(value interface{})
- Type: interface{}
func ResetDestAddressGroups()
func ResetDestFqdns()
func ResetDestIpRanges()
func ResetDestRegionCodes()
func ResetDestThreatIntelligences()
func ResetSrcAddressGroups()
func ResetSrcFqdns()
func ResetSrcIpRanges()
func ResetSrcRegionCodes()
func ResetSrcThreatIntelligences()
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. |
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.
func Fqn() *string
- Type: *string
func Layer4Configs() ComputeFirewallPolicyRuleMatchLayer4ConfigsList
func DestAddressGroupsInput() *[]*string
- Type: *[]*string
func DestFqdnsInput() *[]*string
- Type: *[]*string
func DestIpRangesInput() *[]*string
- Type: *[]*string
func DestRegionCodesInput() *[]*string
- Type: *[]*string
func DestThreatIntelligencesInput() *[]*string
- Type: *[]*string
func Layer4ConfigsInput() interface{}
- Type: interface{}
func SrcAddressGroupsInput() *[]*string
- Type: *[]*string
func SrcFqdnsInput() *[]*string
- Type: *[]*string
func SrcIpRangesInput() *[]*string
- Type: *[]*string
func SrcRegionCodesInput() *[]*string
- Type: *[]*string
func SrcThreatIntelligencesInput() *[]*string
- Type: *[]*string
func DestAddressGroups() *[]*string
- Type: *[]*string
func DestFqdns() *[]*string
- Type: *[]*string
func DestIpRanges() *[]*string
- Type: *[]*string
func DestRegionCodes() *[]*string
- Type: *[]*string
func DestThreatIntelligences() *[]*string
- Type: *[]*string
func SrcAddressGroups() *[]*string
- Type: *[]*string
func SrcFqdns() *[]*string
- Type: *[]*string
func SrcIpRanges() *[]*string
- Type: *[]*string
func SrcRegionCodes() *[]*string
- Type: *[]*string
func SrcThreatIntelligences() *[]*string
- Type: *[]*string
func InternalValue() ComputeFirewallPolicyRuleMatch
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. |
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.IInterpolatingParent
The parent resource.
- Type: *string
The attribute on the parent resource this class is referencing.
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. |
func ComputeFqn() *string
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
- Type: *string
func GetBooleanAttribute(terraformAttribute *string) IResolvable
- Type: *string
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
- Type: *string
func GetListAttribute(terraformAttribute *string) *[]*string
- Type: *string
func GetNumberAttribute(terraformAttribute *string) *f64
- Type: *string
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
- Type: *string
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
- Type: *string
func GetStringAttribute(terraformAttribute *string) *string
- Type: *string
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
- Type: *string
func InterpolationForAttribute(property *string) IResolvable
- Type: *string
func Resolve(_context IResolveContext) interface{}
Produce the Token's value at resolution time.
- Type: github.com/hashicorp/terraform-cdk-go/cdktf.IResolveContext
func ToString() *string
Return a string representation of this resolvable object.
Returns a reversible string representation.
func ResetCreate()
func ResetDelete()
func ResetUpdate()
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. |
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.
func Fqn() *string
- Type: *string
func CreateInput() *string
- Type: *string
func DeleteInput() *string
- Type: *string
func UpdateInput() *string
- Type: *string
func Create() *string
- Type: *string
func Delete() *string
- Type: *string
func Update() *string
- Type: *string
func InternalValue() interface{}
- Type: interface{}