We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Resource Type definition for AWS::EC2::SqlHaStandbyDetectedInstance
Create SqlHaStandbyDetectedInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SqlHaStandbyDetectedInstance(name: string, args: SqlHaStandbyDetectedInstanceArgs, opts?: CustomResourceOptions);@overload
def SqlHaStandbyDetectedInstance(resource_name: str,
args: SqlHaStandbyDetectedInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SqlHaStandbyDetectedInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[str] = None,
sql_server_credentials: Optional[str] = None)func NewSqlHaStandbyDetectedInstance(ctx *Context, name string, args SqlHaStandbyDetectedInstanceArgs, opts ...ResourceOption) (*SqlHaStandbyDetectedInstance, error)public SqlHaStandbyDetectedInstance(string name, SqlHaStandbyDetectedInstanceArgs args, CustomResourceOptions? opts = null)
public SqlHaStandbyDetectedInstance(String name, SqlHaStandbyDetectedInstanceArgs args)
public SqlHaStandbyDetectedInstance(String name, SqlHaStandbyDetectedInstanceArgs args, CustomResourceOptions options)
type: aws-native:ec2:SqlHaStandbyDetectedInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_ec2_sql_ha_standby_detected_instance" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SqlHaStandbyDetectedInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SqlHaStandbyDetectedInstanceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SqlHaStandbyDetectedInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SqlHaStandbyDetectedInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SqlHaStandbyDetectedInstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
SqlHaStandbyDetectedInstance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SqlHaStandbyDetectedInstance resource accepts the following input properties:
- Instance
Id string - Sql
Server stringCredentials
- Instance
Id string - Sql
Server stringCredentials
- instance_
id string - sql_
server_ stringcredentials
- instance
Id String - sql
Server StringCredentials
- instance
Id string - sql
Server stringCredentials
- instance
Id String - sql
Server StringCredentials
Outputs
All input properties are implicitly available as output properties. Additionally, the SqlHaStandbyDetectedInstance resource produces the following output properties:
- Ha
Status Pulumi.Aws Native. Ec2. Sql Ha Standby Detected Instance Ha Status - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringTime - Sql
Server Pulumi.License Usage Aws Native. Ec2. Sql Ha Standby Detected Instance Sql Server License Usage
- Ha
Status SqlHa Standby Detected Instance Ha Status - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringTime - Sql
Server SqlLicense Usage Ha Standby Detected Instance Sql Server License Usage
- ha_
status "processing" | "active" | "standby" | "invalid" - id string
- The provider-assigned unique ID for this managed resource.
- last_
updated_ stringtime - sql_
server_ "full" | "waived"license_ usage
- ha
Status SqlHa Standby Detected Instance Ha Status - id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringTime - sql
Server SqlLicense Usage Ha Standby Detected Instance Sql Server License Usage
- ha
Status SqlHa Standby Detected Instance Ha Status - id string
- The provider-assigned unique ID for this managed resource.
- last
Updated stringTime - sql
Server SqlLicense Usage Ha Standby Detected Instance Sql Server License Usage
- ha_
status SqlHa Standby Detected Instance Ha Status - id str
- The provider-assigned unique ID for this managed resource.
- last_
updated_ strtime - sql_
server_ Sqllicense_ usage Ha Standby Detected Instance Sql Server License Usage
- ha
Status "processing" | "active" | "standby" | "invalid" - id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringTime - sql
Server "full" | "waived"License Usage
Look up Existing SqlHaStandbyDetectedInstance Resource
Get an existing SqlHaStandbyDetectedInstance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): SqlHaStandbyDetectedInstance@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> SqlHaStandbyDetectedInstancefunc GetSqlHaStandbyDetectedInstance(ctx *Context, name string, id IDInput, state *SqlHaStandbyDetectedInstanceState, opts ...ResourceOption) (*SqlHaStandbyDetectedInstance, error)public static SqlHaStandbyDetectedInstance Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static SqlHaStandbyDetectedInstance get(String name, Output<String> id, CustomResourceOptions options)resources: existingSqlHaStandbyDetectedInstance: type: aws-native:ec2:SqlHaStandbyDetectedInstance get: id: ${id}import {
to = aws-native_ec2_sql_ha_standby_detected_instance.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state SqlHaStandbyDetectedInstanceState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
SqlHaStandbyDetectedInstanceHaStatus
The SQL Server high availability status of the EC2 instance.
| Name | Value |
|---|---|
| Processing | processing |
| Active | active |
| Standby | standby |
| Invalid | invalid |
| Name | Value |
|---|---|
| Sql | processing |
| Sql | active |
| Sql | standby |
| Sql | invalid |
| Value |
|---|
processing |
active |
standby |
invalid |
| Name | Value |
|---|---|
| Processing | processing |
| Active | active |
| Standby | standby |
| Invalid | invalid |
| Name | Value |
|---|---|
| Processing | processing |
| Active | active |
| Standby | standby |
| Invalid | invalid |
| Name | Value |
|---|---|
| PROCESSING | processing |
| ACTIVE | active |
| STANDBY | standby |
| INVALID | invalid |
| Value |
|---|
processing |
active |
standby |
invalid |
SqlHaStandbyDetectedInstanceSqlServerLicenseUsage
The SQL Server license type of the EC2 instance.
| Name | Value |
|---|---|
| Full | full |
| Waived | waived |
| Name | Value |
|---|---|
| Sql | full |
| Sql | waived |
| Value |
|---|
full |
waived |
| Name | Value |
|---|---|
| Full | full |
| Waived | waived |
| Name | Value |
|---|---|
| Full | full |
| Waived | waived |
| Name | Value |
|---|---|
| FULL | full |
| WAIVED | waived |
| Value |
|---|
full |
waived |
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi