AWS Native is in preview. AWS Classic is fully supported.
aws-native.iam.VirtualMfaDevice
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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
- List<Pulumi.
Aws Native. Inputs. Tag> - Virtual
Mfa stringDevice Name
- Users []string
- Path string
- Tag
Args - Virtual
Mfa stringDevice Name
- users List<String>
- path String
- List<Tag>
- virtual
Mfa StringDevice Name
- users string[]
- path string
- Tag[]
- virtual
Mfa stringDevice Name
- users Sequence[str]
- path str
- Sequence[Tag
Args] - virtual_
mfa_ strdevice_ name
- users List<String>
- path String
- List<Property Map>
- virtual
Mfa StringDevice Name
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.
- Serial
Number string
- Id string
- The provider-assigned unique ID for this managed resource.
- Serial
Number string
- id String
- The provider-assigned unique ID for this managed resource.
- serial
Number String
- id string
- The provider-assigned unique ID for this managed resource.
- serial
Number 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.
- serial
Number String
Supporting Types
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.