CfnClusterProps

class aws_cdk.aws_emr.CfnClusterProps(*, 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_uri=None, release_label=None, scale_down_behavior=None, security_configuration=None, steps=None, tags=None, visible_to_all_users=None)

Bases: object

__init__(*, 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_uri=None, release_label=None, scale_down_behavior=None, security_configuration=None, steps=None, tags=None, visible_to_all_users=None)

Properties for defining a AWS::EMR::Cluster.

Parameters
  • 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, None, List[Union[IResolvable, ApplicationProperty]]]) – AWS::EMR::Cluster.Applications.

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

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

  • configurations (Union[IResolvable, None, List[Union[IResolvable, ConfigurationProperty]]]) – 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, None, KerberosAttributesProperty]) – AWS::EMR::Cluster.KerberosAttributes.

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

  • 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.

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

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

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

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

Attributes

additional_info

AWS::EMR::Cluster.AdditionalInfo.

see :see: 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.

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

Return type

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

auto_scaling_role

AWS::EMR::Cluster.AutoScalingRole.

see :see: 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.

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

Return type

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

configurations

AWS::EMR::Cluster.Configurations.

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

Return type

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

custom_ami_id

AWS::EMR::Cluster.CustomAmiId.

see :see: 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.

see :see: 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.

see :see: 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.

see :see: 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.

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

Return type

Union[IResolvable, None, KerberosAttributesProperty]

log_uri

AWS::EMR::Cluster.LogUri.

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

Return type

Optional[str]

name

AWS::EMR::Cluster.Name.

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

Return type

str

release_label

AWS::EMR::Cluster.ReleaseLabel.

see :see: 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.

see :see: 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.

see :see: 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.

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

Return type

str

steps

AWS::EMR::Cluster.Steps.

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

Return type

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

tags

AWS::EMR::Cluster.Tags.

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

Return type

Optional[List[CfnTag]]

visible_to_all_users

AWS::EMR::Cluster.VisibleToAllUsers.

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

Return type

Union[bool, None, IResolvable]