1. Packages
  2. AWS Native
  3. API Docs
  4. iam
  5. VirtualMfaDevice

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.101.0 published on Thursday, Apr 11, 2024 by Pulumi

aws-native.iam.VirtualMfaDevice

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.101.0 published on Thursday, Apr 11, 2024 by Pulumi

    Resource Type definition for AWS::IAM::VirtualMFADevice

    Create VirtualMfaDevice Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new VirtualMfaDevice(name: string, args: VirtualMfaDeviceArgs, opts?: CustomResourceOptions);
    @overload
    def VirtualMfaDevice(resource_name: str,
                         args: VirtualMfaDeviceArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def VirtualMfaDevice(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         users: Optional[Sequence[str]] = None,
                         path: Optional[str] = None,
                         tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
                         virtual_mfa_device_name: Optional[str] = None)
    func NewVirtualMfaDevice(ctx *Context, name string, args VirtualMfaDeviceArgs, opts ...ResourceOption) (*VirtualMfaDevice, error)
    public VirtualMfaDevice(string name, VirtualMfaDeviceArgs args, CustomResourceOptions? opts = null)
    public VirtualMfaDevice(String name, VirtualMfaDeviceArgs args)
    public VirtualMfaDevice(String name, VirtualMfaDeviceArgs args, CustomResourceOptions options)
    
    type: aws-native:iam:VirtualMfaDevice
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args VirtualMfaDeviceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args VirtualMfaDeviceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args VirtualMfaDeviceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VirtualMfaDeviceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VirtualMfaDeviceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const virtualMfaDeviceResource = new aws_native.iam.VirtualMfaDevice("virtualMfaDeviceResource", {
        users: ["string"],
        path: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
        virtualMfaDeviceName: "string",
    });
    
    Coming soon!
    

    VirtualMfaDevice Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The VirtualMfaDevice resource accepts the following input properties:

    users List<String>
    path String
    tags List<Tag>
    virtualMfaDeviceName String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VirtualMfaDevice resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    SerialNumber string
    Id string
    The provider-assigned unique ID for this managed resource.
    SerialNumber string
    id String
    The provider-assigned unique ID for this managed resource.
    serialNumber String
    id string
    The provider-assigned unique ID for this managed resource.
    serialNumber string
    id str
    The provider-assigned unique ID for this managed resource.
    serial_number str
    id String
    The provider-assigned unique ID for this managed resource.
    serialNumber String

    Supporting Types

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.101.0 published on Thursday, Apr 11, 2024 by Pulumi