UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

69 lines (68 loc) 2.87 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Resource Type definition for AWS::IoT::EncryptionConfiguration */ export declare class EncryptionConfiguration extends pulumi.CustomResource { /** * Get an existing EncryptionConfiguration 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): EncryptionConfiguration; /** * Returns true if the given object is an instance of EncryptionConfiguration. 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 EncryptionConfiguration; /** * The unique identifier (ID) of an AWS account. */ readonly accountId: pulumi.Output<string>; readonly configurationDetails: pulumi.Output<outputs.iot.ConfigurationDetailsProperties>; /** * The type of the KMS key. */ readonly encryptionType: pulumi.Output<enums.iot.EncryptionConfigurationEncryptionType>; /** * The Amazon Resource Name (ARN) of the IAM role assumed by AWS IoT Core to call AWS on behalf of the customer. */ readonly kmsAccessRoleArn: pulumi.Output<string | undefined>; /** * The ARN of the customer managed KMS key. */ readonly kmsKeyArn: pulumi.Output<string | undefined>; /** * The date when encryption configuration is last updated. */ readonly lastModifiedDate: pulumi.Output<string>; /** * Create a EncryptionConfiguration 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: EncryptionConfigurationArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a EncryptionConfiguration resource. */ export interface EncryptionConfigurationArgs { /** * The type of the KMS key. */ encryptionType: pulumi.Input<enums.iot.EncryptionConfigurationEncryptionType>; /** * The Amazon Resource Name (ARN) of the IAM role assumed by AWS IoT Core to call AWS on behalf of the customer. */ kmsAccessRoleArn?: pulumi.Input<string>; /** * The ARN of the customer managed KMS key. */ kmsKeyArn?: pulumi.Input<string>; }