Show / Hide Table of Contents

Class SecurityConfiguration

Provides a resource to manage AWS EMR Security Configurations

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var foo = new Aws.Emr.SecurityConfiguration("foo", new Aws.Emr.SecurityConfigurationArgs
    {
        Configuration = @"{
""EncryptionConfiguration"": {
""AtRestEncryptionConfiguration"": {
  ""S3EncryptionConfiguration"": {
    ""EncryptionMode"": ""SSE-S3""
  },
  ""LocalDiskEncryptionConfiguration"": {
    ""EncryptionKeyProviderType"": ""AwsKms"",
    ""AwsKmsKey"": ""arn:aws:kms:us-west-2:187416307283:alias/tf_emr_test_key""
  }
},
""EnableInTransitEncryption"": false,
""EnableAtRestEncryption"": true
}
}

",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
SecurityConfiguration
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Emr
Assembly: Pulumi.Aws.dll
Syntax
public class SecurityConfiguration : CustomResource

Constructors

View Source

SecurityConfiguration(String, SecurityConfigurationArgs, CustomResourceOptions)

Create a SecurityConfiguration resource with the given unique name, arguments, and options.

Declaration
public SecurityConfiguration(string name, SecurityConfigurationArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

SecurityConfigurationArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Configuration

A JSON formatted Security Configuration

Declaration
public Output<string> Configuration { get; }
Property Value
Type Description
Output<System.String>
View Source

CreationDate

Date the Security Configuration was created

Declaration
public Output<string> CreationDate { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

The name of the EMR Security Configuration. By default generated by this provider.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

NamePrefix

Creates a unique name beginning with the specified prefix. Conflicts with name.

Declaration
public Output<string> NamePrefix { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, SecurityConfigurationState, CustomResourceOptions)

Get an existing SecurityConfiguration resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static SecurityConfiguration Get(string name, Input<string> id, SecurityConfigurationState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

SecurityConfigurationState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
SecurityConfiguration
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.