Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS::EMR::SecurityConfiguration

The AWS::EMR::SecurityConfiguration resource creates a security configuration that is stored in the Amazon EMR web service. You can specify the security configuration when creating a cluster. For more information, see Configure Security Groups in the Amazon EMR Management Guide.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

Copy
{ "Type" : "AWS::EMR::SecurityConfiguration", "Properties" : { "Name" : String, "SecurityConfiguration" : String } }

YAML

Copy
Type: "AWS::EMR::SecurityConfiguration" Properties: Name: String SecurityConfiguration: String

Properties

For more information about each property, including constraints and valid values, see CreateSecurityConfiguration in the Amazon EMR API Reference.

Name

The name of the security configuration.

Required: No

Type: String

Update requires: Replacement

SecurityConfiguration

The security configuration details in JSON format.

Required: Yes

Type: String

Update requires: Replacement

Return Values

Ref

When the logical ID of this resource is provided to the Ref intrinsic function, Ref returns the cluster ID, such as j-1ABCD123AB1A.

For more information about using the Ref function, see Ref.

Example

The following example creates a simple security configuration.

JSON

Copy
{ "AWSTemplateFormatVersion": "2010-09-09", "Resources": { "securityConfiguration": { "Type": "AWS::EMR::SecurityConfiguration", "Properties": { "SecurityConfiguration": { "EncryptionConfiguration": { "EnableInTransitEncryption": false, "EnableAtRestEncryption": false } } } } } }

YAML

Copy
AWSTemplateFormatVersion: 2010-09-09 Resources: securityConfiguration: Type: 'AWS::EMR::SecurityConfiguration' Properties: SecurityConfiguration: EncryptionConfiguration: EnableInTransitEncryption: false EnableAtRestEncryption: false