@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
134 lines (133 loc) • 4.94 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides a resource to manage AWS EMR Security Configurations
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const foo = new aws.emr.SecurityConfiguration("foo", {
* name: "emrsc_other",
* configuration: `{
* \\"EncryptionConfiguration\\": {
* \\"AtRestEncryptionConfiguration\\": {
* \\"S3EncryptionConfiguration\\": {
* \\"EncryptionMode\\": \\"SSE-S3\\"
* },
* \\"LocalDiskEncryptionConfiguration\\": {
* \\"EncryptionKeyProviderType\\": \\"AwsKms\\",
* \\"AwsKmsKey\\": \\"arn:aws:kms:us-west-2:187416307283:alias/my_emr_test_key\\"
* }
* },
* \\"EnableInTransitEncryption\\": false,
* \\"EnableAtRestEncryption\\": true
* }
* }
* `,
* });
* ```
*
* ## Import
*
* Using `pulumi import`, import EMR Security Configurations using the `name`. For example:
*
* ```sh
* $ pulumi import aws:emr/securityConfiguration:SecurityConfiguration sc example-sc-name
* ```
*/
export declare class SecurityConfiguration extends pulumi.CustomResource {
/**
* Get an existing SecurityConfiguration resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecurityConfigurationState, opts?: pulumi.CustomResourceOptions): SecurityConfiguration;
/**
* Returns true if the given object is an instance of SecurityConfiguration. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is SecurityConfiguration;
/**
* A JSON formatted Security Configuration
*/
readonly configuration: pulumi.Output<string>;
/**
* Date the Security Configuration was created
*/
readonly creationDate: pulumi.Output<string>;
/**
* The name of the EMR Security Configuration. By default generated by this provider.
*/
readonly name: pulumi.Output<string>;
/**
* Creates a unique name beginning with the specified
* prefix. Conflicts with `name`.
*/
readonly namePrefix: pulumi.Output<string>;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
readonly region: pulumi.Output<string>;
/**
* Create a SecurityConfiguration resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: SecurityConfigurationArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering SecurityConfiguration resources.
*/
export interface SecurityConfigurationState {
/**
* A JSON formatted Security Configuration
*/
configuration?: pulumi.Input<string>;
/**
* Date the Security Configuration was created
*/
creationDate?: pulumi.Input<string>;
/**
* The name of the EMR Security Configuration. By default generated by this provider.
*/
name?: pulumi.Input<string>;
/**
* Creates a unique name beginning with the specified
* prefix. Conflicts with `name`.
*/
namePrefix?: pulumi.Input<string>;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a SecurityConfiguration resource.
*/
export interface SecurityConfigurationArgs {
/**
* A JSON formatted Security Configuration
*/
configuration: pulumi.Input<string>;
/**
* The name of the EMR Security Configuration. By default generated by this provider.
*/
name?: pulumi.Input<string>;
/**
* Creates a unique name beginning with the specified
* prefix. Conflicts with `name`.
*/
namePrefix?: pulumi.Input<string>;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: pulumi.Input<string>;
}