aws-native logo
AWS Native v0.49.0, Jan 26 23

aws-native.iam.getVirtualMFADevice

Resource Type definition for AWS::IAM::VirtualMFADevice

Using getVirtualMFADevice

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getVirtualMFADevice(args: GetVirtualMFADeviceArgs, opts?: InvokeOptions): Promise<GetVirtualMFADeviceResult>
function getVirtualMFADeviceOutput(args: GetVirtualMFADeviceOutputArgs, opts?: InvokeOptions): Output<GetVirtualMFADeviceResult>
def get_virtual_mfa_device(serial_number: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetVirtualMFADeviceResult
def get_virtual_mfa_device_output(serial_number: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetVirtualMFADeviceResult]
func LookupVirtualMFADevice(ctx *Context, args *LookupVirtualMFADeviceArgs, opts ...InvokeOption) (*LookupVirtualMFADeviceResult, error)
func LookupVirtualMFADeviceOutput(ctx *Context, args *LookupVirtualMFADeviceOutputArgs, opts ...InvokeOption) LookupVirtualMFADeviceResultOutput

> Note: This function is named LookupVirtualMFADevice in the Go SDK.

public static class GetVirtualMFADevice 
{
    public static Task<GetVirtualMFADeviceResult> InvokeAsync(GetVirtualMFADeviceArgs args, InvokeOptions? opts = null)
    public static Output<GetVirtualMFADeviceResult> Invoke(GetVirtualMFADeviceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVirtualMFADeviceResult> getVirtualMFADevice(GetVirtualMFADeviceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws-native:iam:getVirtualMFADevice
  arguments:
    # arguments dictionary

The following arguments are supported:

getVirtualMFADevice Result

The following output properties are available:

Supporting Types

VirtualMFADeviceTag

Key string

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Key string

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key String

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value String

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key string

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value string

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key str

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value str

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key String

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value String

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0