@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)
39 lines (38 loc) • 1.71 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Resource Type definition for AWS::IAM::VirtualMFADevice
*/
export declare function getVirtualMfaDevice(args: GetVirtualMfaDeviceArgs, opts?: pulumi.InvokeOptions): Promise<GetVirtualMfaDeviceResult>;
export interface GetVirtualMfaDeviceArgs {
/**
* Returns the serial number for the specified `AWS::IAM::VirtualMFADevice` resource.
*/
serialNumber: string;
}
export interface GetVirtualMfaDeviceResult {
/**
* Returns the serial number for the specified `AWS::IAM::VirtualMFADevice` resource.
*/
readonly serialNumber?: string;
/**
* A list of tags that you want to attach to the new IAM virtual MFA device. Each tag consists of a key name and an associated value. For more information about tagging, see [Tagging IAM resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the *IAM User Guide* .
*
* > If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.
*/
readonly tags?: outputs.Tag[];
/**
* The IAM user associated with this virtual MFA device.
*/
readonly users?: string[];
}
/**
* Resource Type definition for AWS::IAM::VirtualMFADevice
*/
export declare function getVirtualMfaDeviceOutput(args: GetVirtualMfaDeviceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVirtualMfaDeviceResult>;
export interface GetVirtualMfaDeviceOutputArgs {
/**
* Returns the serial number for the specified `AWS::IAM::VirtualMFADevice` resource.
*/
serialNumber: pulumi.Input<string>;
}