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)

47 lines (46 loc) 1.68 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 function getEncryptionConfiguration(args: GetEncryptionConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetEncryptionConfigurationResult>; export interface GetEncryptionConfigurationArgs { /** * The unique identifier (ID) of an AWS account. */ accountId: string; } export interface GetEncryptionConfigurationResult { /** * The unique identifier (ID) of an AWS account. */ readonly accountId?: string; readonly configurationDetails?: outputs.iot.ConfigurationDetailsProperties; /** * The type of the KMS key. */ readonly encryptionType?: 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?: string; /** * The ARN of the customer managed KMS key. */ readonly kmsKeyArn?: string; /** * The date when encryption configuration is last updated. */ readonly lastModifiedDate?: string; } /** * Resource Type definition for AWS::IoT::EncryptionConfiguration */ export declare function getEncryptionConfigurationOutput(args: GetEncryptionConfigurationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEncryptionConfigurationResult>; export interface GetEncryptionConfigurationOutputArgs { /** * The unique identifier (ID) of an AWS account. */ accountId: pulumi.Input<string>; }