DBInstance is the Schema for the DBInstances API
Type
CRD
Group
rds.aws.crossplane.io
Version
v1alpha1
apiVersion: rds.aws.crossplane.io/v1alpha1
kind: DBInstance
DBInstanceSpec defines the desired state of DBInstance
DBInstanceParameters defines the desired state of DBInstance
DBClusterIdentifierRef is a reference to a DBCluster used to set DBClusterIdentifier.
Policies for referencing.
DBClusterIdentifierSelector selects a reference to a DBCluster used to set DBClusterIdentifier.
Policies for selection.
DBParameterGroupNameRef is a reference to a DBParameterGroup used to set DBParameterGroupName.
Policies for referencing.
DBParameterGroupNameSelector selects a reference to a DBParameterGroup used to set DBParameterGroupName.
Policies for selection.
A list of database security groups to associate with this DB instance
DBSubnetGroupNameRef is a reference to a DBSubnetGroup used to set DBSubnetGroupName.
Policies for referencing.
DBSubnetGroupNameSelector selects a reference to a DBSubnetGroup used to set DBSubnetGroupName.
Policies for selection.
DomainIAMRoleNameRef is a reference to an IAMRole used to set DomainIAMRoleName.
Policies for referencing.
DomainIAMRoleNameSelector selects a reference to an IAMRole used to set DomainIAMRoleName.
Policies for selection.
The list of log types that need to be enabled for exporting to CloudWatch Logs. The values in the list depend on the DB engine. For more information, see Publishing Database Logs to Amazon CloudWatch Logs (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) in the Amazon Relational Database Service User Guide. Amazon Aurora Not applicable. CloudWatch Logs exports are managed by the DB cluster. RDS Custom Not applicable. MariaDB Possible values are audit, error, general, and slowquery. Microsoft SQL Server Possible values are agent and error. MySQL Possible values are audit, error, general, and slowquery. Oracle Possible values are alert, audit, listener, trace, and oemagent. PostgreSQL Possible values are postgresql and upgrade.
KMSKeyIDRef is a reference to a KMS Key used to set KMSKeyID.
Policies for referencing.
KMSKeyIDSelector selects a reference to a KMS Key used to set KMSKeyID.
Policies for selection.
MonitoringRoleARNRef is a reference to an IAMRole used to set MonitoringRoleARN.
Policies for referencing.
MonitoringRoleARNSelector selects a reference to an IAMRole used to set MonitoringRoleARN.
Policies for selection.
VPCSecurityGroupIDRefs are references to VPCSecurityGroups used to set the VPCSecurityGroupIDs.
Policies for referencing.
VPCSecurityGroupIDSelector selects references to VPCSecurityGroups used to set the VPCSecurityGroupIDs.
Policies for selection.
A list of EC2 VPC security groups to associate with this DB instance.
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
DBInstanceStatus defines the observed state of DBInstance.
DBInstanceObservation defines the observed state of DBInstance
The Amazon Web Services Identity and Access Management (IAM) roles associated with the DB instance.
The list of replicated automated backups associated with the DB instance.
Provides the list of DB parameter groups applied to this DB instance.
A list of DB security group elements containing DBSecurityGroup.Name and DBSecurityGroup.Status subelements.
Specifies information on the subnet group associated with the DB instance, including the name, description, and subnets in the subnet group.
No description provided.
Contains Availability Zone information. This data type is used as an element in the OrderableDBInstanceOption data type.
A data type that represents an Outpost. For more information about RDS on Outposts, see Amazon RDS on Amazon Web Services Outposts (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) in the Amazon RDS User Guide.
The Active Directory Domain membership records associated with the DB instance.
A list of log types that this DB instance is configured to export to CloudWatch Logs. Log types vary by DB engine. For information about the log types for each DB engine, see Amazon RDS Database Log Files (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html) in the Amazon RDS User Guide.
Specifies the connection endpoint. The endpoint might not be shown for instances whose status is creating.
Specifies the listener connection endpoint for SQL Server Always On.
Provides the list of option group memberships for this DB instance.
A value that specifies that changes to the DB instance are pending. This element is only included when changes are pending. Specific changes are identified by subelements.
A list of the log types whose configuration is still pending. In other words, these log types are in the process of being activated or deactivated.
No description provided.
No description provided.
Contains one or more identifiers of Aurora DB clusters to which the RDS DB instance is replicated as a read replica. For example, when you create an Aurora read replica of an RDS MySQL DB instance, the Aurora MySQL DB cluster for the Aurora read replica is shown. This output does not contain information about cross region Aurora read replicas. Currently, each RDS DB instance can have only one Aurora read replica.
Contains one or more identifiers of the read replicas associated with this DB instance.
The status of a read replica. If the instance isn't a read replica, this is blank.
Provides a list of VPC security group elements that the DB instance belongs to.
Conditions of the resource.
example-aurora-mysql-instance
apiVersion: rds.aws.crossplane.io/v1alpha1
kind: DBInstance
metadata:
name: example-aurora-mysql-instance
spec:
forProvider:
dbClusterIdentifier: example-aurora-mysql-cluster
dbInstanceClass: db.t3.small
engine: aurora-mysql
region: us-east-1
providerConfigRef:
name: example
writeConnectionSecretToRef:
name: example-aurora-mysql-instance
namespace: default
example-dbinstance
apiVersion: rds.aws.crossplane.io/v1alpha1
kind: DBInstance
metadata:
name: example-dbinstance
spec:
forProvider:
allocatedStorage: 20
applyImmediately: true
autoMinorVersionUpgrade: true
autogeneratePassword: true
backupRetentionPeriod: 14
dbInstanceClass: db.t2.micro
dbName: example
dbParameterGroupName: example-dbparametergroup
engine: postgres
engineVersion: "12.9"
masterUserPasswordSecretRef:
key: password
name: example-dbinstance
namespace: crossplane-system
masterUsername: adminuser
preferredBackupWindow: 7:00-8:00
preferredMaintenanceWindow: Sat:8:00-Sat:11:00
publiclyAccessible: false
region: us-east-1
skipFinalSnapshot: true
storageEncrypted: false
storageType: gp2
providerConfigRef:
name: example
writeConnectionSecretToRef:
name: example-dbinstance-out
namespace: default