JobDefinitionReference

class aws_cdk.aws_batch.JobDefinitionReference(*, job_definition_arn, job_definition_name)

Bases: object

A reference to a JobDefinition resource.

Parameters:
  • job_definition_arn (str) – The ARN of the JobDefinition resource.

  • job_definition_name (str) – The JobDefinitionName of the JobDefinition resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_batch as batch

job_definition_reference = batch.JobDefinitionReference(
    job_definition_arn="jobDefinitionArn",
    job_definition_name="jobDefinitionName"
)

Attributes

job_definition_arn

The ARN of the JobDefinition resource.

job_definition_name

The JobDefinitionName of the JobDefinition resource.