Documentation ¶
Index ¶
- func ComputeFirewall_IsConstruct(x interface{}) *bool
- func ComputeFirewall_TfResourceType() *string
- func NewComputeFirewallAllowList_Override(c ComputeFirewallAllowList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewComputeFirewallAllowOutputReference_Override(c ComputeFirewallAllowOutputReference, ...)
- func NewComputeFirewallDenyList_Override(c ComputeFirewallDenyList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewComputeFirewallDenyOutputReference_Override(c ComputeFirewallDenyOutputReference, ...)
- func NewComputeFirewallLogConfigOutputReference_Override(c ComputeFirewallLogConfigOutputReference, ...)
- func NewComputeFirewallTimeoutsOutputReference_Override(c ComputeFirewallTimeoutsOutputReference, ...)
- func NewComputeFirewall_Override(c ComputeFirewall, scope constructs.Construct, id *string, ...)
- type ComputeFirewall
- type ComputeFirewallAllow
- type ComputeFirewallAllowList
- type ComputeFirewallAllowOutputReference
- type ComputeFirewallConfig
- type ComputeFirewallDeny
- type ComputeFirewallDenyList
- type ComputeFirewallDenyOutputReference
- type ComputeFirewallLogConfig
- type ComputeFirewallLogConfigOutputReference
- type ComputeFirewallTimeouts
- type ComputeFirewallTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeFirewall_IsConstruct ¶
func ComputeFirewall_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 ComputeFirewall_TfResourceType ¶
func ComputeFirewall_TfResourceType() *string
func NewComputeFirewallAllowList_Override ¶
func NewComputeFirewallAllowList_Override(c ComputeFirewallAllowList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeFirewallAllowOutputReference_Override ¶
func NewComputeFirewallAllowOutputReference_Override(c ComputeFirewallAllowOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeFirewallDenyList_Override ¶
func NewComputeFirewallDenyList_Override(c ComputeFirewallDenyList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeFirewallDenyOutputReference_Override ¶
func NewComputeFirewallDenyOutputReference_Override(c ComputeFirewallDenyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeFirewallLogConfigOutputReference_Override ¶
func NewComputeFirewallLogConfigOutputReference_Override(c ComputeFirewallLogConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeFirewallTimeoutsOutputReference_Override ¶
func NewComputeFirewallTimeoutsOutputReference_Override(c ComputeFirewallTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeFirewall_Override ¶
func NewComputeFirewall_Override(c ComputeFirewall, scope constructs.Construct, id *string, config *ComputeFirewallConfig)
Create a new {@link https://www.terraform.io/docs/providers/google/r/compute_firewall google_compute_firewall} Resource.
Types ¶
type ComputeFirewall ¶
type ComputeFirewall interface { cdktf.TerraformResource Allow() ComputeFirewallAllowList AllowInput() interface{} // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) CreationTimestamp() *string Deny() ComputeFirewallDenyList 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() ComputeFirewallLogConfigOutputReference LogConfigInput() *ComputeFirewallLogConfig 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() ComputeFirewallTimeoutsOutputReference 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 *ComputeFirewallLogConfig) PutTimeouts(value *ComputeFirewallTimeouts) 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://www.terraform.io/docs/providers/google/r/compute_firewall google_compute_firewall}.
func NewComputeFirewall ¶
func NewComputeFirewall(scope constructs.Construct, id *string, config *ComputeFirewallConfig) ComputeFirewall
Create a new {@link https://www.terraform.io/docs/providers/google/r/compute_firewall google_compute_firewall} Resource.
type ComputeFirewallAllow ¶
type ComputeFirewallAllow 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://www.terraform.io/docs/providers/google/r/compute_firewall#protocol ComputeFirewall#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://www.terraform.io/docs/providers/google/r/compute_firewall#ports ComputeFirewall#ports} Ports *[]*string `field:"optional" json:"ports" yaml:"ports"` }
type ComputeFirewallAllowList ¶
type ComputeFirewallAllowList 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) ComputeFirewallAllowOutputReference // 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 NewComputeFirewallAllowList ¶
func NewComputeFirewallAllowList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeFirewallAllowList
type ComputeFirewallAllowOutputReference ¶
type ComputeFirewallAllowOutputReference 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 NewComputeFirewallAllowOutputReference ¶
func NewComputeFirewallAllowOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeFirewallAllowOutputReference
type ComputeFirewallConfig ¶
type ComputeFirewallConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `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://www.terraform.io/docs/providers/google/r/compute_firewall#name ComputeFirewall#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://www.terraform.io/docs/providers/google/r/compute_firewall#network ComputeFirewall#network} Network *string `field:"required" json:"network" yaml:"network"` // allow block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_firewall#allow ComputeFirewall#allow} Allow interface{} `field:"optional" json:"allow" yaml:"allow"` // deny block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_firewall#deny ComputeFirewall#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://www.terraform.io/docs/providers/google/r/compute_firewall#description ComputeFirewall#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. Only IPv4 is supported. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_firewall#destination_ranges ComputeFirewall#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, it is NOT supported to specify // destinationRanges; For EGRESS traffic, it is NOT supported to specify // 'source_ranges' OR 'source_tags'. 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://www.terraform.io/docs/providers/google/r/compute_firewall#direction ComputeFirewall#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://www.terraform.io/docs/providers/google/r/compute_firewall#disabled ComputeFirewall#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://www.terraform.io/docs/providers/google/r/compute_firewall#enable_logging ComputeFirewall#enable_logging} EnableLogging interface{} `field:"optional" json:"enableLogging" yaml:"enableLogging"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_firewall#id ComputeFirewall#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://www.terraform.io/docs/providers/google/r/compute_firewall#log_config ComputeFirewall#log_config} LogConfig *ComputeFirewallLogConfig `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://www.terraform.io/docs/providers/google/r/compute_firewall#priority ComputeFirewall#priority} Priority *float64 `field:"optional" json:"priority" yaml:"priority"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_firewall#project ComputeFirewall#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. Only IPv4 is supported. For INGRESS traffic, one of 'source_ranges', // 'source_tags' or 'source_service_accounts' is required. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_firewall#source_ranges ComputeFirewall#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://www.terraform.io/docs/providers/google/r/compute_firewall#source_service_accounts ComputeFirewall#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://www.terraform.io/docs/providers/google/r/compute_firewall#source_tags ComputeFirewall#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://www.terraform.io/docs/providers/google/r/compute_firewall#target_service_accounts ComputeFirewall#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://www.terraform.io/docs/providers/google/r/compute_firewall#target_tags ComputeFirewall#target_tags} TargetTags *[]*string `field:"optional" json:"targetTags" yaml:"targetTags"` // timeouts block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_firewall#timeouts ComputeFirewall#timeouts} Timeouts *ComputeFirewallTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }
type ComputeFirewallDeny ¶
type ComputeFirewallDeny 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://www.terraform.io/docs/providers/google/r/compute_firewall#protocol ComputeFirewall#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://www.terraform.io/docs/providers/google/r/compute_firewall#ports ComputeFirewall#ports} Ports *[]*string `field:"optional" json:"ports" yaml:"ports"` }
type ComputeFirewallDenyList ¶
type ComputeFirewallDenyList 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) ComputeFirewallDenyOutputReference // 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 NewComputeFirewallDenyList ¶
func NewComputeFirewallDenyList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeFirewallDenyList
type ComputeFirewallDenyOutputReference ¶
type ComputeFirewallDenyOutputReference 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 NewComputeFirewallDenyOutputReference ¶
func NewComputeFirewallDenyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeFirewallDenyOutputReference
type ComputeFirewallLogConfig ¶
type ComputeFirewallLogConfig 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://www.terraform.io/docs/providers/google/r/compute_firewall#metadata ComputeFirewall#metadata} Metadata *string `field:"required" json:"metadata" yaml:"metadata"` }
type ComputeFirewallLogConfigOutputReference ¶
type ComputeFirewallLogConfigOutputReference 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() *ComputeFirewallLogConfig SetInternalValue(val *ComputeFirewallLogConfig) 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 NewComputeFirewallLogConfigOutputReference ¶
func NewComputeFirewallLogConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeFirewallLogConfigOutputReference
type ComputeFirewallTimeouts ¶
type ComputeFirewallTimeouts struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_firewall#create ComputeFirewall#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_firewall#delete ComputeFirewall#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/google/r/compute_firewall#update ComputeFirewall#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type ComputeFirewallTimeoutsOutputReference ¶
type ComputeFirewallTimeoutsOutputReference 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 NewComputeFirewallTimeoutsOutputReference ¶
func NewComputeFirewallTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeFirewallTimeoutsOutputReference
Source Files ¶
- computefirewall.go
- computefirewall_ComputeFirewall.go
- computefirewall_ComputeFirewallAllow.go
- computefirewall_ComputeFirewallAllowList.go
- computefirewall_ComputeFirewallAllowList__runtime_type_checks.go
- computefirewall_ComputeFirewallAllowOutputReference.go
- computefirewall_ComputeFirewallAllowOutputReference__runtime_type_checks.go
- computefirewall_ComputeFirewallConfig.go
- computefirewall_ComputeFirewallDeny.go
- computefirewall_ComputeFirewallDenyList.go
- computefirewall_ComputeFirewallDenyList__runtime_type_checks.go
- computefirewall_ComputeFirewallDenyOutputReference.go
- computefirewall_ComputeFirewallDenyOutputReference__runtime_type_checks.go
- computefirewall_ComputeFirewallLogConfig.go
- computefirewall_ComputeFirewallLogConfigOutputReference.go
- computefirewall_ComputeFirewallLogConfigOutputReference__runtime_type_checks.go
- computefirewall_ComputeFirewallTimeouts.go
- computefirewall_ComputeFirewallTimeoutsOutputReference.go
- computefirewall_ComputeFirewallTimeoutsOutputReference__runtime_type_checks.go
- computefirewall_ComputeFirewall__runtime_type_checks.go