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
}
}
",
});
}
}
Inherited Members
Namespace: Pulumi.Aws.Emr
Assembly: Pulumi.Aws.dll
Syntax
public class SecurityConfiguration : CustomResource
Constructors
View SourceSecurityConfiguration(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 SourceConfiguration
A JSON formatted Security Configuration
Declaration
public Output<string> Configuration { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
CreationDate
Date the Security Configuration was created
Declaration
public Output<string> CreationDate { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
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 SourceGet(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 |