IJobDefinition¶
-
class
aws_cdk.aws_batch.
IJobDefinition
(*args, **kwds)¶ Bases:
aws_cdk.core.IResource
,typing_extensions.Protocol
(experimental) An interface representing a job definition - either a new one, created with the CDK, *using the {@link JobDefinition} class, or existing ones, referenced using the {@link JobDefinition.fromJobDefinitionArn} method.
- Stability
experimental
Attributes
-
env
¶ The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
- Return type
-
job_definition_arn
¶ (experimental) The ARN of this batch job definition.
- Stability
experimental
- Attribute
true
- Return type
str
-
job_definition_name
¶ (experimental) The name of the batch job definition.
- Stability
experimental
- Attribute
true
- Return type
str
-
node
¶ The construct tree node for this construct.
- Return type