Skip to content

Change the configuration of the network performance options for an existing instance

Description

Change the configuration of the network performance options for an existing instance.

Usage

ec2_modify_instance_network_performance_options(InstanceId,
  BandwidthWeighting, DryRun)

Arguments

  • InstanceId

    [required] The ID of the instance to update.

  • BandwidthWeighting

    [required] Specify the bandwidth weighting option to boost the associated type of baseline bandwidth, as follows:

    default

    This option uses the standard bandwidth configuration for your instance type.

    vpc-1

    This option boosts your networking baseline bandwidth and reduces your EBS baseline bandwidth.

    ebs-1

    This option boosts your EBS baseline bandwidth and reduces your networking baseline bandwidth.

  • DryRun

    Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Value

A list with the following syntax:

list(
  InstanceId = "string",
  BandwidthWeighting = "default"|"vpc-1"|"ebs-1"
)

Request syntax

svc$modify_instance_network_performance_options(
  InstanceId = "string",
  BandwidthWeighting = "default"|"vpc-1"|"ebs-1",
  DryRun = TRUE|FALSE
)