Skip to contents

Enable Amazon EC2 instances running in an SQL Server High Availability cluster for SQL Server High Availability instance standby detection monitoring. Once enabled, Amazon Web Services monitors the metadata for the instances to determine whether they are active or standby nodes in the SQL Server High Availability cluster. If the instances are determined to be standby failover nodes, Amazon Web Services automatically applies SQL Server licensing fee waiver for those instances.

See https://www.paws-r-sdk.com/docs/ec2_enable_instance_sql_ha_standby_detections/ for full documentation.

Usage

ec2_enable_instance_sql_ha_standby_detections(
  InstanceIds,
  SqlServerCredentials = NULL,
  DryRun = NULL
)

Arguments

InstanceIds

[required] The IDs of the instances to enable for SQL Server High Availability standby detection monitoring.

SqlServerCredentials

The ARN of the Secrets Manager secret containing the SQL Server access credentials. The specified secret must contain valid SQL Server credentials for the specified instances. If not specified, deafult local user credentials will be used by the Amazon Web Services Systems Manager agent. To enable instances with different credentials, you must make separate requests.

DryRun

Checks whether you have the required permissions for the action, 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.