CfnJobTemplateMixinProps

class aws_cdk.cfn_property_mixins.aws_emrcontainers.CfnJobTemplateMixinProps(*, job_template_data=None, name=None, tags=None)

Bases: object

Properties for CfnJobTemplatePropsMixin.

Parameters:
  • job_template_data (Union[IResolvable, JobTemplateDataProperty, Dict[str, Any], None]) – The values of a StartJobRun API request used in job runs started using the job template.

  • name (Optional[str]) – The specified name of the job template.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags that are associated with the job template.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-jobtemplate.html

ExampleMetadata:

fixture=_generated

Example:

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

# configuration_property_: emrcontainers.CfnJobTemplatePropsMixin.ConfigurationProperty

cfn_job_template_mixin_props = emrcontainers.CfnJobTemplateMixinProps(
    job_template_data=emrcontainers.CfnJobTemplatePropsMixin.JobTemplateDataProperty(
        configuration_overrides=emrcontainers.CfnJobTemplatePropsMixin.ParametricConfigurationOverridesProperty(
            application_configuration=[emrcontainers.CfnJobTemplatePropsMixin.ConfigurationProperty(
                classification="classification",
                configurations=[configuration_property_],
                properties={
                    "properties_key": "properties"
                }
            )],
            monitoring_configuration=emrcontainers.CfnJobTemplatePropsMixin.ParametricMonitoringConfigurationProperty(
                cloud_watch_monitoring_configuration=emrcontainers.CfnJobTemplatePropsMixin.ParametricCloudWatchMonitoringConfigurationProperty(
                    log_group_name="logGroupName",
                    log_stream_name_prefix="logStreamNamePrefix"
                ),
                persistent_app_ui="persistentAppUi",
                s3_monitoring_configuration=emrcontainers.CfnJobTemplatePropsMixin.ParametricS3MonitoringConfigurationProperty(
                    log_uri="logUri"
                )
            )
        ),
        execution_role_arn="executionRoleArn",
        job_driver=emrcontainers.CfnJobTemplatePropsMixin.JobDriverProperty(
            spark_sql_job_driver=emrcontainers.CfnJobTemplatePropsMixin.SparkSqlJobDriverProperty(
                entry_point="entryPoint",
                spark_sql_parameters="sparkSqlParameters"
            ),
            spark_submit_job_driver=emrcontainers.CfnJobTemplatePropsMixin.SparkSubmitJobDriverProperty(
                entry_point="entryPoint",
                entry_point_arguments=["entryPointArguments"],
                spark_submit_parameters="sparkSubmitParameters"
            )
        ),
        job_tags={
            "job_tags_key": "jobTags"
        },
        parameter_configuration={
            "parameter_configuration_key": emrcontainers.CfnJobTemplatePropsMixin.TemplateParameterConfigurationProperty(
                default_value="defaultValue",
                type="type"
            )
        },
        release_label="releaseLabel"
    ),
    name="name",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

job_template_data

The values of a StartJobRun API request used in job runs started using the job template.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-jobtemplate.html#cfn-emrcontainers-jobtemplate-jobtemplatedata

name

The specified name of the job template.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-jobtemplate.html#cfn-emrcontainers-jobtemplate-name

tags

The tags that are associated with the job template.

See:

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