CfnSqlHaStandbyDetectedInstanceProps
- class aws_cdk.aws_ec2.CfnSqlHaStandbyDetectedInstanceProps(*, instance_id, sql_server_credentials=None)
Bases:
objectProperties for defining a
CfnSqlHaStandbyDetectedInstance.- Parameters:
instance_id (
str) – The ID of the EC2 instance to enable for SQL Server high availability standby detection.sql_server_credentials (
Optional[str]) – 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.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_ec2 as ec2 cfn_sql_ha_standby_detected_instance_props = ec2.CfnSqlHaStandbyDetectedInstanceProps( instance_id="instanceId", # the properties below are optional sql_server_credentials="sqlServerCredentials" )
Attributes
- instance_id
The ID of the EC2 instance to enable for SQL Server high availability standby detection.
- sql_server_credentials
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.