CfnCluster

class aws_cdk.aws_emr.CfnCluster(scope, id, *, instances, job_flow_role, name, service_role, additional_info=None, applications=None, auto_scaling_role=None, bootstrap_actions=None, configurations=None, custom_ami_id=None, ebs_root_volume_size=None, kerberos_attributes=None, log_encryption_kms_key_id=None, log_uri=None, managed_scaling_policy=None, release_label=None, scale_down_behavior=None, security_configuration=None, step_concurrency_level=None, steps=None, tags=None, visible_to_all_users=None)

Bases: aws_cdk.core.CfnResource

A CloudFormation AWS::EMR::Cluster.

CloudformationResource

AWS::EMR::Cluster

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html

Create a new AWS::EMR::Cluster.

Parameters
  • scope (Construct) –

    • scope in which this resource is defined.

  • id (str) –

    • scoped id of the resource.

  • instances (Union[JobFlowInstancesConfigProperty, IResolvable]) – AWS::EMR::Cluster.Instances.

  • job_flow_role (str) – AWS::EMR::Cluster.JobFlowRole.

  • name (str) – AWS::EMR::Cluster.Name.

  • service_role (str) – AWS::EMR::Cluster.ServiceRole.

  • additional_info (Optional[Any]) – AWS::EMR::Cluster.AdditionalInfo.

  • applications (Union[IResolvable, Sequence[Union[IResolvable, ApplicationProperty]], None]) – AWS::EMR::Cluster.Applications.

  • auto_scaling_role (Optional[str]) – AWS::EMR::Cluster.AutoScalingRole.

  • bootstrap_actions (Union[IResolvable, Sequence[Union[IResolvable, BootstrapActionConfigProperty]], None]) – AWS::EMR::Cluster.BootstrapActions.

  • configurations (Union[IResolvable, Sequence[Union[IResolvable, ConfigurationProperty]], None]) – AWS::EMR::Cluster.Configurations.

  • custom_ami_id (Optional[str]) – AWS::EMR::Cluster.CustomAmiId.

  • ebs_root_volume_size (Union[int, float, None]) – AWS::EMR::Cluster.EbsRootVolumeSize.

  • kerberos_attributes (Union[IResolvable, KerberosAttributesProperty, None]) – AWS::EMR::Cluster.KerberosAttributes.

  • log_encryption_kms_key_id (Optional[str]) – AWS::EMR::Cluster.LogEncryptionKmsKeyId.

  • log_uri (Optional[str]) – AWS::EMR::Cluster.LogUri.

  • managed_scaling_policy (Union[IResolvable, ManagedScalingPolicyProperty, None]) – AWS::EMR::Cluster.ManagedScalingPolicy.

  • release_label (Optional[str]) – AWS::EMR::Cluster.ReleaseLabel.

  • scale_down_behavior (Optional[str]) – AWS::EMR::Cluster.ScaleDownBehavior.

  • security_configuration (Optional[str]) – AWS::EMR::Cluster.SecurityConfiguration.

  • step_concurrency_level (Union[int, float, None]) – AWS::EMR::Cluster.StepConcurrencyLevel.

  • steps (Union[IResolvable, Sequence[Union[IResolvable, StepConfigProperty]], None]) – AWS::EMR::Cluster.Steps.

  • tags (Optional[Sequence[CfnTag]]) – AWS::EMR::Cluster.Tags.

  • visible_to_all_users (Union[bool, IResolvable, None]) – AWS::EMR::Cluster.VisibleToAllUsers.

Methods

add_deletion_override(path)

Syntactic sugar for addOverride(path, undefined).

Parameters

path (str) – The path of the value to delete.

Return type

None

add_depends_on(target)

Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.

This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope.

Parameters

target (CfnResource) –

Return type

None

add_metadata(key, value)

Add a value to the CloudFormation Resource Metadata.

Parameters
  • key (str) –

  • value (Any) –

See

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html

Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.

Return type

None

add_override(path, value)

Adds an override to the synthesized CloudFormation resource.

To add a property override, either use addPropertyOverride or prefix path with “Properties.” (i.e. Properties.TopicName).

If the override is nested, separate each nested level using a dot (.) in the path parameter. If there is an array as part of the nesting, specify the index in the path.

To include a literal . in the property name, prefix with a \. In most programming languages you will need to write this as "\\." because the \ itself will need to be escaped.

For example:

# Example automatically generated. See https://github.com/aws/jsii/issues/826
cfn_resource.add_override("Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes", ["myattribute"])
cfn_resource.add_override("Properties.GlobalSecondaryIndexes.1.ProjectionType", "INCLUDE")

would add the overrides Example:

"Properties": {
   "GlobalSecondaryIndexes": [
     {
       "Projection": {
         "NonKeyAttributes": [ "myattribute" ]
         ...
       }
       ...
     },
     {
       "ProjectionType": "INCLUDE"
       ...
     },
   ]
   ...
}
Parameters
  • path (str) –

    • The path of the property, you can use dot notation to override values in complex types. Any intermdediate keys will be created as needed.

  • value (Any) –

    • The value. Could be primitive or complex.

Return type

None

add_property_deletion_override(property_path)

Adds an override that deletes the value of a property from the resource definition.

Parameters

property_path (str) – The path to the property.

Return type

None

add_property_override(property_path, value)

Adds an override to a resource property.

Syntactic sugar for addOverride("Properties.<...>", value).

Parameters
  • property_path (str) – The path of the property.

  • value (Any) – The value.

Return type

None

apply_removal_policy(policy=None, *, apply_to_update_replace_policy=None, default=None)

Sets the deletion policy of the resource based on the removal policy specified.

Parameters
  • policy (Optional[RemovalPolicy]) –

  • apply_to_update_replace_policy (Optional[bool]) – Apply the same deletion policy to the resource’s “UpdateReplacePolicy”. Default: true

  • default (Optional[RemovalPolicy]) – The default policy to apply in case the removal policy is not defined. Default: - Default value is resource specific. To determine the default value for a resoure, please consult that specific resource’s documentation.

Return type

None

get_att(attribute_name)

Returns a token for an runtime attribute of this resource.

Ideally, use generated attribute accessors (e.g. resource.arn), but this can be used for future compatibility in case there is no generated attribute.

Parameters

attribute_name (str) – The name of the attribute.

Return type

Reference

get_metadata(key)

Retrieve a value value from the CloudFormation Resource Metadata.

Parameters

key (str) –

See

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html

Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.

Return type

Any

inspect(inspector)

Examines the CloudFormation resource and discloses attributes.

Parameters

inspector (TreeInspector) –

  • tree inspector to collect and process attributes.

Return type

None

override_logical_id(new_logical_id)

Overrides the auto-generated logical ID with a specific ID.

Parameters

new_logical_id (str) – The new logical ID to use for this stack element.

Return type

None

to_string()

Returns a string representation of this construct.

Return type

str

Returns

a string representation of this resource

Attributes

CFN_RESOURCE_TYPE_NAME = 'AWS::EMR::Cluster'
additional_info

AWS::EMR::Cluster.AdditionalInfo.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-additionalinfo

Return type

Any

applications

AWS::EMR::Cluster.Applications.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-applications

Return type

Union[IResolvable, List[Union[IResolvable, ApplicationProperty]], None]

attr_master_public_dns

MasterPublicDNS

Type

cloudformationAttribute

Return type

str

auto_scaling_role

AWS::EMR::Cluster.AutoScalingRole.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-autoscalingrole

Return type

Optional[str]

bootstrap_actions

AWS::EMR::Cluster.BootstrapActions.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-bootstrapactions

Return type

Union[IResolvable, List[Union[IResolvable, BootstrapActionConfigProperty]], None]

cfn_options

Options for this resource, such as condition, update policy etc.

Return type

ICfnResourceOptions

cfn_resource_type

AWS resource type.

Return type

str

configurations

AWS::EMR::Cluster.Configurations.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-configurations

Return type

Union[IResolvable, List[Union[IResolvable, ConfigurationProperty]], None]

creation_stack

return:

the stack trace of the point where this Resource was created from, sourced from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most node +internal+ entries filtered.

Return type

List[str]

custom_ami_id

AWS::EMR::Cluster.CustomAmiId.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-customamiid

Return type

Optional[str]

ebs_root_volume_size

AWS::EMR::Cluster.EbsRootVolumeSize.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-ebsrootvolumesize

Return type

Union[int, float, None]

instances

AWS::EMR::Cluster.Instances.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-instances

Return type

Union[JobFlowInstancesConfigProperty, IResolvable]

job_flow_role

AWS::EMR::Cluster.JobFlowRole.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-jobflowrole

Return type

str

kerberos_attributes

AWS::EMR::Cluster.KerberosAttributes.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-kerberosattributes

Return type

Union[IResolvable, KerberosAttributesProperty, None]

log_encryption_kms_key_id

AWS::EMR::Cluster.LogEncryptionKmsKeyId.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-logencryptionkmskeyid

Return type

Optional[str]

log_uri

AWS::EMR::Cluster.LogUri.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-loguri

Return type

Optional[str]

logical_id

The logical ID for this CloudFormation stack element.

The logical ID of the element is calculated from the path of the resource node in the construct tree.

To override this value, use overrideLogicalId(newLogicalId).

Return type

str

Returns

the logical ID as a stringified token. This value will only get resolved during synthesis.

managed_scaling_policy

AWS::EMR::Cluster.ManagedScalingPolicy.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-managedscalingpolicy

Return type

Union[IResolvable, ManagedScalingPolicyProperty, None]

name

AWS::EMR::Cluster.Name.

Link

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

Return type

str

node

The construct tree node associated with this construct.

Return type

ConstructNode

ref

Return a string that will be resolved to a CloudFormation { Ref } for this element.

If, by any chance, the intrinsic reference of a resource is not a string, you could coerce it to an IResolvable through Lazy.any({ produce: resource.ref }).

Return type

str

release_label

AWS::EMR::Cluster.ReleaseLabel.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-releaselabel

Return type

Optional[str]

scale_down_behavior

AWS::EMR::Cluster.ScaleDownBehavior.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-scaledownbehavior

Return type

Optional[str]

security_configuration

AWS::EMR::Cluster.SecurityConfiguration.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-securityconfiguration

Return type

Optional[str]

service_role

AWS::EMR::Cluster.ServiceRole.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-servicerole

Return type

str

stack

The stack in which this element is defined.

CfnElements must be defined within a stack scope (directly or indirectly).

Return type

Stack

step_concurrency_level

AWS::EMR::Cluster.StepConcurrencyLevel.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-stepconcurrencylevel

Return type

Union[int, float, None]

steps

AWS::EMR::Cluster.Steps.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-steps

Return type

Union[IResolvable, List[Union[IResolvable, StepConfigProperty]], None]

tags

AWS::EMR::Cluster.Tags.

Link

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

Return type

TagManager

visible_to_all_users

AWS::EMR::Cluster.VisibleToAllUsers.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-visibletoallusers

Return type

Union[bool, IResolvable, None]

Static Methods

classmethod is_cfn_element(x)

Returns true if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of instanceof to allow stack elements from different versions of this library to be included in the same stack.

Parameters

x (Any) –

Return type

bool

Returns

The construct as a stack element or undefined if it is not a stack element.

classmethod is_cfn_resource(construct)

Check whether the given construct is a CfnResource.

Parameters

construct (IConstruct) –

Return type

bool

classmethod is_construct(x)

Return whether the given object is a Construct.

Parameters

x (Any) –

Return type

bool

ApplicationProperty

class CfnCluster.ApplicationProperty(*, additional_info=None, args=None, name=None, version=None)

Bases: object

Parameters
  • additional_info (Union[IResolvable, Mapping[str, str], None]) – CfnCluster.ApplicationProperty.AdditionalInfo.

  • args (Optional[Sequence[str]]) – CfnCluster.ApplicationProperty.Args.

  • name (Optional[str]) – CfnCluster.ApplicationProperty.Name.

  • version (Optional[str]) – CfnCluster.ApplicationProperty.Version.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html

Attributes

additional_info

CfnCluster.ApplicationProperty.AdditionalInfo.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-additionalinfo

Return type

Union[IResolvable, Mapping[str, str], None]

args

CfnCluster.ApplicationProperty.Args.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-args

Return type

Optional[List[str]]

name

CfnCluster.ApplicationProperty.Name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-name

Return type

Optional[str]

version

CfnCluster.ApplicationProperty.Version.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-version

Return type

Optional[str]

AutoScalingPolicyProperty

class CfnCluster.AutoScalingPolicyProperty(*, constraints, rules)

Bases: object

Parameters
Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-autoscalingpolicy.html

Attributes

constraints

CfnCluster.AutoScalingPolicyProperty.Constraints.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-autoscalingpolicy.html#cfn-elasticmapreduce-cluster-autoscalingpolicy-constraints

Return type

Union[IResolvable, ScalingConstraintsProperty]

rules

CfnCluster.AutoScalingPolicyProperty.Rules.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-autoscalingpolicy.html#cfn-elasticmapreduce-cluster-autoscalingpolicy-rules

Return type

Union[IResolvable, List[Union[IResolvable, ScalingRuleProperty]]]

BootstrapActionConfigProperty

class CfnCluster.BootstrapActionConfigProperty(*, name, script_bootstrap_action)

Bases: object

Parameters
Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-bootstrapactionconfig.html

Attributes

name

CfnCluster.BootstrapActionConfigProperty.Name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-bootstrapactionconfig.html#cfn-elasticmapreduce-cluster-bootstrapactionconfig-name

Return type

str

script_bootstrap_action

CfnCluster.BootstrapActionConfigProperty.ScriptBootstrapAction.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-bootstrapactionconfig.html#cfn-elasticmapreduce-cluster-bootstrapactionconfig-scriptbootstrapaction

Return type

Union[IResolvable, ScriptBootstrapActionConfigProperty]

CloudWatchAlarmDefinitionProperty

class CfnCluster.CloudWatchAlarmDefinitionProperty(*, comparison_operator, metric_name, period, threshold, dimensions=None, evaluation_periods=None, namespace=None, statistic=None, unit=None)

Bases: object

Parameters
  • comparison_operator (str) – CfnCluster.CloudWatchAlarmDefinitionProperty.ComparisonOperator.

  • metric_name (str) – CfnCluster.CloudWatchAlarmDefinitionProperty.MetricName.

  • period (Union[int, float]) – CfnCluster.CloudWatchAlarmDefinitionProperty.Period.

  • threshold (Union[int, float]) – CfnCluster.CloudWatchAlarmDefinitionProperty.Threshold.

  • dimensions (Union[IResolvable, Sequence[Union[IResolvable, MetricDimensionProperty]], None]) – CfnCluster.CloudWatchAlarmDefinitionProperty.Dimensions.

  • evaluation_periods (Union[int, float, None]) – CfnCluster.CloudWatchAlarmDefinitionProperty.EvaluationPeriods.

  • namespace (Optional[str]) – CfnCluster.CloudWatchAlarmDefinitionProperty.Namespace.

  • statistic (Optional[str]) – CfnCluster.CloudWatchAlarmDefinitionProperty.Statistic.

  • unit (Optional[str]) – CfnCluster.CloudWatchAlarmDefinitionProperty.Unit.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html

Attributes

comparison_operator

CfnCluster.CloudWatchAlarmDefinitionProperty.ComparisonOperator.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-comparisonoperator

Return type

str

dimensions

CfnCluster.CloudWatchAlarmDefinitionProperty.Dimensions.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-dimensions

Return type

Union[IResolvable, List[Union[IResolvable, MetricDimensionProperty]], None]

evaluation_periods

CfnCluster.CloudWatchAlarmDefinitionProperty.EvaluationPeriods.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-evaluationperiods

Return type

Union[int, float, None]

metric_name

CfnCluster.CloudWatchAlarmDefinitionProperty.MetricName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-metricname

Return type

str

namespace

CfnCluster.CloudWatchAlarmDefinitionProperty.Namespace.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-namespace

Return type

Optional[str]

period

CfnCluster.CloudWatchAlarmDefinitionProperty.Period.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-period

Return type

Union[int, float]

statistic

CfnCluster.CloudWatchAlarmDefinitionProperty.Statistic.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-statistic

Return type

Optional[str]

threshold

CfnCluster.CloudWatchAlarmDefinitionProperty.Threshold.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-threshold

Return type

Union[int, float]

unit

CfnCluster.CloudWatchAlarmDefinitionProperty.Unit.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-unit

Return type

Optional[str]

ComputeLimitsProperty

class CfnCluster.ComputeLimitsProperty(*, maximum_capacity_units, minimum_capacity_units, unit_type, maximum_core_capacity_units=None, maximum_on_demand_capacity_units=None)

Bases: object

Parameters
  • maximum_capacity_units (Union[int, float]) – CfnCluster.ComputeLimitsProperty.MaximumCapacityUnits.

  • minimum_capacity_units (Union[int, float]) – CfnCluster.ComputeLimitsProperty.MinimumCapacityUnits.

  • unit_type (str) – CfnCluster.ComputeLimitsProperty.UnitType.

  • maximum_core_capacity_units (Union[int, float, None]) – CfnCluster.ComputeLimitsProperty.MaximumCoreCapacityUnits.

  • maximum_on_demand_capacity_units (Union[int, float, None]) – CfnCluster.ComputeLimitsProperty.MaximumOnDemandCapacityUnits.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-computelimits.html

Attributes

maximum_capacity_units

CfnCluster.ComputeLimitsProperty.MaximumCapacityUnits.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-computelimits.html#cfn-elasticmapreduce-cluster-computelimits-maximumcapacityunits

Return type

Union[int, float]

maximum_core_capacity_units

CfnCluster.ComputeLimitsProperty.MaximumCoreCapacityUnits.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-computelimits.html#cfn-elasticmapreduce-cluster-computelimits-maximumcorecapacityunits

Return type

Union[int, float, None]

maximum_on_demand_capacity_units

CfnCluster.ComputeLimitsProperty.MaximumOnDemandCapacityUnits.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-computelimits.html#cfn-elasticmapreduce-cluster-computelimits-maximumondemandcapacityunits

Return type

Union[int, float, None]

minimum_capacity_units

CfnCluster.ComputeLimitsProperty.MinimumCapacityUnits.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-computelimits.html#cfn-elasticmapreduce-cluster-computelimits-minimumcapacityunits

Return type

Union[int, float]

unit_type

CfnCluster.ComputeLimitsProperty.UnitType.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-computelimits.html#cfn-elasticmapreduce-cluster-computelimits-unittype

Return type

str

ConfigurationProperty

class CfnCluster.ConfigurationProperty(*, classification=None, configuration_properties=None, configurations=None)

Bases: object

Parameters
  • classification (Optional[str]) – CfnCluster.ConfigurationProperty.Classification.

  • configuration_properties (Union[IResolvable, Mapping[str, str], None]) – CfnCluster.ConfigurationProperty.ConfigurationProperties.

  • configurations (Union[IResolvable, Sequence[Union[IResolvable, ConfigurationProperty]], None]) – CfnCluster.ConfigurationProperty.Configurations.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-configuration.html

Attributes

classification

CfnCluster.ConfigurationProperty.Classification.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-configuration.html#cfn-elasticmapreduce-cluster-configuration-classification

Return type

Optional[str]

configuration_properties

CfnCluster.ConfigurationProperty.ConfigurationProperties.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-configuration.html#cfn-elasticmapreduce-cluster-configuration-configurationproperties

Return type

Union[IResolvable, Mapping[str, str], None]

configurations

CfnCluster.ConfigurationProperty.Configurations.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-configuration.html#cfn-elasticmapreduce-cluster-configuration-configurations

Return type

Union[IResolvable, List[Union[IResolvable, ConfigurationProperty]], None]

EbsBlockDeviceConfigProperty

class CfnCluster.EbsBlockDeviceConfigProperty(*, volume_specification, volumes_per_instance=None)

Bases: object

Parameters
  • volume_specification (Union[IResolvable, VolumeSpecificationProperty]) – CfnCluster.EbsBlockDeviceConfigProperty.VolumeSpecification.

  • volumes_per_instance (Union[int, float, None]) – CfnCluster.EbsBlockDeviceConfigProperty.VolumesPerInstance.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-ebsblockdeviceconfig.html

Attributes

volume_specification

CfnCluster.EbsBlockDeviceConfigProperty.VolumeSpecification.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-ebsblockdeviceconfig.html#cfn-elasticmapreduce-cluster-ebsblockdeviceconfig-volumespecification

Return type

Union[IResolvable, VolumeSpecificationProperty]

volumes_per_instance

CfnCluster.EbsBlockDeviceConfigProperty.VolumesPerInstance.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-ebsblockdeviceconfig.html#cfn-elasticmapreduce-cluster-ebsblockdeviceconfig-volumesperinstance

Return type

Union[int, float, None]

EbsConfigurationProperty

class CfnCluster.EbsConfigurationProperty(*, ebs_block_device_configs=None, ebs_optimized=None)

Bases: object

Parameters
Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-ebsconfiguration.html

Attributes

ebs_block_device_configs

CfnCluster.EbsConfigurationProperty.EbsBlockDeviceConfigs.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-ebsconfiguration.html#cfn-elasticmapreduce-cluster-ebsconfiguration-ebsblockdeviceconfigs

Return type

Union[IResolvable, List[Union[IResolvable, EbsBlockDeviceConfigProperty]], None]

ebs_optimized

CfnCluster.EbsConfigurationProperty.EbsOptimized.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-ebsconfiguration.html#cfn-elasticmapreduce-cluster-ebsconfiguration-ebsoptimized

Return type

Union[bool, IResolvable, None]

HadoopJarStepConfigProperty

class CfnCluster.HadoopJarStepConfigProperty(*, jar, args=None, main_class=None, step_properties=None)

Bases: object

Parameters
  • jar (str) – CfnCluster.HadoopJarStepConfigProperty.Jar.

  • args (Optional[Sequence[str]]) – CfnCluster.HadoopJarStepConfigProperty.Args.

  • main_class (Optional[str]) – CfnCluster.HadoopJarStepConfigProperty.MainClass.

  • step_properties (Union[IResolvable, Sequence[Union[IResolvable, KeyValueProperty]], None]) – CfnCluster.HadoopJarStepConfigProperty.StepProperties.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-hadoopjarstepconfig.html

Attributes

args

CfnCluster.HadoopJarStepConfigProperty.Args.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-hadoopjarstepconfig.html#cfn-elasticmapreduce-cluster-hadoopjarstepconfig-args

Return type

Optional[List[str]]

jar

CfnCluster.HadoopJarStepConfigProperty.Jar.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-hadoopjarstepconfig.html#cfn-elasticmapreduce-cluster-hadoopjarstepconfig-jar

Return type

str

main_class

CfnCluster.HadoopJarStepConfigProperty.MainClass.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-hadoopjarstepconfig.html#cfn-elasticmapreduce-cluster-hadoopjarstepconfig-mainclass

Return type

Optional[str]

step_properties

CfnCluster.HadoopJarStepConfigProperty.StepProperties.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-hadoopjarstepconfig.html#cfn-elasticmapreduce-cluster-hadoopjarstepconfig-stepproperties

Return type

Union[IResolvable, List[Union[IResolvable, KeyValueProperty]], None]

InstanceFleetConfigProperty

class CfnCluster.InstanceFleetConfigProperty(*, instance_type_configs=None, launch_specifications=None, name=None, target_on_demand_capacity=None, target_spot_capacity=None)

Bases: object

Parameters
  • instance_type_configs (Union[IResolvable, Sequence[Union[IResolvable, InstanceTypeConfigProperty]], None]) – CfnCluster.InstanceFleetConfigProperty.InstanceTypeConfigs.

  • launch_specifications (Union[IResolvable, InstanceFleetProvisioningSpecificationsProperty, None]) – CfnCluster.InstanceFleetConfigProperty.LaunchSpecifications.

  • name (Optional[str]) – CfnCluster.InstanceFleetConfigProperty.Name.

  • target_on_demand_capacity (Union[int, float, None]) – CfnCluster.InstanceFleetConfigProperty.TargetOnDemandCapacity.

  • target_spot_capacity (Union[int, float, None]) – CfnCluster.InstanceFleetConfigProperty.TargetSpotCapacity.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancefleetconfig.html

Attributes

instance_type_configs

CfnCluster.InstanceFleetConfigProperty.InstanceTypeConfigs.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancefleetconfig.html#cfn-elasticmapreduce-cluster-instancefleetconfig-instancetypeconfigs

Return type

Union[IResolvable, List[Union[IResolvable, InstanceTypeConfigProperty]], None]

launch_specifications

CfnCluster.InstanceFleetConfigProperty.LaunchSpecifications.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancefleetconfig.html#cfn-elasticmapreduce-cluster-instancefleetconfig-launchspecifications

Return type

Union[IResolvable, InstanceFleetProvisioningSpecificationsProperty, None]

name

CfnCluster.InstanceFleetConfigProperty.Name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancefleetconfig.html#cfn-elasticmapreduce-cluster-instancefleetconfig-name

Return type

Optional[str]

target_on_demand_capacity

CfnCluster.InstanceFleetConfigProperty.TargetOnDemandCapacity.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancefleetconfig.html#cfn-elasticmapreduce-cluster-instancefleetconfig-targetondemandcapacity

Return type

Union[int, float, None]

target_spot_capacity

CfnCluster.InstanceFleetConfigProperty.TargetSpotCapacity.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancefleetconfig.html#cfn-elasticmapreduce-cluster-instancefleetconfig-targetspotcapacity

Return type

Union[int, float, None]

InstanceFleetProvisioningSpecificationsProperty

class CfnCluster.InstanceFleetProvisioningSpecificationsProperty(*, on_demand_specification=None, spot_specification=None)

Bases: object

Parameters
Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancefleetprovisioningspecifications.html

Attributes

on_demand_specification

CfnCluster.InstanceFleetProvisioningSpecificationsProperty.OnDemandSpecification.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancefleetprovisioningspecifications.html#cfn-elasticmapreduce-cluster-instancefleetprovisioningspecifications-ondemandspecification

Return type

Union[IResolvable, OnDemandProvisioningSpecificationProperty, None]

spot_specification

CfnCluster.InstanceFleetProvisioningSpecificationsProperty.SpotSpecification.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancefleetprovisioningspecifications.html#cfn-elasticmapreduce-cluster-instancefleetprovisioningspecifications-spotspecification

Return type

Union[IResolvable, SpotProvisioningSpecificationProperty, None]

InstanceGroupConfigProperty

class CfnCluster.InstanceGroupConfigProperty(*, instance_count, instance_type, auto_scaling_policy=None, bid_price=None, configurations=None, ebs_configuration=None, market=None, name=None)

Bases: object

Parameters
  • instance_count (Union[int, float]) – CfnCluster.InstanceGroupConfigProperty.InstanceCount.

  • instance_type (str) – CfnCluster.InstanceGroupConfigProperty.InstanceType.

  • auto_scaling_policy (Union[IResolvable, AutoScalingPolicyProperty, None]) – CfnCluster.InstanceGroupConfigProperty.AutoScalingPolicy.

  • bid_price (Optional[str]) – CfnCluster.InstanceGroupConfigProperty.BidPrice.

  • configurations (Union[IResolvable, Sequence[Union[IResolvable, ConfigurationProperty]], None]) – CfnCluster.InstanceGroupConfigProperty.Configurations.

  • ebs_configuration (Union[IResolvable, EbsConfigurationProperty, None]) – CfnCluster.InstanceGroupConfigProperty.EbsConfiguration.

  • market (Optional[str]) – CfnCluster.InstanceGroupConfigProperty.Market.

  • name (Optional[str]) – CfnCluster.InstanceGroupConfigProperty.Name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html

Attributes

auto_scaling_policy

CfnCluster.InstanceGroupConfigProperty.AutoScalingPolicy.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-autoscalingpolicy

Return type

Union[IResolvable, AutoScalingPolicyProperty, None]

bid_price

CfnCluster.InstanceGroupConfigProperty.BidPrice.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-bidprice

Return type

Optional[str]

configurations

CfnCluster.InstanceGroupConfigProperty.Configurations.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-configurations

Return type

Union[IResolvable, List[Union[IResolvable, ConfigurationProperty]], None]

ebs_configuration

CfnCluster.InstanceGroupConfigProperty.EbsConfiguration.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-ebsconfiguration

Return type

Union[IResolvable, EbsConfigurationProperty, None]

instance_count

CfnCluster.InstanceGroupConfigProperty.InstanceCount.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-instancecount

Return type

Union[int, float]

instance_type

CfnCluster.InstanceGroupConfigProperty.InstanceType.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-instancetype

Return type

str

market

CfnCluster.InstanceGroupConfigProperty.Market.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-market

Return type

Optional[str]

name

CfnCluster.InstanceGroupConfigProperty.Name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-name

Return type

Optional[str]

InstanceTypeConfigProperty

class CfnCluster.InstanceTypeConfigProperty(*, instance_type, bid_price=None, bid_price_as_percentage_of_on_demand_price=None, configurations=None, ebs_configuration=None, weighted_capacity=None)

Bases: object

Parameters
  • instance_type (str) – CfnCluster.InstanceTypeConfigProperty.InstanceType.

  • bid_price (Optional[str]) – CfnCluster.InstanceTypeConfigProperty.BidPrice.

  • bid_price_as_percentage_of_on_demand_price (Union[int, float, None]) – CfnCluster.InstanceTypeConfigProperty.BidPriceAsPercentageOfOnDemandPrice.

  • configurations (Union[IResolvable, Sequence[Union[IResolvable, ConfigurationProperty]], None]) – CfnCluster.InstanceTypeConfigProperty.Configurations.

  • ebs_configuration (Union[IResolvable, EbsConfigurationProperty, None]) – CfnCluster.InstanceTypeConfigProperty.EbsConfiguration.

  • weighted_capacity (Union[int, float, None]) – CfnCluster.InstanceTypeConfigProperty.WeightedCapacity.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancetypeconfig.html

Attributes

bid_price

CfnCluster.InstanceTypeConfigProperty.BidPrice.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancetypeconfig.html#cfn-elasticmapreduce-cluster-instancetypeconfig-bidprice

Return type

Optional[str]

bid_price_as_percentage_of_on_demand_price

CfnCluster.InstanceTypeConfigProperty.BidPriceAsPercentageOfOnDemandPrice.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancetypeconfig.html#cfn-elasticmapreduce-cluster-instancetypeconfig-bidpriceaspercentageofondemandprice

Return type

Union[int, float, None]

configurations

CfnCluster.InstanceTypeConfigProperty.Configurations.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancetypeconfig.html#cfn-elasticmapreduce-cluster-instancetypeconfig-configurations

Return type

Union[IResolvable, List[Union[IResolvable, ConfigurationProperty]], None]

ebs_configuration

CfnCluster.InstanceTypeConfigProperty.EbsConfiguration.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancetypeconfig.html#cfn-elasticmapreduce-cluster-instancetypeconfig-ebsconfiguration

Return type

Union[IResolvable, EbsConfigurationProperty, None]

instance_type

CfnCluster.InstanceTypeConfigProperty.InstanceType.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancetypeconfig.html#cfn-elasticmapreduce-cluster-instancetypeconfig-instancetype

Return type

str

weighted_capacity

CfnCluster.InstanceTypeConfigProperty.WeightedCapacity.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancetypeconfig.html#cfn-elasticmapreduce-cluster-instancetypeconfig-weightedcapacity

Return type

Union[int, float, None]

JobFlowInstancesConfigProperty

class CfnCluster.JobFlowInstancesConfigProperty(*, additional_master_security_groups=None, additional_slave_security_groups=None, core_instance_fleet=None, core_instance_group=None, ec2_key_name=None, ec2_subnet_id=None, ec2_subnet_ids=None, emr_managed_master_security_group=None, emr_managed_slave_security_group=None, hadoop_version=None, keep_job_flow_alive_when_no_steps=None, master_instance_fleet=None, master_instance_group=None, placement=None, service_access_security_group=None, termination_protected=None)

Bases: object

Parameters
  • additional_master_security_groups (Optional[Sequence[str]]) – CfnCluster.JobFlowInstancesConfigProperty.AdditionalMasterSecurityGroups.

  • additional_slave_security_groups (Optional[Sequence[str]]) – CfnCluster.JobFlowInstancesConfigProperty.AdditionalSlaveSecurityGroups.

  • core_instance_fleet (Union[IResolvable, InstanceFleetConfigProperty, None]) – CfnCluster.JobFlowInstancesConfigProperty.CoreInstanceFleet.

  • core_instance_group (Union[IResolvable, InstanceGroupConfigProperty, None]) – CfnCluster.JobFlowInstancesConfigProperty.CoreInstanceGroup.

  • ec2_key_name (Optional[str]) – CfnCluster.JobFlowInstancesConfigProperty.Ec2KeyName.

  • ec2_subnet_id (Optional[str]) – CfnCluster.JobFlowInstancesConfigProperty.Ec2SubnetId.

  • ec2_subnet_ids (Optional[Sequence[str]]) – CfnCluster.JobFlowInstancesConfigProperty.Ec2SubnetIds.

  • emr_managed_master_security_group (Optional[str]) – CfnCluster.JobFlowInstancesConfigProperty.EmrManagedMasterSecurityGroup.

  • emr_managed_slave_security_group (Optional[str]) – CfnCluster.JobFlowInstancesConfigProperty.EmrManagedSlaveSecurityGroup.

  • hadoop_version (Optional[str]) – CfnCluster.JobFlowInstancesConfigProperty.HadoopVersion.

  • keep_job_flow_alive_when_no_steps (Union[bool, IResolvable, None]) – CfnCluster.JobFlowInstancesConfigProperty.KeepJobFlowAliveWhenNoSteps.

  • master_instance_fleet (Union[IResolvable, InstanceFleetConfigProperty, None]) – CfnCluster.JobFlowInstancesConfigProperty.MasterInstanceFleet.

  • master_instance_group (Union[IResolvable, InstanceGroupConfigProperty, None]) – CfnCluster.JobFlowInstancesConfigProperty.MasterInstanceGroup.

  • placement (Union[IResolvable, PlacementTypeProperty, None]) – CfnCluster.JobFlowInstancesConfigProperty.Placement.

  • service_access_security_group (Optional[str]) – CfnCluster.JobFlowInstancesConfigProperty.ServiceAccessSecurityGroup.

  • termination_protected (Union[bool, IResolvable, None]) – CfnCluster.JobFlowInstancesConfigProperty.TerminationProtected.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html

Attributes

additional_master_security_groups

CfnCluster.JobFlowInstancesConfigProperty.AdditionalMasterSecurityGroups.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-additionalmastersecuritygroups

Return type

Optional[List[str]]

additional_slave_security_groups

CfnCluster.JobFlowInstancesConfigProperty.AdditionalSlaveSecurityGroups.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-additionalslavesecuritygroups

Return type

Optional[List[str]]

core_instance_fleet

CfnCluster.JobFlowInstancesConfigProperty.CoreInstanceFleet.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-coreinstancefleet

Return type

Union[IResolvable, InstanceFleetConfigProperty, None]

core_instance_group

CfnCluster.JobFlowInstancesConfigProperty.CoreInstanceGroup.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-coreinstancegroup

Return type

Union[IResolvable, InstanceGroupConfigProperty, None]

ec2_key_name

CfnCluster.JobFlowInstancesConfigProperty.Ec2KeyName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-ec2keyname

Return type

Optional[str]

ec2_subnet_id

CfnCluster.JobFlowInstancesConfigProperty.Ec2SubnetId.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-ec2subnetid

Return type

Optional[str]

ec2_subnet_ids

CfnCluster.JobFlowInstancesConfigProperty.Ec2SubnetIds.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-ec2subnetids

Return type

Optional[List[str]]

emr_managed_master_security_group

CfnCluster.JobFlowInstancesConfigProperty.EmrManagedMasterSecurityGroup.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-emrmanagedmastersecuritygroup

Return type

Optional[str]

emr_managed_slave_security_group

CfnCluster.JobFlowInstancesConfigProperty.EmrManagedSlaveSecurityGroup.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-emrmanagedslavesecuritygroup

Return type

Optional[str]

hadoop_version

CfnCluster.JobFlowInstancesConfigProperty.HadoopVersion.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-hadoopversion

Return type

Optional[str]

keep_job_flow_alive_when_no_steps

CfnCluster.JobFlowInstancesConfigProperty.KeepJobFlowAliveWhenNoSteps.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-keepjobflowalivewhennosteps

Return type

Union[bool, IResolvable, None]

master_instance_fleet

CfnCluster.JobFlowInstancesConfigProperty.MasterInstanceFleet.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-masterinstancefleet

Return type

Union[IResolvable, InstanceFleetConfigProperty, None]

master_instance_group

CfnCluster.JobFlowInstancesConfigProperty.MasterInstanceGroup.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-masterinstancegroup

Return type

Union[IResolvable, InstanceGroupConfigProperty, None]

placement

CfnCluster.JobFlowInstancesConfigProperty.Placement.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-placement

Return type

Union[IResolvable, PlacementTypeProperty, None]

service_access_security_group

CfnCluster.JobFlowInstancesConfigProperty.ServiceAccessSecurityGroup.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-serviceaccesssecuritygroup

Return type

Optional[str]

termination_protected

CfnCluster.JobFlowInstancesConfigProperty.TerminationProtected.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-terminationprotected

Return type

Union[bool, IResolvable, None]

KerberosAttributesProperty

class CfnCluster.KerberosAttributesProperty(*, kdc_admin_password, realm, ad_domain_join_password=None, ad_domain_join_user=None, cross_realm_trust_principal_password=None)

Bases: object

Parameters
  • kdc_admin_password (str) – CfnCluster.KerberosAttributesProperty.KdcAdminPassword.

  • realm (str) – CfnCluster.KerberosAttributesProperty.Realm.

  • ad_domain_join_password (Optional[str]) – CfnCluster.KerberosAttributesProperty.ADDomainJoinPassword.

  • ad_domain_join_user (Optional[str]) – CfnCluster.KerberosAttributesProperty.ADDomainJoinUser.

  • cross_realm_trust_principal_password (Optional[str]) – CfnCluster.KerberosAttributesProperty.CrossRealmTrustPrincipalPassword.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-kerberosattributes.html

Attributes

ad_domain_join_password

CfnCluster.KerberosAttributesProperty.ADDomainJoinPassword.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-kerberosattributes.html#cfn-elasticmapreduce-cluster-kerberosattributes-addomainjoinpassword

Return type

Optional[str]

ad_domain_join_user

CfnCluster.KerberosAttributesProperty.ADDomainJoinUser.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-kerberosattributes.html#cfn-elasticmapreduce-cluster-kerberosattributes-addomainjoinuser

Return type

Optional[str]

cross_realm_trust_principal_password

CfnCluster.KerberosAttributesProperty.CrossRealmTrustPrincipalPassword.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-kerberosattributes.html#cfn-elasticmapreduce-cluster-kerberosattributes-crossrealmtrustprincipalpassword

Return type

Optional[str]

kdc_admin_password

CfnCluster.KerberosAttributesProperty.KdcAdminPassword.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-kerberosattributes.html#cfn-elasticmapreduce-cluster-kerberosattributes-kdcadminpassword

Return type

str

realm

CfnCluster.KerberosAttributesProperty.Realm.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-kerberosattributes.html#cfn-elasticmapreduce-cluster-kerberosattributes-realm

Return type

str

KeyValueProperty

class CfnCluster.KeyValueProperty(*, key=None, value=None)

Bases: object

Parameters
  • key (Optional[str]) – CfnCluster.KeyValueProperty.Key.

  • value (Optional[str]) – CfnCluster.KeyValueProperty.Value.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-keyvalue.html

Attributes

key

CfnCluster.KeyValueProperty.Key.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-keyvalue.html#cfn-elasticmapreduce-cluster-keyvalue-key

Return type

Optional[str]

value

CfnCluster.KeyValueProperty.Value.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-keyvalue.html#cfn-elasticmapreduce-cluster-keyvalue-value

Return type

Optional[str]

ManagedScalingPolicyProperty

class CfnCluster.ManagedScalingPolicyProperty(*, compute_limits=None)

Bases: object

Parameters

compute_limits (Union[IResolvable, ComputeLimitsProperty, None]) – CfnCluster.ManagedScalingPolicyProperty.ComputeLimits.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-managedscalingpolicy.html

Attributes

compute_limits

CfnCluster.ManagedScalingPolicyProperty.ComputeLimits.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-managedscalingpolicy.html#cfn-elasticmapreduce-cluster-managedscalingpolicy-computelimits

Return type

Union[IResolvable, ComputeLimitsProperty, None]

MetricDimensionProperty

class CfnCluster.MetricDimensionProperty(*, key, value)

Bases: object

Parameters
  • key (str) – CfnCluster.MetricDimensionProperty.Key.

  • value (str) – CfnCluster.MetricDimensionProperty.Value.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-metricdimension.html

Attributes

key

CfnCluster.MetricDimensionProperty.Key.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-metricdimension.html#cfn-elasticmapreduce-cluster-metricdimension-key

Return type

str

value

CfnCluster.MetricDimensionProperty.Value.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-metricdimension.html#cfn-elasticmapreduce-cluster-metricdimension-value

Return type

str

OnDemandProvisioningSpecificationProperty

class CfnCluster.OnDemandProvisioningSpecificationProperty(*, allocation_strategy)

Bases: object

Parameters

allocation_strategy (str) – CfnCluster.OnDemandProvisioningSpecificationProperty.AllocationStrategy.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-ondemandprovisioningspecification.html

Attributes

allocation_strategy

CfnCluster.OnDemandProvisioningSpecificationProperty.AllocationStrategy.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-ondemandprovisioningspecification.html#cfn-elasticmapreduce-cluster-ondemandprovisioningspecification-allocationstrategy

Return type

str

PlacementTypeProperty

class CfnCluster.PlacementTypeProperty(*, availability_zone)

Bases: object

Parameters

availability_zone (str) – CfnCluster.PlacementTypeProperty.AvailabilityZone.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-placementtype.html

Attributes

availability_zone

CfnCluster.PlacementTypeProperty.AvailabilityZone.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-placementtype.html#cfn-elasticmapreduce-cluster-placementtype-availabilityzone

Return type

str

ScalingActionProperty

class CfnCluster.ScalingActionProperty(*, simple_scaling_policy_configuration, market=None)

Bases: object

Parameters
Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingaction.html

Attributes

market

CfnCluster.ScalingActionProperty.Market.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingaction.html#cfn-elasticmapreduce-cluster-scalingaction-market

Return type

Optional[str]

simple_scaling_policy_configuration

CfnCluster.ScalingActionProperty.SimpleScalingPolicyConfiguration.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingaction.html#cfn-elasticmapreduce-cluster-scalingaction-simplescalingpolicyconfiguration

Return type

Union[IResolvable, SimpleScalingPolicyConfigurationProperty]

ScalingConstraintsProperty

class CfnCluster.ScalingConstraintsProperty(*, max_capacity, min_capacity)

Bases: object

Parameters
  • max_capacity (Union[int, float]) – CfnCluster.ScalingConstraintsProperty.MaxCapacity.

  • min_capacity (Union[int, float]) – CfnCluster.ScalingConstraintsProperty.MinCapacity.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingconstraints.html

Attributes

max_capacity

CfnCluster.ScalingConstraintsProperty.MaxCapacity.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingconstraints.html#cfn-elasticmapreduce-cluster-scalingconstraints-maxcapacity

Return type

Union[int, float]

min_capacity

CfnCluster.ScalingConstraintsProperty.MinCapacity.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingconstraints.html#cfn-elasticmapreduce-cluster-scalingconstraints-mincapacity

Return type

Union[int, float]

ScalingRuleProperty

class CfnCluster.ScalingRuleProperty(*, action, name, trigger, description=None)

Bases: object

Parameters
Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingrule.html

Attributes

action

CfnCluster.ScalingRuleProperty.Action.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingrule.html#cfn-elasticmapreduce-cluster-scalingrule-action

Return type

Union[IResolvable, ScalingActionProperty]

description

CfnCluster.ScalingRuleProperty.Description.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingrule.html#cfn-elasticmapreduce-cluster-scalingrule-description

Return type

Optional[str]

name

CfnCluster.ScalingRuleProperty.Name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingrule.html#cfn-elasticmapreduce-cluster-scalingrule-name

Return type

str

trigger

CfnCluster.ScalingRuleProperty.Trigger.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingrule.html#cfn-elasticmapreduce-cluster-scalingrule-trigger

Return type

Union[IResolvable, ScalingTriggerProperty]

ScalingTriggerProperty

class CfnCluster.ScalingTriggerProperty(*, cloud_watch_alarm_definition)

Bases: object

Parameters

cloud_watch_alarm_definition (Union[IResolvable, CloudWatchAlarmDefinitionProperty]) – CfnCluster.ScalingTriggerProperty.CloudWatchAlarmDefinition.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingtrigger.html

Attributes

cloud_watch_alarm_definition

CfnCluster.ScalingTriggerProperty.CloudWatchAlarmDefinition.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingtrigger.html#cfn-elasticmapreduce-cluster-scalingtrigger-cloudwatchalarmdefinition

Return type

Union[IResolvable, CloudWatchAlarmDefinitionProperty]

ScriptBootstrapActionConfigProperty

class CfnCluster.ScriptBootstrapActionConfigProperty(*, path, args=None)

Bases: object

Parameters
  • path (str) – CfnCluster.ScriptBootstrapActionConfigProperty.Path.

  • args (Optional[Sequence[str]]) – CfnCluster.ScriptBootstrapActionConfigProperty.Args.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scriptbootstrapactionconfig.html

Attributes

args

CfnCluster.ScriptBootstrapActionConfigProperty.Args.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scriptbootstrapactionconfig.html#cfn-elasticmapreduce-cluster-scriptbootstrapactionconfig-args

Return type

Optional[List[str]]

path

CfnCluster.ScriptBootstrapActionConfigProperty.Path.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scriptbootstrapactionconfig.html#cfn-elasticmapreduce-cluster-scriptbootstrapactionconfig-path

Return type

str

SimpleScalingPolicyConfigurationProperty

class CfnCluster.SimpleScalingPolicyConfigurationProperty(*, scaling_adjustment, adjustment_type=None, cool_down=None)

Bases: object

Parameters
  • scaling_adjustment (Union[int, float]) – CfnCluster.SimpleScalingPolicyConfigurationProperty.ScalingAdjustment.

  • adjustment_type (Optional[str]) – CfnCluster.SimpleScalingPolicyConfigurationProperty.AdjustmentType.

  • cool_down (Union[int, float, None]) – CfnCluster.SimpleScalingPolicyConfigurationProperty.CoolDown.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-simplescalingpolicyconfiguration.html

Attributes

adjustment_type

CfnCluster.SimpleScalingPolicyConfigurationProperty.AdjustmentType.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-simplescalingpolicyconfiguration.html#cfn-elasticmapreduce-cluster-simplescalingpolicyconfiguration-adjustmenttype

Return type

Optional[str]

cool_down

CfnCluster.SimpleScalingPolicyConfigurationProperty.CoolDown.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-simplescalingpolicyconfiguration.html#cfn-elasticmapreduce-cluster-simplescalingpolicyconfiguration-cooldown

Return type

Union[int, float, None]

scaling_adjustment

CfnCluster.SimpleScalingPolicyConfigurationProperty.ScalingAdjustment.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-simplescalingpolicyconfiguration.html#cfn-elasticmapreduce-cluster-simplescalingpolicyconfiguration-scalingadjustment

Return type

Union[int, float]

SpotProvisioningSpecificationProperty

class CfnCluster.SpotProvisioningSpecificationProperty(*, timeout_action, timeout_duration_minutes, allocation_strategy=None, block_duration_minutes=None)

Bases: object

Parameters
  • timeout_action (str) – CfnCluster.SpotProvisioningSpecificationProperty.TimeoutAction.

  • timeout_duration_minutes (Union[int, float]) – CfnCluster.SpotProvisioningSpecificationProperty.TimeoutDurationMinutes.

  • allocation_strategy (Optional[str]) – CfnCluster.SpotProvisioningSpecificationProperty.AllocationStrategy.

  • block_duration_minutes (Union[int, float, None]) – CfnCluster.SpotProvisioningSpecificationProperty.BlockDurationMinutes.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-spotprovisioningspecification.html

Attributes

allocation_strategy

CfnCluster.SpotProvisioningSpecificationProperty.AllocationStrategy.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-spotprovisioningspecification.html#cfn-elasticmapreduce-cluster-spotprovisioningspecification-allocationstrategy

Return type

Optional[str]

block_duration_minutes

CfnCluster.SpotProvisioningSpecificationProperty.BlockDurationMinutes.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-spotprovisioningspecification.html#cfn-elasticmapreduce-cluster-spotprovisioningspecification-blockdurationminutes

Return type

Union[int, float, None]

timeout_action

CfnCluster.SpotProvisioningSpecificationProperty.TimeoutAction.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-spotprovisioningspecification.html#cfn-elasticmapreduce-cluster-spotprovisioningspecification-timeoutaction

Return type

str

timeout_duration_minutes

CfnCluster.SpotProvisioningSpecificationProperty.TimeoutDurationMinutes.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-spotprovisioningspecification.html#cfn-elasticmapreduce-cluster-spotprovisioningspecification-timeoutdurationminutes

Return type

Union[int, float]

StepConfigProperty

class CfnCluster.StepConfigProperty(*, hadoop_jar_step, name, action_on_failure=None)

Bases: object

Parameters
  • hadoop_jar_step (Union[IResolvable, HadoopJarStepConfigProperty]) – CfnCluster.StepConfigProperty.HadoopJarStep.

  • name (str) – CfnCluster.StepConfigProperty.Name.

  • action_on_failure (Optional[str]) – CfnCluster.StepConfigProperty.ActionOnFailure.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-stepconfig.html

Attributes

action_on_failure

CfnCluster.StepConfigProperty.ActionOnFailure.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-stepconfig.html#cfn-elasticmapreduce-cluster-stepconfig-actiononfailure

Return type

Optional[str]

hadoop_jar_step

CfnCluster.StepConfigProperty.HadoopJarStep.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-stepconfig.html#cfn-elasticmapreduce-cluster-stepconfig-hadoopjarstep

Return type

Union[IResolvable, HadoopJarStepConfigProperty]

name

CfnCluster.StepConfigProperty.Name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-stepconfig.html#cfn-elasticmapreduce-cluster-stepconfig-name

Return type

str

VolumeSpecificationProperty

class CfnCluster.VolumeSpecificationProperty(*, size_in_gb, volume_type, iops=None)

Bases: object

Parameters
  • size_in_gb (Union[int, float]) – CfnCluster.VolumeSpecificationProperty.SizeInGB.

  • volume_type (str) – CfnCluster.VolumeSpecificationProperty.VolumeType.

  • iops (Union[int, float, None]) – CfnCluster.VolumeSpecificationProperty.Iops.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-volumespecification.html

Attributes

iops

CfnCluster.VolumeSpecificationProperty.Iops.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-volumespecification.html#cfn-elasticmapreduce-cluster-volumespecification-iops

Return type

Union[int, float, None]

size_in_gb

CfnCluster.VolumeSpecificationProperty.SizeInGB.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-volumespecification.html#cfn-elasticmapreduce-cluster-volumespecification-sizeingb

Return type

Union[int, float]

volume_type

CfnCluster.VolumeSpecificationProperty.VolumeType.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-volumespecification.html#cfn-elasticmapreduce-cluster-volumespecification-volumetype

Return type

str