CfnJobDefinitionProps

class aws_cdk.aws_batch.CfnJobDefinitionProps(*, type, container_properties=None, job_definition_name=None, node_properties=None, parameters=None, platform_capabilities=None, propagate_tags=None, retry_strategy=None, tags=None, timeout=None)

Bases: object

Properties for defining a AWS::Batch::JobDefinition.

Parameters
  • type (str) – AWS::Batch::JobDefinition.Type.

  • container_properties (Union[IResolvable, ContainerPropertiesProperty, None]) – AWS::Batch::JobDefinition.ContainerProperties.

  • job_definition_name (Optional[str]) – AWS::Batch::JobDefinition.JobDefinitionName.

  • node_properties (Union[IResolvable, NodePropertiesProperty, None]) – AWS::Batch::JobDefinition.NodeProperties.

  • parameters (Optional[Any]) – AWS::Batch::JobDefinition.Parameters.

  • platform_capabilities (Optional[Sequence[str]]) – AWS::Batch::JobDefinition.PlatformCapabilities.

  • propagate_tags (Union[bool, IResolvable, None]) – AWS::Batch::JobDefinition.PropagateTags.

  • retry_strategy (Union[IResolvable, RetryStrategyProperty, None]) – AWS::Batch::JobDefinition.RetryStrategy.

  • tags (Optional[Any]) – AWS::Batch::JobDefinition.Tags.

  • timeout (Union[IResolvable, TimeoutProperty, None]) – AWS::Batch::JobDefinition.Timeout.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html

Attributes

container_properties

AWS::Batch::JobDefinition.ContainerProperties.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-containerproperties

Return type

Union[IResolvable, ContainerPropertiesProperty, None]

job_definition_name

AWS::Batch::JobDefinition.JobDefinitionName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-jobdefinitionname

Return type

Optional[str]

node_properties

AWS::Batch::JobDefinition.NodeProperties.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-nodeproperties

Return type

Union[IResolvable, NodePropertiesProperty, None]

parameters

AWS::Batch::JobDefinition.Parameters.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-parameters

Return type

Any

platform_capabilities

AWS::Batch::JobDefinition.PlatformCapabilities.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-platformcapabilities

Return type

Optional[List[str]]

propagate_tags

AWS::Batch::JobDefinition.PropagateTags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-propagatetags

Return type

Union[bool, IResolvable, None]

retry_strategy

AWS::Batch::JobDefinition.RetryStrategy.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-retrystrategy

Return type

Union[IResolvable, RetryStrategyProperty, None]

tags

AWS::Batch::JobDefinition.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-tags

Return type

Any

timeout

AWS::Batch::JobDefinition.Timeout.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-timeout

Return type

Union[IResolvable, TimeoutProperty, None]

type

AWS::Batch::JobDefinition.Type.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-type

Return type

str