DBCluster is the Schema for the DBClusters API
Type
CRD
Group
docdb.aws.crossplane.io
Version
v1alpha1
apiVersion: docdb.aws.crossplane.io/v1alpha1
kind: DBCluster
DBClusterSpec defines the desired state of DBCluster
DBClusterParameters defines the desired state of DBCluster
A list of Amazon EC2 Availability Zones that instances in the cluster can be created in.
A Reference to a named object.
Policies for referencing.
A Selector selects an object.
Policies for selection.
A Reference to a named object.
Policies for referencing.
A Selector selects an object.
Policies for selection.
A list of log types that need to be enabled for exporting to Amazon CloudWatch Logs. You can enable audit logs or profiler logs. For more information, see Auditing Amazon DocumentDB Events (https://docs.aws.amazon.com/documentdb/latest/developerguide/event-auditing.html) and Profiling Amazon DocumentDB Operations (https://docs.aws.amazon.com/documentdb/latest/developerguide/profiling.html).
TODO(haarchri): when resource is bumped to beta we will convert this field to kmsKeyIdRef
Policies for referencing.
TODO(haarchri): when resource is bumped to beta we will convert this field to kmsKeyIdSelector
Policies for selection.
MasterUserPasswordSecretRef references the secret that contains the password for the master database user. This password can contain any printable ASCII character except forward slash (/), double quote ("), or the "at" symbol (@).
Constraints: Must contain from 8 to 100 characters.
RestoreFrom specifies the details of the backup to restore when creating a new DBCluster.
PointInTime specifies the details of the point in time restore.
Snapshot specifies the details of the snapshot to restore from.
A list of EC2 VPC security groups to associate with this cluster.
TODO(haarchri): when resource is bumped to beta we will convert this field to vpcSecurityGroupIdRefs
Policies for referencing.
TODO(haarchri): when resource is bumped to beta we will convert this field to vpcSecurityGroupIdSelector
Policies for selection.
THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
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.
DBClusterStatus defines the observed state of DBCluster.
DBClusterObservation defines the observed state of DBCluster
Provides the list of instances that make up the cluster.
A list of log types that this cluster is configured to export to Amazon CloudWatch Logs.
Contains one or more identifiers of the secondary clusters that are associated with this cluster.
Provides a list of virtual private cloud (VPC) security groups that the cluster belongs to.
Conditions of the resource.
example-cluster-autogen-password
apiVersion: docdb.aws.crossplane.io/v1alpha1
kind: DBCluster
metadata:
name: example-cluster-autogen-password
spec:
forProvider:
autogeneratePassword: true
availabilityZones:
- us-east-1b
- us-east-1c
dbClusterParameterGroupName: example-parameter-group
dbSubnetGroupName: example-subnet-group
engine: docdb
masterUserPasswordSecretRef:
key: password
name: my-docdb-creds
namespace: crossplane-system
masterUsername: master
region: us-east-1
skipFinalSnapshot: true
tags:
- key: cluster
value: my-cluster
vpcSecurityGroupIDsRefs:
- name: sample-cluster-sg
providerConfigRef:
name: example
example-cluster
apiVersion: docdb.aws.crossplane.io/v1alpha1
kind: DBCluster
metadata:
name: example-cluster
spec:
forProvider:
availabilityZones:
- us-east-1b
- us-east-1c
dbClusterParameterGroupName: example-parameter-group
dbSubnetGroupName: example-subnet-group
engine: docdb
masterUserPasswordSecretRef:
key: password
name: my-docdb-creds
namespace: crossplane-system
masterUsername: master
region: us-east-1
skipFinalSnapshot: true
tags:
- key: cluster
value: my-cluster
vpcSecurityGroupIDsRefs:
- name: sample-cluster-sg
providerConfigRef:
name: example