Job
Provides a Glue Job resource.
Glue functionality, such as monitoring and logging of jobs, is typically managed with the
default_argumentsargument. See the Special Parameters Used by AWS Glue topic in the Glue developer guide for additional information.
Example Usage
Python Job
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.Glue.Job("example", new Aws.Glue.JobArgs
{
Command = new Aws.Glue.Inputs.JobCommandArgs
{
ScriptLocation = $"s3://{aws_s3_bucket.Example.Bucket}/example.py",
},
RoleArn = aws_iam_role.Example.Arn,
});
}
}
package main
import (
"fmt"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := glue.NewJob(ctx, "example", &glue.JobArgs{
Command: &glue.JobCommandArgs{
ScriptLocation: pulumi.String(fmt.Sprintf("%v%v%v", "s3://", aws_s3_bucket.Example.Bucket, "/example.py")),
},
RoleArn: pulumi.String(aws_iam_role.Example.Arn),
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
example = aws.glue.Job("example",
command={
"scriptLocation": f"s3://{aws_s3_bucket['example']['bucket']}/example.py",
},
role_arn=aws_iam_role["example"]["arn"])import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.glue.Job("example", {
command: {
scriptLocation: pulumi.interpolate`s3://${aws_s3_bucket_example.bucket}/example.py`,
},
roleArn: aws_iam_role_example.arn,
});Scala Job
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.Glue.Job("example", new Aws.Glue.JobArgs
{
Command = new Aws.Glue.Inputs.JobCommandArgs
{
ScriptLocation = $"s3://{aws_s3_bucket.Example.Bucket}/example.scala",
},
DefaultArguments =
{
{ "--job-language", "scala" },
},
RoleArn = aws_iam_role.Example.Arn,
});
}
}
package main
import (
"fmt"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := glue.NewJob(ctx, "example", &glue.JobArgs{
Command: &glue.JobCommandArgs{
ScriptLocation: pulumi.String(fmt.Sprintf("%v%v%v", "s3://", aws_s3_bucket.Example.Bucket, "/example.scala")),
},
DefaultArguments: pulumi.StringMap{
"--job-language": pulumi.String("scala"),
},
RoleArn: pulumi.String(aws_iam_role.Example.Arn),
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
example = aws.glue.Job("example",
command={
"scriptLocation": f"s3://{aws_s3_bucket['example']['bucket']}/example.scala",
},
default_arguments={
"--job-language": "scala",
},
role_arn=aws_iam_role["example"]["arn"])import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.glue.Job("example", {
command: {
scriptLocation: pulumi.interpolate`s3://${aws_s3_bucket_example.bucket}/example.scala`,
},
defaultArguments: {
"--job-language": "scala",
},
roleArn: aws_iam_role_example.arn,
});Enabling CloudWatch Logs and Metrics
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var exampleLogGroup = new Aws.CloudWatch.LogGroup("exampleLogGroup", new Aws.CloudWatch.LogGroupArgs
{
RetentionInDays = 14,
});
var exampleJob = new Aws.Glue.Job("exampleJob", new Aws.Glue.JobArgs
{
DefaultArguments =
{
{ "--continuous-log-logGroup", exampleLogGroup.Name },
{ "--enable-continuous-cloudwatch-log", "true" },
{ "--enable-continuous-log-filter", "true" },
{ "--enable-metrics", "" },
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/cloudwatch"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleLogGroup, err := cloudwatch.NewLogGroup(ctx, "exampleLogGroup", &cloudwatch.LogGroupArgs{
RetentionInDays: pulumi.Int(14),
})
if err != nil {
return err
}
_, err = glue.NewJob(ctx, "exampleJob", &glue.JobArgs{
DefaultArguments: pulumi.StringMap{
"--continuous-log-logGroup": exampleLogGroup.Name,
"--enable-continuous-cloudwatch-log": pulumi.String("true"),
"--enable-continuous-log-filter": pulumi.String("true"),
"--enable-metrics": pulumi.String(""),
},
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
example_log_group = aws.cloudwatch.LogGroup("exampleLogGroup", retention_in_days=14)
example_job = aws.glue.Job("exampleJob", default_arguments={
"--continuous-log-logGroup": example_log_group.name,
"--enable-continuous-cloudwatch-log": "true",
"--enable-continuous-log-filter": "true",
"--enable-metrics": "",
})import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const exampleLogGroup = new aws.cloudwatch.LogGroup("example", {
retentionInDays: 14,
});
const exampleJob = new aws.glue.Job("example", {
defaultArguments: {
// ... potentially other arguments ...
"--continuous-log-logGroup": exampleLogGroup.name,
"--enable-continuous-cloudwatch-log": "true",
"--enable-continuous-log-filter": "true",
"--enable-metrics": "",
},
});Create a Job Resource
new Job(name: string, args: JobArgs, opts?: CustomResourceOptions);def Job(resource_name, opts=None, allocated_capacity=None, command=None, connections=None, default_arguments=None, description=None, execution_property=None, glue_version=None, max_capacity=None, max_retries=None, name=None, notification_property=None, number_of_workers=None, role_arn=None, security_configuration=None, tags=None, timeout=None, worker_type=None, __props__=None);public Job(string name, JobArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Job Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Job resource accepts the following input properties:
- Command
Job
Command Args The command of the job. Defined below.
- Role
Arn string The ARN of the IAM role associated with this job.
- Allocated
Capacity int DEPRECATED (Optional) The number of AWS Glue data processing units (DPUs) to allocate to this Job. At least 2 DPUs need to be allocated; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory.
- Connections List<string>
The list of connections used for this job.
- Default
Arguments Dictionary<string, string> The map of default arguments for this job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes. For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide. For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
- Description string
Description of the job.
- Execution
Property JobExecution Property Args Execution property of the job. Defined below.
- Glue
Version string The version of glue to use, for example “1.0”. For information about available versions, see the AWS Glue Release Notes.
- Max
Capacity double The maximum number of AWS Glue data processing units (DPUs) that can be allocated when this job runs.
Requiredwhenpythonshellis set, accept either0.0625or1.0.- Max
Retries int The maximum number of times to retry this job if it fails.
- Name string
The name you assign to this job. It must be unique in your account.
- Notification
Property JobNotification Property Args Notification property of the job. Defined below.
- Number
Of intWorkers The number of workers of a defined workerType that are allocated when a job runs.
- Security
Configuration string The name of the Security Configuration to be associated with the job.
- Dictionary<string, string>
Key-value map of resource tags
- Timeout int
The job timeout in minutes. The default is 2880 minutes (48 hours).
- Worker
Type string The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.
- Command
Job
Command The command of the job. Defined below.
- Role
Arn string The ARN of the IAM role associated with this job.
- Allocated
Capacity int DEPRECATED (Optional) The number of AWS Glue data processing units (DPUs) to allocate to this Job. At least 2 DPUs need to be allocated; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory.
- Connections []string
The list of connections used for this job.
- Default
Arguments map[string]string The map of default arguments for this job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes. For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide. For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
- Description string
Description of the job.
- Execution
Property JobExecution Property Execution property of the job. Defined below.
- Glue
Version string The version of glue to use, for example “1.0”. For information about available versions, see the AWS Glue Release Notes.
- Max
Capacity float64 The maximum number of AWS Glue data processing units (DPUs) that can be allocated when this job runs.
Requiredwhenpythonshellis set, accept either0.0625or1.0.- Max
Retries int The maximum number of times to retry this job if it fails.
- Name string
The name you assign to this job. It must be unique in your account.
- Notification
Property JobNotification Property Notification property of the job. Defined below.
- Number
Of intWorkers The number of workers of a defined workerType that are allocated when a job runs.
- Security
Configuration string The name of the Security Configuration to be associated with the job.
- map[string]string
Key-value map of resource tags
- Timeout int
The job timeout in minutes. The default is 2880 minutes (48 hours).
- Worker
Type string The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.
- command
Job
Command The command of the job. Defined below.
- role
Arn string The ARN of the IAM role associated with this job.
- allocated
Capacity number DEPRECATED (Optional) The number of AWS Glue data processing units (DPUs) to allocate to this Job. At least 2 DPUs need to be allocated; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory.
- connections string[]
The list of connections used for this job.
- default
Arguments {[key: string]: string} The map of default arguments for this job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes. For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide. For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
- description string
Description of the job.
- execution
Property JobExecution Property Execution property of the job. Defined below.
- glue
Version string The version of glue to use, for example “1.0”. For information about available versions, see the AWS Glue Release Notes.
- max
Capacity number The maximum number of AWS Glue data processing units (DPUs) that can be allocated when this job runs.
Requiredwhenpythonshellis set, accept either0.0625or1.0.- max
Retries number The maximum number of times to retry this job if it fails.
- name string
The name you assign to this job. It must be unique in your account.
- notification
Property JobNotification Property Notification property of the job. Defined below.
- number
Of numberWorkers The number of workers of a defined workerType that are allocated when a job runs.
- security
Configuration string The name of the Security Configuration to be associated with the job.
- {[key: string]: string}
Key-value map of resource tags
- timeout number
The job timeout in minutes. The default is 2880 minutes (48 hours).
- worker
Type string The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.
- command
Dict[Job
Command] The command of the job. Defined below.
- role_
arn str The ARN of the IAM role associated with this job.
- allocated_
capacity float DEPRECATED (Optional) The number of AWS Glue data processing units (DPUs) to allocate to this Job. At least 2 DPUs need to be allocated; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory.
- connections List[str]
The list of connections used for this job.
- default_
arguments Dict[str, str] The map of default arguments for this job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes. For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide. For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
- description str
Description of the job.
- execution_
property Dict[JobExecution Property] Execution property of the job. Defined below.
- glue_
version str The version of glue to use, for example “1.0”. For information about available versions, see the AWS Glue Release Notes.
- max_
capacity float The maximum number of AWS Glue data processing units (DPUs) that can be allocated when this job runs.
Requiredwhenpythonshellis set, accept either0.0625or1.0.- max_
retries float The maximum number of times to retry this job if it fails.
- name str
The name you assign to this job. It must be unique in your account.
- notification_
property Dict[JobNotification Property] Notification property of the job. Defined below.
- number_
of_ floatworkers The number of workers of a defined workerType that are allocated when a job runs.
- security_
configuration str The name of the Security Configuration to be associated with the job.
- Dict[str, str]
Key-value map of resource tags
- timeout float
The job timeout in minutes. The default is 2880 minutes (48 hours).
- worker_
type str The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.
Outputs
All input properties are implicitly available as output properties. Additionally, the Job resource produces the following output properties:
Look up an Existing Job Resource
Get an existing Job resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: JobState, opts?: CustomResourceOptions): Jobstatic get(resource_name, id, opts=None, allocated_capacity=None, arn=None, command=None, connections=None, default_arguments=None, description=None, execution_property=None, glue_version=None, max_capacity=None, max_retries=None, name=None, notification_property=None, number_of_workers=None, role_arn=None, security_configuration=None, tags=None, timeout=None, worker_type=None, __props__=None);public static Job Get(string name, Input<string> id, JobState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Allocated
Capacity int DEPRECATED (Optional) The number of AWS Glue data processing units (DPUs) to allocate to this Job. At least 2 DPUs need to be allocated; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory.
- Arn string
Amazon Resource Name (ARN) of Glue Job
- Command
Job
Command Args The command of the job. Defined below.
- Connections List<string>
The list of connections used for this job.
- Default
Arguments Dictionary<string, string> The map of default arguments for this job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes. For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide. For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
- Description string
Description of the job.
- Execution
Property JobExecution Property Args Execution property of the job. Defined below.
- Glue
Version string The version of glue to use, for example “1.0”. For information about available versions, see the AWS Glue Release Notes.
- Max
Capacity double The maximum number of AWS Glue data processing units (DPUs) that can be allocated when this job runs.
Requiredwhenpythonshellis set, accept either0.0625or1.0.- Max
Retries int The maximum number of times to retry this job if it fails.
- Name string
The name you assign to this job. It must be unique in your account.
- Notification
Property JobNotification Property Args Notification property of the job. Defined below.
- Number
Of intWorkers The number of workers of a defined workerType that are allocated when a job runs.
- Role
Arn string The ARN of the IAM role associated with this job.
- Security
Configuration string The name of the Security Configuration to be associated with the job.
- Dictionary<string, string>
Key-value map of resource tags
- Timeout int
The job timeout in minutes. The default is 2880 minutes (48 hours).
- Worker
Type string The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.
- Allocated
Capacity int DEPRECATED (Optional) The number of AWS Glue data processing units (DPUs) to allocate to this Job. At least 2 DPUs need to be allocated; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory.
- Arn string
Amazon Resource Name (ARN) of Glue Job
- Command
Job
Command The command of the job. Defined below.
- Connections []string
The list of connections used for this job.
- Default
Arguments map[string]string The map of default arguments for this job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes. For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide. For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
- Description string
Description of the job.
- Execution
Property JobExecution Property Execution property of the job. Defined below.
- Glue
Version string The version of glue to use, for example “1.0”. For information about available versions, see the AWS Glue Release Notes.
- Max
Capacity float64 The maximum number of AWS Glue data processing units (DPUs) that can be allocated when this job runs.
Requiredwhenpythonshellis set, accept either0.0625or1.0.- Max
Retries int The maximum number of times to retry this job if it fails.
- Name string
The name you assign to this job. It must be unique in your account.
- Notification
Property JobNotification Property Notification property of the job. Defined below.
- Number
Of intWorkers The number of workers of a defined workerType that are allocated when a job runs.
- Role
Arn string The ARN of the IAM role associated with this job.
- Security
Configuration string The name of the Security Configuration to be associated with the job.
- map[string]string
Key-value map of resource tags
- Timeout int
The job timeout in minutes. The default is 2880 minutes (48 hours).
- Worker
Type string The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.
- allocated
Capacity number DEPRECATED (Optional) The number of AWS Glue data processing units (DPUs) to allocate to this Job. At least 2 DPUs need to be allocated; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory.
- arn string
Amazon Resource Name (ARN) of Glue Job
- command
Job
Command The command of the job. Defined below.
- connections string[]
The list of connections used for this job.
- default
Arguments {[key: string]: string} The map of default arguments for this job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes. For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide. For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
- description string
Description of the job.
- execution
Property JobExecution Property Execution property of the job. Defined below.
- glue
Version string The version of glue to use, for example “1.0”. For information about available versions, see the AWS Glue Release Notes.
- max
Capacity number The maximum number of AWS Glue data processing units (DPUs) that can be allocated when this job runs.
Requiredwhenpythonshellis set, accept either0.0625or1.0.- max
Retries number The maximum number of times to retry this job if it fails.
- name string
The name you assign to this job. It must be unique in your account.
- notification
Property JobNotification Property Notification property of the job. Defined below.
- number
Of numberWorkers The number of workers of a defined workerType that are allocated when a job runs.
- role
Arn string The ARN of the IAM role associated with this job.
- security
Configuration string The name of the Security Configuration to be associated with the job.
- {[key: string]: string}
Key-value map of resource tags
- timeout number
The job timeout in minutes. The default is 2880 minutes (48 hours).
- worker
Type string The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.
- allocated_
capacity float DEPRECATED (Optional) The number of AWS Glue data processing units (DPUs) to allocate to this Job. At least 2 DPUs need to be allocated; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory.
- arn str
Amazon Resource Name (ARN) of Glue Job
- command
Dict[Job
Command] The command of the job. Defined below.
- connections List[str]
The list of connections used for this job.
- default_
arguments Dict[str, str] The map of default arguments for this job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes. For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide. For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
- description str
Description of the job.
- execution_
property Dict[JobExecution Property] Execution property of the job. Defined below.
- glue_
version str The version of glue to use, for example “1.0”. For information about available versions, see the AWS Glue Release Notes.
- max_
capacity float The maximum number of AWS Glue data processing units (DPUs) that can be allocated when this job runs.
Requiredwhenpythonshellis set, accept either0.0625or1.0.- max_
retries float The maximum number of times to retry this job if it fails.
- name str
The name you assign to this job. It must be unique in your account.
- notification_
property Dict[JobNotification Property] Notification property of the job. Defined below.
- number_
of_ floatworkers The number of workers of a defined workerType that are allocated when a job runs.
- role_
arn str The ARN of the IAM role associated with this job.
- security_
configuration str The name of the Security Configuration to be associated with the job.
- Dict[str, str]
Key-value map of resource tags
- timeout float
The job timeout in minutes. The default is 2880 minutes (48 hours).
- worker_
type str The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.
Supporting Types
JobCommand
- Script
Location string Specifies the S3 path to a script that executes a job.
- Name string
The name of the job command. Defaults to
glueetl. Usepythonshellfor Python Shell Job Type,max_capacityneeds to be set ifpythonshellis chosen.- Python
Version string The Python version being used to execute a Python shell job. Allowed values are 2 or 3.
- Script
Location string Specifies the S3 path to a script that executes a job.
- Name string
The name of the job command. Defaults to
glueetl. Usepythonshellfor Python Shell Job Type,max_capacityneeds to be set ifpythonshellis chosen.- Python
Version string The Python version being used to execute a Python shell job. Allowed values are 2 or 3.
- script
Location string Specifies the S3 path to a script that executes a job.
- name string
The name of the job command. Defaults to
glueetl. Usepythonshellfor Python Shell Job Type,max_capacityneeds to be set ifpythonshellis chosen.- python
Version string The Python version being used to execute a Python shell job. Allowed values are 2 or 3.
- script
Location str Specifies the S3 path to a script that executes a job.
- name str
The name of the job command. Defaults to
glueetl. Usepythonshellfor Python Shell Job Type,max_capacityneeds to be set ifpythonshellis chosen.- python
Version str The Python version being used to execute a Python shell job. Allowed values are 2 or 3.
JobExecutionProperty
- Max
Concurrent intRuns The maximum number of concurrent runs allowed for a job. The default is 1.
- Max
Concurrent intRuns The maximum number of concurrent runs allowed for a job. The default is 1.
- max
Concurrent numberRuns The maximum number of concurrent runs allowed for a job. The default is 1.
- max
Concurrent floatRuns The maximum number of concurrent runs allowed for a job. The default is 1.
JobNotificationProperty
- Notify
Delay intAfter After a job run starts, the number of minutes to wait before sending a job run delay notification.
- Notify
Delay intAfter After a job run starts, the number of minutes to wait before sending a job run delay notification.
- notify
Delay numberAfter After a job run starts, the number of minutes to wait before sending a job run delay notification.
- notify
Delay floatAfter After a job run starts, the number of minutes to wait before sending a job run delay notification.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.