VpcFlowLogsConfigArgs constructor

const VpcFlowLogsConfigArgs({
  1. Input<String?>? aggregationInterval,
  2. Input<String?>? deletionPolicy,
  3. Input<String?>? description,
  4. Input<String?>? filterExpr,
  5. Input<double?>? flowSampling,
  6. Input<String?>? interconnectAttachment,
  7. Input<Map<String, String>?>? labels,
  8. required Input<String> location,
  9. Input<String?>? metadata,
  10. Input<List<String>?>? metadataFields,
  11. Input<String?>? network,
  12. Input<String?>? project,
  13. Input<String?>? state,
  14. Input<String?>? subnet,
  15. required Input<String> vpcFlowLogsConfigId,
  16. Input<String?>? vpnTunnel,
})

Creates a new VpcFlowLogsConfigArgs. aggregationInterval Optional. The aggregation interval for the logs. Default value is deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description Optional. The user-supplied description of the VPC Flow Logs configuration. Maximum filterExpr Optional. Export filter used to define which VPC Flow Logs should be logged. flowSampling Optional. The value of the field must be in (0, 1]. The sampling rate interconnectAttachment Traffic will be logged from the Interconnect Attachment. Format: projects/{project_id}/regions/{region}/interconnectAttachments/{name} labels Optional. Resource labels to represent user-provided metadata. location Resource ID segment making up resource name. It identifies the resource metadata Optional. Configures whether all, none or a subset of metadata fields metadataFields Optional. Custom metadata fields to include in the reported VPC flow network Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments within the network. Format: projects/{project_id}/global/networks/{name} project The ID of the project in which the resource belongs. state Optional. The state of the VPC Flow Log configuration. Default value subnet Traffic will be logged from VMs within the subnetwork. Format: projects/{project_id}/regions/{region}/subnetworks/{name} vpcFlowLogsConfigId Required. ID of the VpcFlowLogsConfig. vpnTunnel Traffic will be logged from the VPN Tunnel. Format: projects/{project_id}/regions/{region}/vpnTunnels/{name}

Implementation

const VpcFlowLogsConfigArgs({
  this.aggregationInterval,
  this.deletionPolicy,
  this.description,
  this.filterExpr,
  this.flowSampling,
  this.interconnectAttachment,
  this.labels,
  required this.location,
  this.metadata,
  this.metadataFields,
  this.network,
  this.project,
  this.state,
  this.subnet,
  required this.vpcFlowLogsConfigId,
  this.vpnTunnel,
});