< Back

Add-CfnEMR_ClusterResource

Sat Jan 11, 2020 6:59 am

NAME Add-CfnEMR_ClusterResource



SYNOPSIS

The AWS::EMR::Cluster resource creates an Amazon Elastic MapReduce (Amazon EMR) cluster.





SYNTAX

Add-CfnEMR_ClusterResource [-ResourceName] <String> [-AdditionalInfo <Object>] [-Applications <IDictionary[]>]

[-BootstrapActions <IDictionary[]>] [-Configurations <Object[]>] [-Instances <IDictionary>] [-JobFlowRole

<String>] [-LogUri <String>] [-Name <String>] [-ReleaseLabel <String>] [-ServiceRole <String>] [-Tags

<IDictionary>] [-VisibleToAllUsers <Boolean>] [-DeletionPolicy <String>] [-Metadata <Hashtable>] [-DependsOn

<Array>] [[-PropertiesBlock] <ScriptBlock>] [-Condition <Object>] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-ResourceName <String>



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-AdditionalInfo <Object>

Additional features that you want to select.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Applications <IDictionary[]>

The software applications to deploy on the cluster, and the arguments that Amazon EMR passes to those

applications.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-BootstrapActions <IDictionary[]>

A list of bootstrap actions that Amazon EMR runs before starting applications on the cluster.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Configurations <Object[]>

The software configuration of the Amazon EMR cluster.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Instances <IDictionary>

Configures the EC2 instances that will run jobs in the Amazon EMR cluster.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-JobFlowRole <String>

An AWS Identity and Access Management (IAM) role for an Amazon EMR cluster.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-LogUri <String>

An S3 bucket location to which Amazon EMR writes logs files from a job flow.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Name <String>

A name for the Amazon EMR cluster.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ReleaseLabel <String>

The Amazon EMR software release label. A release is a set of software applications and components that you can

install and configure on an Amazon EMR cluster.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ServiceRole <String>

The IAM role that Amazon EMR assumes to access AWS resources on your behalf.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Tags <IDictionary>

The tags that you want to attach.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-VisibleToAllUsers <Boolean>

Indicates whether the instances in the cluster are visible to all IAM users in the AWS account.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-DeletionPolicy <String>

With the DeletionPolicy attribute you can preserve or (in some cases) backup a resource when its stack is

deleted. You specify a DeletionPolicy attribute for each resource that you want to control. If a resource has

no DeletionPolicy attribute, AWS CloudFormation deletes the resource by default.



To keep a resource when its stack is deleted, specify Retain for that resource. You can use retain for any

resource. For example, you can retain a nested stack, S3 bucket, or EC2 instance so that you can continue to

use or modify those resources after you delete their stacks.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Metadata <Hashtable>

The Metadata attribute enables you to associate structured data with a resource. By adding a Metadata

attribute to a resource, you can add data in JSON format to the resource declaration. In addition, you can use

intrinsic functions (such as GetAtt and Ref), parameters, and pseudo parameters within the Metadata attribute

to add those interpreted values.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-DependsOn <Array>

With the DependsOn attribute you can specify that the creation of a specific resource follows another. When

you add a DependsOn attribute to a resource, that resource is created only after the creation of the resource

specified in the DependsOn attribute. You can use the DependsOn attribute with any resource.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-PropertiesBlock <ScriptBlock>

Allows you to declare a block of one or more Property statements.



A Properties block allows you to side-step the rigid, type-enforced literal properties of a typed resource,

and specify Property assignments that may include CloudFormation function calls or references, or computed

values.



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Condition <Object>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS

http://docs.aws.amazon.com/AWSCloudForm ... olicy.html

http://docs.aws.amazon.com/AWSCloudForm ... adata.html

http://docs.aws.amazon.com/AWSCloudForm ... ndson.html

http://docs.aws.amazon.com/AWSCloudForm ... e-ref.html

http://docs.aws.amazon.com/search/doc-s ... R::Cluster