Class ComputeSubnetworkLogConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_subnetwork.ComputeSubnetworkLogConfig.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeSubnetworkLogConfig,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeSubnetworkLogConfig
@Stability(Stable) @Internal public static final class ComputeSubnetworkLogConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeSubnetworkLogConfig
An implementation forComputeSubnetworkLogConfig
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.compute_subnetwork.ComputeSubnetworkLogConfig
ComputeSubnetworkLogConfig.Builder, ComputeSubnetworkLogConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeSubnetworkLogConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeSubnetworkLogConfig.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetAggregationInterval()Can only be specified if VPC flow logging for this subnetwork is enabled.StringgetFilterExpr()Export filter used to define which VPC flow logs should be logged, as as CEL expression.NumbergetFlowSampling()Can only be specified if VPC flow logging for this subnetwork is enabled.StringgetMetadata()Can only be specified if VPC flow logging for this subnetwork is enabled.List<String>getMetadataFields()List of metadata fields that should be added to reported logs.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(ComputeSubnetworkLogConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeSubnetworkLogConfig.Builder.
-
-
Method Detail
-
getAggregationInterval
public final String getAggregationInterval()
Description copied from interface:ComputeSubnetworkLogConfigCan only be specified if VPC flow logging for this subnetwork is enabled.Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection. Default value: "INTERVAL_5_SEC" Possible values: ["INTERVAL_5_SEC", "INTERVAL_30_SEC", "INTERVAL_1_MIN", "INTERVAL_5_MIN", "INTERVAL_10_MIN", "INTERVAL_15_MIN"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#aggregation_interval ComputeSubnetwork#aggregation_interval}
- Specified by:
getAggregationIntervalin interfaceComputeSubnetworkLogConfig
-
getFilterExpr
public final String getFilterExpr()
Description copied from interface:ComputeSubnetworkLogConfigExport filter used to define which VPC flow logs should be logged, as as CEL expression.See https://cloud.google.com/vpc/docs/flow-logs#filtering for details on how to format this field. The default value is 'true', which evaluates to include everything. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#filter_expr ComputeSubnetwork#filter_expr}
- Specified by:
getFilterExprin interfaceComputeSubnetworkLogConfig
-
getFlowSampling
public final Number getFlowSampling()
Description copied from interface:ComputeSubnetworkLogConfigCan only be specified if VPC flow logging for this subnetwork is enabled.The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default is 0.5 which means half of all collected logs are reported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#flow_sampling ComputeSubnetwork#flow_sampling}
- Specified by:
getFlowSamplingin interfaceComputeSubnetworkLogConfig
-
getMetadata
public final String getMetadata()
Description copied from interface:ComputeSubnetworkLogConfigCan only be specified if VPC flow logging for this subnetwork is enabled.Configures whether metadata fields should be added to the reported VPC flow logs. Default value: "INCLUDE_ALL_METADATA" Possible values: ["EXCLUDE_ALL_METADATA", "INCLUDE_ALL_METADATA", "CUSTOM_METADATA"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#metadata ComputeSubnetwork#metadata}
- Specified by:
getMetadatain interfaceComputeSubnetworkLogConfig
-
getMetadataFields
public final List<String> getMetadataFields()
Description copied from interface:ComputeSubnetworkLogConfigList of metadata fields that should be added to reported logs.Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" is set to CUSTOM_METADATA. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#metadata_fields ComputeSubnetwork#metadata_fields}
- Specified by:
getMetadataFieldsin interfaceComputeSubnetworkLogConfig
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-