NetworkInterfaceAttachmentEc2 constructor

NetworkInterfaceAttachmentEc2(
  1. String name, {
  2. NetworkInterfaceAttachmentArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new NetworkInterfaceAttachmentEc2. name The Pulumi resource name. args Arguments used to configure this NetworkInterfaceAttachmentEc2. The set of arguments for NetworkInterfaceAttachment. options Resource options controlling this resource's behavior.

Implementation

NetworkInterfaceAttachmentEc2(
  String name, {
  NetworkInterfaceAttachmentArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:ec2/networkInterfaceAttachment:NetworkInterfaceAttachment',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  attachmentId = registerOutput<String>('attachmentId');
  deviceIndex = registerOutput<int>('deviceIndex');
  instanceId = registerOutput<String>('instanceId');
  networkCardIndex = registerOutput<int>('networkCardIndex');
  networkInterfaceId = registerOutput<String>('networkInterfaceId');
  region = registerOutput<String>('region');
  status = registerOutput<String>('status');
}