Represents a {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job cloudflare_logpush_job}.
import { logpushJob } from '@cdktf/provider-cloudflare'
new logpushJob.LogpushJob(scope: Construct, id: string, config: LogpushJobConfig)| Name | Type | Description |
|---|---|---|
scope |
constructs.Construct |
The scope in which to define this construct. |
id |
string |
The scoped construct ID. |
config |
LogpushJobConfig |
No description. |
- Type: constructs.Construct
The scope in which to define this construct.
- Type: string
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: LogpushJobConfig
| 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". |
putOutputOptions |
No description. |
resetAccountId |
No description. |
resetDataset |
No description. |
resetEnabled |
No description. |
resetFilter |
No description. |
resetFrequency |
No description. |
resetKind |
No description. |
resetLogpullOptions |
No description. |
resetMaxUploadBytes |
No description. |
resetMaxUploadIntervalSeconds |
No description. |
resetMaxUploadRecords |
No description. |
resetName |
No description. |
resetOutputOptions |
No description. |
resetOwnershipChallenge |
No description. |
resetZoneId |
No description. |
public toString(): stringReturns a string representation of this construct.
public addOverride(path: string, value: any): void- Type: string
- Type: any
public overrideLogicalId(newLogicalId: string): voidOverrides the auto-generated logical ID with a specific ID.
- Type: string
The new logical ID to use for this stack element.
public resetOverrideLogicalId(): voidResets a previously passed logical Id to use the auto-generated logical id again.
public toHclTerraform(): anypublic toMetadata(): anypublic toTerraform(): anyAdds this resource to the terraform JSON output.
public addMoveTarget(moveTarget: string): voidAdds 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.
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}- Type: string
public getListAttribute(terraformAttribute: string): string[]- Type: string
public getNumberAttribute(terraformAttribute: string): number- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}- Type: string
public getStringAttribute(terraformAttribute: string): string- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}- Type: string
public hasResourceMove(): TerraformResourceMoveByTarget | TerraformResourceMoveByIdpublic importFrom(id: string, provider?: TerraformProvider): void- Type: string
- Type: cdktf.TerraformProvider
public interpolationForAttribute(terraformAttribute: string): IResolvable- Type: string
public moveFromId(id: string): voidMove 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".
public moveTo(moveTarget: string, index?: string | number): voidMoves 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: string | number
Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.
public moveToId(id: string): voidMoves this resource to the resource corresponding to "id".
- Type: string
Full id of resource to move to, e.g. "aws_s3_bucket.example".
public putOutputOptions(value: LogpushJobOutputOptions): void- Type: LogpushJobOutputOptions
public resetAccountId(): voidpublic resetDataset(): voidpublic resetEnabled(): voidpublic resetFilter(): voidpublic resetFrequency(): voidpublic resetKind(): voidpublic resetLogpullOptions(): voidpublic resetMaxUploadBytes(): voidpublic resetMaxUploadIntervalSeconds(): voidpublic resetMaxUploadRecords(): voidpublic resetName(): voidpublic resetOutputOptions(): voidpublic resetOwnershipChallenge(): voidpublic resetZoneId(): void| Name | Description |
|---|---|
isConstruct |
Checks if x is a construct. |
isTerraformElement |
No description. |
isTerraformResource |
No description. |
generateConfigForImport |
Generates CDKTF code for importing a LogpushJob resource upon running "cdktf plan ". |
import { logpushJob } from '@cdktf/provider-cloudflare'
logpushJob.LogpushJob.isConstruct(x: any)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: any
Any object.
import { logpushJob } from '@cdktf/provider-cloudflare'
logpushJob.LogpushJob.isTerraformElement(x: any)- Type: any
import { logpushJob } from '@cdktf/provider-cloudflare'
logpushJob.LogpushJob.isTerraformResource(x: any)- Type: any
import { logpushJob } from '@cdktf/provider-cloudflare'
logpushJob.LogpushJob.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider)Generates CDKTF code for importing a LogpushJob resource upon running "cdktf plan ".
- Type: constructs.Construct
The scope in which to define this construct.
- Type: string
The construct id used in the generated config for the LogpushJob to import.
- Type: string
The id of the existing LogpushJob that should be imported.
Refer to the {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#import import section} in the documentation of this resource for the id to use
- Type: cdktf.TerraformProvider
? Optional instance of the provider where the LogpushJob to import is found.
| Name | Type | Description |
|---|---|---|
node |
constructs.Node |
The tree node. |
cdktfStack |
cdktf.TerraformStack |
No description. |
fqn |
string |
No description. |
friendlyUniqueId |
string |
No description. |
terraformMetaArguments |
{[ key: string ]: any} |
No description. |
terraformResourceType |
string |
No description. |
terraformGeneratorMetadata |
cdktf.TerraformProviderGeneratorMetadata |
No description. |
connection |
cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection |
No description. |
count |
number | cdktf.TerraformCount |
No description. |
dependsOn |
string[] |
No description. |
forEach |
cdktf.ITerraformIterator |
No description. |
lifecycle |
cdktf.TerraformResourceLifecycle |
No description. |
provider |
cdktf.TerraformProvider |
No description. |
provisioners |
cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] |
No description. |
errorMessage |
string |
No description. |
id |
number |
No description. |
lastComplete |
string |
No description. |
lastError |
string |
No description. |
outputOptions |
LogpushJobOutputOptionsOutputReference |
No description. |
accountIdInput |
string |
No description. |
datasetInput |
string |
No description. |
destinationConfInput |
string |
No description. |
enabledInput |
boolean | cdktf.IResolvable |
No description. |
filterInput |
string |
No description. |
frequencyInput |
string |
No description. |
kindInput |
string |
No description. |
logpullOptionsInput |
string |
No description. |
maxUploadBytesInput |
number |
No description. |
maxUploadIntervalSecondsInput |
number |
No description. |
maxUploadRecordsInput |
number |
No description. |
nameInput |
string |
No description. |
outputOptionsInput |
cdktf.IResolvable | LogpushJobOutputOptions |
No description. |
ownershipChallengeInput |
string |
No description. |
zoneIdInput |
string |
No description. |
accountId |
string |
No description. |
dataset |
string |
No description. |
destinationConf |
string |
No description. |
enabled |
boolean | cdktf.IResolvable |
No description. |
filter |
string |
No description. |
frequency |
string |
No description. |
kind |
string |
No description. |
logpullOptions |
string |
No description. |
maxUploadBytes |
number |
No description. |
maxUploadIntervalSeconds |
number |
No description. |
maxUploadRecords |
number |
No description. |
name |
string |
No description. |
ownershipChallenge |
string |
No description. |
zoneId |
string |
No description. |
public readonly node: Node;- Type: constructs.Node
The tree node.
public readonly cdktfStack: TerraformStack;- Type: cdktf.TerraformStack
public readonly fqn: string;- Type: string
public readonly friendlyUniqueId: string;- Type: string
public readonly terraformMetaArguments: {[ key: string ]: any};- Type: {[ key: string ]: any}
public readonly terraformResourceType: string;- Type: string
public readonly terraformGeneratorMetadata: TerraformProviderGeneratorMetadata;- Type: cdktf.TerraformProviderGeneratorMetadata
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;- Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection
public readonly count: number | TerraformCount;- Type: number | cdktf.TerraformCount
public readonly dependsOn: string[];- Type: string[]
public readonly forEach: ITerraformIterator;- Type: cdktf.ITerraformIterator
public readonly lifecycle: TerraformResourceLifecycle;- Type: cdktf.TerraformResourceLifecycle
public readonly provider: TerraformProvider;- Type: cdktf.TerraformProvider
public readonly provisioners: (FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner)[];- Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]
public readonly errorMessage: string;- Type: string
public readonly id: number;- Type: number
public readonly lastComplete: string;- Type: string
public readonly lastError: string;- Type: string
public readonly outputOptions: LogpushJobOutputOptionsOutputReference;public readonly accountIdInput: string;- Type: string
public readonly datasetInput: string;- Type: string
public readonly destinationConfInput: string;- Type: string
public readonly enabledInput: boolean | IResolvable;- Type: boolean | cdktf.IResolvable
public readonly filterInput: string;- Type: string
public readonly frequencyInput: string;- Type: string
public readonly kindInput: string;- Type: string
public readonly logpullOptionsInput: string;- Type: string
public readonly maxUploadBytesInput: number;- Type: number
public readonly maxUploadIntervalSecondsInput: number;- Type: number
public readonly maxUploadRecordsInput: number;- Type: number
public readonly nameInput: string;- Type: string
public readonly outputOptionsInput: IResolvable | LogpushJobOutputOptions;- Type: cdktf.IResolvable | LogpushJobOutputOptions
public readonly ownershipChallengeInput: string;- Type: string
public readonly zoneIdInput: string;- Type: string
public readonly accountId: string;- Type: string
public readonly dataset: string;- Type: string
public readonly destinationConf: string;- Type: string
public readonly enabled: boolean | IResolvable;- Type: boolean | cdktf.IResolvable
public readonly filter: string;- Type: string
public readonly frequency: string;- Type: string
public readonly kind: string;- Type: string
public readonly logpullOptions: string;- Type: string
public readonly maxUploadBytes: number;- Type: number
public readonly maxUploadIntervalSeconds: number;- Type: number
public readonly maxUploadRecords: number;- Type: number
public readonly name: string;- Type: string
public readonly ownershipChallenge: string;- Type: string
public readonly zoneId: string;- Type: string
| Name | Type | Description |
|---|---|---|
tfResourceType |
string |
No description. |
public readonly tfResourceType: string;- Type: string
import { logpushJob } from '@cdktf/provider-cloudflare'
const logpushJobConfig: logpushJob.LogpushJobConfig = { ... }| Name | Type | Description |
|---|---|---|
connection |
cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection |
No description. |
count |
number | cdktf.TerraformCount |
No description. |
dependsOn |
cdktf.ITerraformDependable[] |
No description. |
forEach |
cdktf.ITerraformIterator |
No description. |
lifecycle |
cdktf.TerraformResourceLifecycle |
No description. |
provider |
cdktf.TerraformProvider |
No description. |
provisioners |
cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] |
No description. |
destinationConf |
string |
Uniquely identifies a resource (such as an s3 bucket) where data. |
accountId |
string |
The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. |
dataset |
string |
Name of the dataset. |
enabled |
boolean | cdktf.IResolvable |
Flag that indicates if the job is enabled. |
filter |
string |
The filters to select the events to include and/or remove from your logs. For more information, refer to Filters. |
frequency |
string |
This field is deprecated. |
kind |
string |
The kind parameter (optional) is used to differentiate between Logpush and Edge Log Delivery jobs (when supported by the dataset). |
logpullOptions |
string |
This field is deprecated. |
maxUploadBytes |
number |
The maximum uncompressed file size of a batch of logs. |
maxUploadIntervalSeconds |
number |
The maximum interval in seconds for log batches. |
maxUploadRecords |
number |
The maximum number of log lines per batch. |
name |
string |
Optional human readable job name. |
outputOptions |
LogpushJobOutputOptions |
The structured replacement for logpull_options. When including this field, the logpull_option field will be ignored. |
ownershipChallenge |
string |
Ownership challenge token to prove destination ownership. |
zoneId |
string |
The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. |
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;- Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection
public readonly count: number | TerraformCount;- Type: number | cdktf.TerraformCount
public readonly dependsOn: ITerraformDependable[];- Type: cdktf.ITerraformDependable[]
public readonly forEach: ITerraformIterator;- Type: cdktf.ITerraformIterator
public readonly lifecycle: TerraformResourceLifecycle;- Type: cdktf.TerraformResourceLifecycle
public readonly provider: TerraformProvider;- Type: cdktf.TerraformProvider
public readonly provisioners: (FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner)[];- Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]
public readonly destinationConf: string;- Type: string
Uniquely identifies a resource (such as an s3 bucket) where data.
will be pushed. Additional configuration parameters supported by the destination may be included.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#destination_conf LogpushJob#destination_conf}
public readonly accountId: string;- Type: string
The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#account_id LogpushJob#account_id}
public readonly dataset: string;- Type: string
Name of the dataset.
A list of supported datasets can be found on the Developer Docs. Available values: "access_requests", "audit_logs", "audit_logs_v2", "biso_user_actions", "casb_findings", "device_posture_results", "dex_application_tests", "dex_device_state_events", "dlp_forensic_copies", "dns_firewall_logs", "dns_logs", "email_security_alerts", "firewall_events", "gateway_dns", "gateway_http", "gateway_network", "http_requests", "ipsec_logs", "magic_ids_detections", "nel_reports", "network_analytics_logs", "page_shield_events", "sinkhole_http_logs", "spectrum_events", "ssh_logs", "warp_config_changes", "warp_toggle_changes", "workers_trace_events", "zaraz_events", "zero_trust_network_sessions".
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#dataset LogpushJob#dataset}
public readonly enabled: boolean | IResolvable;- Type: boolean | cdktf.IResolvable
Flag that indicates if the job is enabled.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#enabled LogpushJob#enabled}
public readonly filter: string;- Type: string
The filters to select the events to include and/or remove from your logs. For more information, refer to Filters.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#filter LogpushJob#filter}
public readonly frequency: string;- Type: string
This field is deprecated.
Please use max_upload_* parameters instead. . The frequency at which Cloudflare sends batches of logs to your destination. Setting frequency to high sends your logs in larger quantities of smaller files. Setting frequency to low sends logs in smaller quantities of larger files.
Available values: "high", "low".
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#frequency LogpushJob#frequency}
public readonly kind: string;- Type: string
The kind parameter (optional) is used to differentiate between Logpush and Edge Log Delivery jobs (when supported by the dataset).
Available values: "", "edge".
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#kind LogpushJob#kind}
public readonly logpullOptions: string;- Type: string
This field is deprecated.
Use output_options instead. Configuration string. It specifies things like requested fields and timestamp formats. If migrating from the logpull api, copy the url (full url or just the query string) of your call here, and logpush will keep on making this call for you, setting start and end times appropriately.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#logpull_options LogpushJob#logpull_options}
public readonly maxUploadBytes: number;- Type: number
The maximum uncompressed file size of a batch of logs.
This setting value must be between 5 MB and 1 GB, or 0 to disable it. Note that you cannot set a minimum file size; this means that log files may be much smaller than this batch size.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#max_upload_bytes LogpushJob#max_upload_bytes}
public readonly maxUploadIntervalSeconds: number;- Type: number
The maximum interval in seconds for log batches.
This setting must be between 30 and 300 seconds (5 minutes), or 0 to disable it. Note that you cannot specify a minimum interval for log batches; this means that log files may be sent in shorter intervals than this.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#max_upload_interval_seconds LogpushJob#max_upload_interval_seconds}
public readonly maxUploadRecords: number;- Type: number
The maximum number of log lines per batch.
This setting must be between 1000 and 1,000,000 lines, or 0 to disable it. Note that you cannot specify a minimum number of log lines per batch; this means that log files may contain many fewer lines than this.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#max_upload_records LogpushJob#max_upload_records}
public readonly name: string;- Type: string
Optional human readable job name.
Not unique. Cloudflare suggests. that you set this to a meaningful string, like the domain name, to make it easier to identify your job.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#name LogpushJob#name}
public readonly outputOptions: LogpushJobOutputOptions;- Type: LogpushJobOutputOptions
The structured replacement for logpull_options. When including this field, the logpull_option field will be ignored.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#output_options LogpushJob#output_options}
public readonly ownershipChallenge: string;- Type: string
Ownership challenge token to prove destination ownership.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#ownership_challenge LogpushJob#ownership_challenge}
public readonly zoneId: string;- Type: string
The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#zone_id LogpushJob#zone_id}
import { logpushJob } from '@cdktf/provider-cloudflare'
const logpushJobOutputOptions: logpushJob.LogpushJobOutputOptions = { ... }| Name | Type | Description |
|---|---|---|
batchPrefix |
string |
String to be prepended before each batch. |
batchSuffix |
string |
String to be appended after each batch. |
cve202144228 |
boolean | cdktf.IResolvable |
If set to true, will cause all occurrences of ${ in the generated files to be replaced with x{. |
fieldDelimiter |
string |
String to join fields. This field be ignored when record_template is set. |
fieldNames |
string[] |
List of field names to be included in the Logpush output. |
outputType |
string |
Specifies the output type, such as ndjson or csv. |
recordDelimiter |
string |
String to be inserted in-between the records as separator. |
recordPrefix |
string |
String to be prepended before each record. |
recordSuffix |
string |
String to be appended after each record. |
recordTemplate |
string |
String to use as template for each record instead of the default json key value mapping. |
sampleRate |
number |
Floating number to specify sampling rate. |
timestampFormat |
string |
String to specify the format for timestamps, such as unixnano, unix, or rfc3339. Available values: "unixnano", "unix", "rfc3339". |
public readonly batchPrefix: string;- Type: string
String to be prepended before each batch.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#batch_prefix LogpushJob#batch_prefix}
public readonly batchSuffix: string;- Type: string
String to be appended after each batch.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#batch_suffix LogpushJob#batch_suffix}
public readonly cve202144228: boolean | IResolvable;- Type: boolean | cdktf.IResolvable
If set to true, will cause all occurrences of ${ in the generated files to be replaced with x{.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#cve_2021_44228 LogpushJob#cve_2021_44228}
public readonly fieldDelimiter: string;- Type: string
String to join fields. This field be ignored when record_template is set.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#field_delimiter LogpushJob#field_delimiter}
public readonly fieldNames: string[];- Type: string[]
List of field names to be included in the Logpush output.
For the moment, there is no option to add all fields at once, so you must specify all the fields names you are interested in.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#field_names LogpushJob#field_names}
public readonly outputType: string;- Type: string
Specifies the output type, such as ndjson or csv.
This sets default values for the rest of the settings, depending on the chosen output type. Some formatting rules, like string quoting, are different between output types. Available values: "ndjson", "csv".
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#output_type LogpushJob#output_type}
public readonly recordDelimiter: string;- Type: string
String to be inserted in-between the records as separator.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#record_delimiter LogpushJob#record_delimiter}
public readonly recordPrefix: string;- Type: string
String to be prepended before each record.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#record_prefix LogpushJob#record_prefix}
public readonly recordSuffix: string;- Type: string
String to be appended after each record.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#record_suffix LogpushJob#record_suffix}
public readonly recordTemplate: string;- Type: string
String to use as template for each record instead of the default json key value mapping.
All fields used in the template must be present in field_names as well, otherwise they will end up as null. Format as a Go text/template without any standard functions, like conditionals, loops, sub-templates, etc.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#record_template LogpushJob#record_template}
public readonly sampleRate: number;- Type: number
Floating number to specify sampling rate.
Sampling is applied on top of filtering, and regardless of the current sample_interval of the data.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#sample_rate LogpushJob#sample_rate}
public readonly timestampFormat: string;- Type: string
String to specify the format for timestamps, such as unixnano, unix, or rfc3339. Available values: "unixnano", "unix", "rfc3339".
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/5.14.0/docs/resources/logpush_job#timestamp_format LogpushJob#timestamp_format}
import { logpushJob } from '@cdktf/provider-cloudflare'
new logpushJob.LogpushJobOutputOptionsOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)| Name | Type | Description |
|---|---|---|
terraformResource |
cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
- Type: 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. |
resetBatchPrefix |
No description. |
resetBatchSuffix |
No description. |
resetCve202144228 |
No description. |
resetFieldDelimiter |
No description. |
resetFieldNames |
No description. |
resetOutputType |
No description. |
resetRecordDelimiter |
No description. |
resetRecordPrefix |
No description. |
resetRecordSuffix |
No description. |
resetRecordTemplate |
No description. |
resetSampleRate |
No description. |
resetTimestampFormat |
No description. |
public computeFqn(): stringpublic getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}- Type: string
public getListAttribute(terraformAttribute: string): string[]- Type: string
public getNumberAttribute(terraformAttribute: string): number- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}- Type: string
public getStringAttribute(terraformAttribute: string): string- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}- Type: string
public interpolationForAttribute(property: string): IResolvable- Type: string
public resolve(_context: IResolveContext): anyProduce the Token's value at resolution time.
- Type: cdktf.IResolveContext
public toString(): stringReturn a string representation of this resolvable object.
Returns a reversible string representation.
public resetBatchPrefix(): voidpublic resetBatchSuffix(): voidpublic resetCve202144228(): voidpublic resetFieldDelimiter(): voidpublic resetFieldNames(): voidpublic resetOutputType(): voidpublic resetRecordDelimiter(): voidpublic resetRecordPrefix(): voidpublic resetRecordSuffix(): voidpublic resetRecordTemplate(): voidpublic resetSampleRate(): voidpublic resetTimestampFormat(): void| Name | Type | Description |
|---|---|---|
creationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
string |
No description. |
batchPrefixInput |
string |
No description. |
batchSuffixInput |
string |
No description. |
cve202144228Input |
boolean | cdktf.IResolvable |
No description. |
fieldDelimiterInput |
string |
No description. |
fieldNamesInput |
string[] |
No description. |
outputTypeInput |
string |
No description. |
recordDelimiterInput |
string |
No description. |
recordPrefixInput |
string |
No description. |
recordSuffixInput |
string |
No description. |
recordTemplateInput |
string |
No description. |
sampleRateInput |
number |
No description. |
timestampFormatInput |
string |
No description. |
batchPrefix |
string |
No description. |
batchSuffix |
string |
No description. |
cve202144228 |
boolean | cdktf.IResolvable |
No description. |
fieldDelimiter |
string |
No description. |
fieldNames |
string[] |
No description. |
outputType |
string |
No description. |
recordDelimiter |
string |
No description. |
recordPrefix |
string |
No description. |
recordSuffix |
string |
No description. |
recordTemplate |
string |
No description. |
sampleRate |
number |
No description. |
timestampFormat |
string |
No description. |
internalValue |
cdktf.IResolvable | LogpushJobOutputOptions |
No description. |
public readonly 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.
public readonly fqn: string;- Type: string
public readonly batchPrefixInput: string;- Type: string
public readonly batchSuffixInput: string;- Type: string
public readonly cve202144228Input: boolean | IResolvable;- Type: boolean | cdktf.IResolvable
public readonly fieldDelimiterInput: string;- Type: string
public readonly fieldNamesInput: string[];- Type: string[]
public readonly outputTypeInput: string;- Type: string
public readonly recordDelimiterInput: string;- Type: string
public readonly recordPrefixInput: string;- Type: string
public readonly recordSuffixInput: string;- Type: string
public readonly recordTemplateInput: string;- Type: string
public readonly sampleRateInput: number;- Type: number
public readonly timestampFormatInput: string;- Type: string
public readonly batchPrefix: string;- Type: string
public readonly batchSuffix: string;- Type: string
public readonly cve202144228: boolean | IResolvable;- Type: boolean | cdktf.IResolvable
public readonly fieldDelimiter: string;- Type: string
public readonly fieldNames: string[];- Type: string[]
public readonly outputType: string;- Type: string
public readonly recordDelimiter: string;- Type: string
public readonly recordPrefix: string;- Type: string
public readonly recordSuffix: string;- Type: string
public readonly recordTemplate: string;- Type: string
public readonly sampleRate: number;- Type: number
public readonly timestampFormat: string;- Type: string
public readonly internalValue: IResolvable | LogpushJobOutputOptions;- Type: cdktf.IResolvable | LogpushJobOutputOptions