CfnSqlHaStandbyDetectedInstanceMixinProps
- class aws_cdk.cfn_property_mixins.aws_ec2.CfnSqlHaStandbyDetectedInstanceMixinProps(*, instance_id=None, sql_server_credentials=None)
Bases:
objectProperties for CfnSqlHaStandbyDetectedInstancePropsMixin.
- Parameters:
instance_id (
Optional[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.cfn_property_mixins import aws_ec2 as ec2 cfn_sql_ha_standby_detected_instance_mixin_props = ec2.CfnSqlHaStandbyDetectedInstanceMixinProps( instance_id="instanceId", 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.