TransferJobArgs constructor
- Input<
String?> ? deletionPolicy, - required Input<
String> description, - Input<
TransferJobEventStream?> ? eventStream, - Input<
TransferJobLoggingConfig?> ? loggingConfig, - Input<
String?> ? name, - Input<
TransferJobNotificationConfig?> ? notificationConfig, - Input<
String?> ? project, - Input<
TransferJobReplicationSpec?> ? replicationSpec, - Input<
TransferJobSchedule?> ? schedule, - Input<
String?> ? serviceAccount, - Input<
String?> ? status, - Input<
TransferJobTransferSpec?> ? transferSpec,
Creates a new TransferJobArgs.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE".
description Unique description to identify the Transfer Job.
eventStream Specifies the Event-driven transfer options. Event-driven transfers listen to an event stream to transfer updated files. Structure documented below Either eventStream or schedule must be set.
loggingConfig Logging configuration. Structure documented below.
name The name of the Transfer Job. This name must start with "transferJobs/" prefix and end with a letter or a number, and should be no more than 128 characters ( transferJobs/^(?!OPI)[A-Za-z0-9-._~]*[A-Za-z0-9]$ ). For transfers involving PosixFilesystem, this name must start with transferJobs/OPI specifically ( transferJobs/OPI^[A-Za-z0-9-._~]*[A-Za-z0-9]$ ). For all other transfer types, this name must not start with transferJobs/OPI. Default the provider will assign a random unique name with transferJobs/{{name}} format, where name is a numeric value.
notificationConfig Notification configuration. This is not supported for transfers involving PosixFilesystem. Structure documented below.
project The project in which the resource belongs. If it
replicationSpec Replication specification. Structure documented below. User should not configure schedule, eventStream with this argument. One of transferSpec, or replicationSpec must be specified.
schedule Schedule specification defining when the Transfer Job should be scheduled to start, end and what time to run. Structure documented below. Either schedule or eventStream must be set.
serviceAccount The user-managed service account to run the job. If this field is specified, the given service account is granted the necessary permissions to all applicable resources (e.g. GCS buckets) required by the job.
status Status of the job. Default: ENABLED. NOTE: The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from ENABLED to DISABLED, and an operation spawned by the transfer is running, the status change would not affect the current operation.
transferSpec Transfer specification. Structure documented below. One of transferSpec, or replicationSpec can be specified.
Implementation
const TransferJobArgs({
this.deletionPolicy,
required this.description,
this.eventStream,
this.loggingConfig,
this.name,
this.notificationConfig,
this.project,
this.replicationSpec,
this.schedule,
this.serviceAccount,
this.status,
this.transferSpec,
});