github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/aws/r/emr_security_configuration.html.markdown (about) 1 --- 2 layout: "aws" 3 page_title: "AWS: aws_emr_security_configuraiton" 4 sidebar_current: "docs-aws-resource-emr-security-configuration" 5 description: |- 6 Provides a resource to manage AWS EMR Security Configurations 7 --- 8 9 # aws\_emr\_security\_configuration 10 11 Provides a resource to manage AWS EMR Security Configurations 12 13 ## Example Usage 14 15 ```hcl 16 resource "aws_emr_security_configuration" "foo" { 17 name = "emrsc_other" 18 19 configuration = <<EOF 20 { 21 "EncryptionConfiguration": { 22 "AtRestEncryptionConfiguration": { 23 "S3EncryptionConfiguration": { 24 "EncryptionMode": "SSE-S3" 25 }, 26 "LocalDiskEncryptionConfiguration": { 27 "EncryptionKeyProviderType": "AwsKms", 28 "AwsKmsKey": "arn:aws:kms:us-west-2:187416307283:alias/tf_emr_test_key" 29 } 30 }, 31 "EnableInTransitEncryption": false, 32 "EnableAtRestEncryption": true 33 } 34 } 35 EOF 36 } 37 ``` 38 39 ## Argument Reference 40 41 The following arguments are supported: 42 43 * `name` - (Optional) The name of the EMR Security Configuration. By default generated by Terraform. 44 * `name_prefix` - (Optional) Creates a unique name beginning with the specified 45 prefix. Conflicts with `name`. 46 * `configuration` - (Required) A JSON formatted Security Configuration 47 48 ## Attributes Reference 49 50 The following attributes are exported: 51 52 * `id` - The ID of the EMR Security Configuration (Same as the `name`) 53 * `name` - The Name of the EMR Security Configuration 54 * `configuration` - The JSON formatted Security Configuration 55 * `creation_date` - Date the Security Configuration was created 56 57 ## Import 58 59 EMR Security Configurations can be imported using the `name`, e.g. 60 61 ``` 62 $ terraform import aws_emr_security_configuraiton.sc example-sc-name 63 ```