AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::EC2::SqlHaStandbyDetectedInstance

CfnSqlHaStandbyDetectedInstance

Resource Type definition for AWS::EC2::SqlHaStandbyDetectedInstance.

Import

import { CfnSqlHaStandbyDetectedInstance } from 'aws-cdk-lib/aws-ec2';

Or use the module namespace:

import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnSqlHaStandbyDetectedInstance

Properties

Configuration passed to the constructor as CfnSqlHaStandbyDetectedInstanceProps.

instanceIdRequired
string

The ID of the EC2 instance to enable for SQL Server high availability standby detection.

sqlServerCredentialsOptional
string

The ARN of the AWS Secrets Manager secret containing SQL Server access credentials to the EC2 instance. If not specified, AWS Systems Manager agent will use default local user credentials.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the Amazon EC2 Cheat Sheet

Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.

Download Free Infographic