interface CfnSqlHaStandbyDetectedInstanceProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.CfnSqlHaStandbyDetectedInstanceProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnSqlHaStandbyDetectedInstanceProps |
Java | software.amazon.awscdk.services.ec2.CfnSqlHaStandbyDetectedInstanceProps |
Python | aws_cdk.aws_ec2.CfnSqlHaStandbyDetectedInstanceProps |
TypeScript | aws-cdk-lib » aws_ec2 » CfnSqlHaStandbyDetectedInstanceProps |
Properties for defining a CfnSqlHaStandbyDetectedInstance.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnSqlHaStandbyDetectedInstanceProps: ec2.CfnSqlHaStandbyDetectedInstanceProps = {
instanceId: 'instanceId',
// the properties below are optional
sqlServerCredentials: 'sqlServerCredentials',
};
Properties
| Name | Type | Description |
|---|---|---|
| instance | string | The ID of the EC2 instance to enable for SQL Server high availability standby detection. |
| sql | string | The ARN of the AWS Secrets Manager secret containing SQL Server access credentials to the EC2 instance. |
instanceId
Type:
string
The ID of the EC2 instance to enable for SQL Server high availability standby detection.
sqlServerCredentials?
Type:
string
(optional)
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.

.NET
Go
Java
Python
TypeScript