Documentation ¶
Index ¶
- func GoogleComputeFirewall_IsConstruct(x interface{}) *bool
- func GoogleComputeFirewall_IsTerraformElement(x interface{}) *bool
- func GoogleComputeFirewall_IsTerraformResource(x interface{}) *bool
- func GoogleComputeFirewall_TfResourceType() *string
- func NewGoogleComputeFirewallAllowList_Override(g GoogleComputeFirewallAllowList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewGoogleComputeFirewallAllowOutputReference_Override(g GoogleComputeFirewallAllowOutputReference, ...)
- func NewGoogleComputeFirewallDenyList_Override(g GoogleComputeFirewallDenyList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewGoogleComputeFirewallDenyOutputReference_Override(g GoogleComputeFirewallDenyOutputReference, ...)
- func NewGoogleComputeFirewallLogConfigOutputReference_Override(g GoogleComputeFirewallLogConfigOutputReference, ...)
- func NewGoogleComputeFirewallTimeoutsOutputReference_Override(g GoogleComputeFirewallTimeoutsOutputReference, ...)
- func NewGoogleComputeFirewall_Override(g GoogleComputeFirewall, scope constructs.Construct, id *string, ...)
- type GoogleComputeFirewall
- type GoogleComputeFirewallAllow
- type GoogleComputeFirewallAllowList
- type GoogleComputeFirewallAllowOutputReference
- type GoogleComputeFirewallConfig
- type GoogleComputeFirewallDeny
- type GoogleComputeFirewallDenyList
- type GoogleComputeFirewallDenyOutputReference
- type GoogleComputeFirewallLogConfig
- type GoogleComputeFirewallLogConfigOutputReference
- type GoogleComputeFirewallTimeouts
- type GoogleComputeFirewallTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoogleComputeFirewall_IsConstruct ¶
func GoogleComputeFirewall_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func GoogleComputeFirewall_IsTerraformElement ¶
func GoogleComputeFirewall_IsTerraformElement(x interface{}) *bool
Experimental.
func GoogleComputeFirewall_IsTerraformResource ¶
func GoogleComputeFirewall_IsTerraformResource(x interface{}) *bool
Experimental.
func GoogleComputeFirewall_TfResourceType ¶
func GoogleComputeFirewall_TfResourceType() *string
func NewGoogleComputeFirewallAllowList_Override ¶
func NewGoogleComputeFirewallAllowList_Override(g GoogleComputeFirewallAllowList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleComputeFirewallAllowOutputReference_Override ¶
func NewGoogleComputeFirewallAllowOutputReference_Override(g GoogleComputeFirewallAllowOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleComputeFirewallDenyList_Override ¶
func NewGoogleComputeFirewallDenyList_Override(g GoogleComputeFirewallDenyList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleComputeFirewallDenyOutputReference_Override ¶
func NewGoogleComputeFirewallDenyOutputReference_Override(g GoogleComputeFirewallDenyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleComputeFirewallLogConfigOutputReference_Override ¶
func NewGoogleComputeFirewallLogConfigOutputReference_Override(g GoogleComputeFirewallLogConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeFirewallTimeoutsOutputReference_Override ¶
func NewGoogleComputeFirewallTimeoutsOutputReference_Override(g GoogleComputeFirewallTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeFirewall_Override ¶
func NewGoogleComputeFirewall_Override(g GoogleComputeFirewall, scope constructs.Construct, id *string, config *GoogleComputeFirewallConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall google_compute_firewall} Resource.
Types ¶
type GoogleComputeFirewall ¶
type GoogleComputeFirewall interface { cdktf.TerraformResource Allow() GoogleComputeFirewallAllowList AllowInput() interface{} // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) CreationTimestamp() *string Deny() GoogleComputeFirewallDenyList DenyInput() interface{} // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string DestinationRanges() *[]*string SetDestinationRanges(val *[]*string) DestinationRangesInput() *[]*string Direction() *string SetDirection(val *string) DirectionInput() *string Disabled() interface{} SetDisabled(val interface{}) DisabledInput() interface{} EnableLogging() interface{} SetEnableLogging(val interface{}) EnableLoggingInput() interface{} // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) LogConfig() GoogleComputeFirewallLogConfigOutputReference LogConfigInput() *GoogleComputeFirewallLogConfig Name() *string SetName(val *string) NameInput() *string Network() *string SetNetwork(val *string) NetworkInput() *string // The tree node. Node() constructs.Node Priority() *float64 SetPriority(val *float64) PriorityInput() *float64 Project() *string SetProject(val *string) ProjectInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} SelfLink() *string SourceRanges() *[]*string SetSourceRanges(val *[]*string) SourceRangesInput() *[]*string SourceServiceAccounts() *[]*string SetSourceServiceAccounts(val *[]*string) SourceServiceAccountsInput() *[]*string SourceTags() *[]*string SetSourceTags(val *[]*string) SourceTagsInput() *[]*string TargetServiceAccounts() *[]*string SetTargetServiceAccounts(val *[]*string) TargetServiceAccountsInput() *[]*string TargetTags() *[]*string SetTargetTags(val *[]*string) TargetTagsInput() *[]*string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() GoogleComputeFirewallTimeoutsOutputReference TimeoutsInput() interface{} // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutAllow(value interface{}) PutDeny(value interface{}) PutLogConfig(value *GoogleComputeFirewallLogConfig) PutTimeouts(value *GoogleComputeFirewallTimeouts) ResetAllow() ResetDeny() ResetDescription() ResetDestinationRanges() ResetDirection() ResetDisabled() ResetEnableLogging() ResetId() ResetLogConfig() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPriority() ResetProject() ResetSourceRanges() ResetSourceServiceAccounts() ResetSourceTags() ResetTargetServiceAccounts() ResetTargetTags() ResetTimeouts() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall google_compute_firewall}.
func NewGoogleComputeFirewall ¶
func NewGoogleComputeFirewall(scope constructs.Construct, id *string, config *GoogleComputeFirewallConfig) GoogleComputeFirewall
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall google_compute_firewall} Resource.
type GoogleComputeFirewallAllow ¶
type GoogleComputeFirewallAllow struct { // 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, sctp, ipip, all), or the IP protocol number. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#protocol GoogleComputeFirewall#protocol} Protocol *string `field:"required" json:"protocol" yaml:"protocol"` // 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: ["22"], ["80","443"], and // ["12345-12349"]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#ports GoogleComputeFirewall#ports} Ports *[]*string `field:"optional" json:"ports" yaml:"ports"` }
type GoogleComputeFirewallAllowList ¶
type GoogleComputeFirewallAllowList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) GoogleComputeFirewallAllowOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleComputeFirewallAllowList ¶
func NewGoogleComputeFirewallAllowList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleComputeFirewallAllowList
type GoogleComputeFirewallAllowOutputReference ¶
type GoogleComputeFirewallAllowOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Ports() *[]*string SetPorts(val *[]*string) PortsInput() *[]*string Protocol() *string SetProtocol(val *string) ProtocolInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetPorts() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleComputeFirewallAllowOutputReference ¶
func NewGoogleComputeFirewallAllowOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleComputeFirewallAllowOutputReference
type GoogleComputeFirewallConfig ¶
type GoogleComputeFirewallConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // Name of the resource. // // Provided by the client when the resource is // created. The name must be 1-63 characters long, and comply with // RFC1035. Specifically, the name must be 1-63 characters long and match // the regular expression '[a-z]([-a-z0-9]*[a-z0-9])?' which means the // first character must be a lowercase letter, and all following // characters must be a dash, lowercase letter, or digit, except the last // character, which cannot be a dash. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#name GoogleComputeFirewall#name} Name *string `field:"required" json:"name" yaml:"name"` // The name or self_link of the network to attach this firewall to. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#network GoogleComputeFirewall#network} Network *string `field:"required" json:"network" yaml:"network"` // allow block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#allow GoogleComputeFirewall#allow} Allow interface{} `field:"optional" json:"allow" yaml:"allow"` // deny block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#deny GoogleComputeFirewall#deny} Deny interface{} `field:"optional" json:"deny" yaml:"deny"` // An optional description of this resource. Provide this property when you create the resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#description GoogleComputeFirewall#description} Description *string `field:"optional" json:"description" yaml:"description"` // If destination ranges are specified, the firewall will apply only to traffic that has destination IP address in these ranges. // // These ranges // must be expressed in CIDR format. IPv4 or IPv6 ranges are supported. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#destination_ranges GoogleComputeFirewall#destination_ranges} DestinationRanges *[]*string `field:"optional" json:"destinationRanges" yaml:"destinationRanges"` // Direction of traffic to which this firewall applies; // // default is // INGRESS. Note: For INGRESS traffic, one of 'source_ranges', // 'source_tags' or 'source_service_accounts' is required. Possible values: ["INGRESS", "EGRESS"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#direction GoogleComputeFirewall#direction} Direction *string `field:"optional" json:"direction" yaml:"direction"` // Denotes whether the firewall rule is disabled, i.e not applied to the network it is associated with. When set to true, the firewall rule is not enforced and the network behaves as if it did not exist. If this is unspecified, the firewall rule will be enabled. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#disabled GoogleComputeFirewall#disabled} Disabled interface{} `field:"optional" json:"disabled" yaml:"disabled"` // This field denotes whether to enable logging for a particular firewall rule. // // If logging is enabled, logs will be exported to Stackdriver. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#enable_logging GoogleComputeFirewall#enable_logging} EnableLogging interface{} `field:"optional" json:"enableLogging" yaml:"enableLogging"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#id GoogleComputeFirewall#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // log_config block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#log_config GoogleComputeFirewall#log_config} LogConfig *GoogleComputeFirewallLogConfig `field:"optional" json:"logConfig" yaml:"logConfig"` // Priority for this rule. // // This is an integer between 0 and 65535, both // inclusive. When not specified, the value assumed is 1000. Relative // priorities determine precedence of conflicting rules. Lower value of // priority implies higher precedence (eg, a rule with priority 0 has // higher precedence than a rule with priority 1). DENY rules take // precedence over ALLOW rules having equal priority. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#priority GoogleComputeFirewall#priority} Priority *float64 `field:"optional" json:"priority" yaml:"priority"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#project GoogleComputeFirewall#project}. Project *string `field:"optional" json:"project" yaml:"project"` // If source ranges are specified, the firewall will apply only to traffic that has source IP address in these ranges. // // These ranges must // be expressed in CIDR format. One or both of sourceRanges and // sourceTags may be set. If both properties are set, the firewall will // apply to traffic that has source IP address within sourceRanges OR the // source IP that belongs to a tag listed in the sourceTags property. The // connection does not need to match both properties for the firewall to // apply. IPv4 or IPv6 ranges are supported. For INGRESS traffic, one of // 'source_ranges', 'source_tags' or 'source_service_accounts' is required. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#source_ranges GoogleComputeFirewall#source_ranges} SourceRanges *[]*string `field:"optional" json:"sourceRanges" yaml:"sourceRanges"` // If source service accounts are specified, the firewall will apply only to traffic originating from an instance with a service account in this list. // // Source service accounts cannot be used to control traffic to an // instance's external IP address because service accounts are associated // with an instance, not an IP address. sourceRanges can be set at the // same time as sourceServiceAccounts. If both are set, the firewall will // apply to traffic that has source IP address within sourceRanges OR the // source IP belongs to an instance with service account listed in // sourceServiceAccount. The connection does not need to match both // properties for the firewall to apply. sourceServiceAccounts cannot be // used at the same time as sourceTags or targetTags. For INGRESS traffic, // one of 'source_ranges', 'source_tags' or 'source_service_accounts' is required. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#source_service_accounts GoogleComputeFirewall#source_service_accounts} SourceServiceAccounts *[]*string `field:"optional" json:"sourceServiceAccounts" yaml:"sourceServiceAccounts"` // If source tags are specified, the firewall will apply only to traffic with source IP that belongs to a tag listed in source tags. // // Source // tags cannot be used to control traffic to an instance's external IP // address. Because tags are associated with an instance, not an IP // address. One or both of sourceRanges and sourceTags may be set. If // both properties are set, the firewall will apply to traffic that has // source IP address within sourceRanges OR the source IP that belongs to // a tag listed in the sourceTags property. The connection does not need // to match both properties for the firewall to apply. For INGRESS traffic, // one of 'source_ranges', 'source_tags' or 'source_service_accounts' is required. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#source_tags GoogleComputeFirewall#source_tags} SourceTags *[]*string `field:"optional" json:"sourceTags" yaml:"sourceTags"` // A list of service accounts indicating sets of instances located in the network that may make network connections as specified in allowed[]. // // targetServiceAccounts cannot be used at the same time as targetTags or // sourceTags. If neither targetServiceAccounts nor targetTags are // specified, the firewall rule applies to all instances on the specified // network. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#target_service_accounts GoogleComputeFirewall#target_service_accounts} TargetServiceAccounts *[]*string `field:"optional" json:"targetServiceAccounts" yaml:"targetServiceAccounts"` // A list of instance tags indicating sets of instances located in the network that may make network connections as specified in allowed[]. // // If no targetTags are specified, the firewall rule applies to all // instances on the specified network. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#target_tags GoogleComputeFirewall#target_tags} TargetTags *[]*string `field:"optional" json:"targetTags" yaml:"targetTags"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#timeouts GoogleComputeFirewall#timeouts} Timeouts *GoogleComputeFirewallTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }
type GoogleComputeFirewallDeny ¶
type GoogleComputeFirewallDeny struct { // 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, sctp, ipip, all), or the IP protocol number. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#protocol GoogleComputeFirewall#protocol} Protocol *string `field:"required" json:"protocol" yaml:"protocol"` // 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: ["22"], ["80","443"], and // ["12345-12349"]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#ports GoogleComputeFirewall#ports} Ports *[]*string `field:"optional" json:"ports" yaml:"ports"` }
type GoogleComputeFirewallDenyList ¶
type GoogleComputeFirewallDenyList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) GoogleComputeFirewallDenyOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleComputeFirewallDenyList ¶
func NewGoogleComputeFirewallDenyList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleComputeFirewallDenyList
type GoogleComputeFirewallDenyOutputReference ¶
type GoogleComputeFirewallDenyOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Ports() *[]*string SetPorts(val *[]*string) PortsInput() *[]*string Protocol() *string SetProtocol(val *string) ProtocolInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetPorts() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleComputeFirewallDenyOutputReference ¶
func NewGoogleComputeFirewallDenyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleComputeFirewallDenyOutputReference
type GoogleComputeFirewallLogConfig ¶
type GoogleComputeFirewallLogConfig struct { // This field denotes whether to include or exclude metadata for firewall logs. Possible values: ["EXCLUDE_ALL_METADATA", "INCLUDE_ALL_METADATA"]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#metadata GoogleComputeFirewall#metadata} Metadata *string `field:"required" json:"metadata" yaml:"metadata"` }
type GoogleComputeFirewallLogConfigOutputReference ¶
type GoogleComputeFirewallLogConfigOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *GoogleComputeFirewallLogConfig SetInternalValue(val *GoogleComputeFirewallLogConfig) Metadata() *string SetMetadata(val *string) MetadataInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleComputeFirewallLogConfigOutputReference ¶
func NewGoogleComputeFirewallLogConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeFirewallLogConfigOutputReference
type GoogleComputeFirewallTimeouts ¶
type GoogleComputeFirewallTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#create GoogleComputeFirewall#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#delete GoogleComputeFirewall#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.79.0/docs/resources/google_compute_firewall#update GoogleComputeFirewall#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type GoogleComputeFirewallTimeoutsOutputReference ¶
type GoogleComputeFirewallTimeoutsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Create() *string SetCreate(val *string) CreateInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Delete() *string SetDelete(val *string) DeleteInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Update() *string SetUpdate(val *string) UpdateInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCreate() ResetDelete() ResetUpdate() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewGoogleComputeFirewallTimeoutsOutputReference ¶
func NewGoogleComputeFirewallTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeFirewallTimeoutsOutputReference
Source Files ¶
- GoogleComputeFirewall.go
- GoogleComputeFirewallAllow.go
- GoogleComputeFirewallAllowList.go
- GoogleComputeFirewallAllowList__checks.go
- GoogleComputeFirewallAllowOutputReference.go
- GoogleComputeFirewallAllowOutputReference__checks.go
- GoogleComputeFirewallConfig.go
- GoogleComputeFirewallDeny.go
- GoogleComputeFirewallDenyList.go
- GoogleComputeFirewallDenyList__checks.go
- GoogleComputeFirewallDenyOutputReference.go
- GoogleComputeFirewallDenyOutputReference__checks.go
- GoogleComputeFirewallLogConfig.go
- GoogleComputeFirewallLogConfigOutputReference.go
- GoogleComputeFirewallLogConfigOutputReference__checks.go
- GoogleComputeFirewallTimeouts.go
- GoogleComputeFirewallTimeoutsOutputReference.go
- GoogleComputeFirewallTimeoutsOutputReference__checks.go
- GoogleComputeFirewall__checks.go
- main.go