diff --git a/apis/v1alpha1/ack-generate-metadata.yaml b/apis/v1alpha1/ack-generate-metadata.yaml index 49dba89..34153f0 100755 --- a/apis/v1alpha1/ack-generate-metadata.yaml +++ b/apis/v1alpha1/ack-generate-metadata.yaml @@ -1,8 +1,8 @@ ack_generate_info: - build_date: "2024-01-29T07:04:13Z" - build_hash: 92f531cde5631865cfc3dfa778cbc9611f3a64c3 - go_version: go1.21.5 - version: v0.29.2 + build_date: "2024-02-14T04:08:17Z" + build_hash: 947081ffebdeefcf2c61c4ca6d7e68810bdf9d08 + go_version: go1.22.0 + version: v0.30.0 api_directory_checksum: ec327bd746176accff503d6ca1306e08a55ac61b api_version: v1alpha1 aws_sdk_go_version: v1.44.232 diff --git a/apis/v1alpha1/zz_generated.deepcopy.go b/apis/v1alpha1/zz_generated.deepcopy.go index 8477d9c..395cb6c 100644 --- a/apis/v1alpha1/zz_generated.deepcopy.go +++ b/apis/v1alpha1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // @@ -720,7 +719,8 @@ func (in *DBClusterParameterGroupSpec) DeepCopyInto(out *DBClusterParameterGroup if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3728,7 +3728,8 @@ func (in *DBParameterGroupSpec) DeepCopyInto(out *DBParameterGroupSpec) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/config/controller/kustomization.yaml b/config/controller/kustomization.yaml index f298995..6f94796 100644 --- a/config/controller/kustomization.yaml +++ b/config/controller/kustomization.yaml @@ -6,4 +6,4 @@ kind: Kustomization images: - name: controller newName: public.ecr.aws/aws-controllers-k8s/rds-controller - newTag: 1.1.10 + newTag: 1.1.11 diff --git a/config/crd/bases/rds.services.k8s.aws_dbclusterparametergroups.yaml b/config/crd/bases/rds.services.k8s.aws_dbclusterparametergroups.yaml index fa8a418..5054f3c 100644 --- a/config/crd/bases/rds.services.k8s.aws_dbclusterparametergroups.yaml +++ b/config/crd/bases/rds.services.k8s.aws_dbclusterparametergroups.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: dbclusterparametergroups.rds.services.k8s.aws spec: group: rds.services.k8s.aws @@ -22,71 +21,146 @@ spec: API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: - description: "DBClusterParameterGroupSpec defines the desired state of - DBClusterParameterGroup. \n Contains the details of an Amazon RDS DB - cluster parameter group. \n This data type is used as a response element - in the DescribeDBClusterParameterGroups action." + description: |- + DBClusterParameterGroupSpec defines the desired state of DBClusterParameterGroup. + + + Contains the details of an Amazon RDS DB cluster parameter group. + + + This data type is used as a response element in the DescribeDBClusterParameterGroups + action. properties: description: description: The description for the DB cluster parameter group. type: string family: - description: "The DB cluster parameter group family name. A DB cluster - parameter group can be associated with one and only one DB cluster - parameter group family, and can be applied only to a DB cluster - running a database engine and engine version compatible with that - DB cluster parameter group family. \n Aurora MySQL \n Example: aurora5.6, - aurora-mysql5.7, aurora-mysql8.0 \n Aurora PostgreSQL \n Example: - aurora-postgresql9.6 \n RDS for MySQL \n Example: mysql8.0 \n RDS - for PostgreSQL \n Example: postgres12 \n To list all of the available - parameter group families for a DB engine, use the following command: - \n aws rds describe-db-engine-versions --query \"DBEngineVersions[].DBParameterGroupFamily\" - --engine \n For example, to list all of the available parameter - group families for the Aurora PostgreSQL DB engine, use the following - command: \n aws rds describe-db-engine-versions --query \"DBEngineVersions[].DBParameterGroupFamily\" - --engine aurora-postgresql \n The output contains duplicates. \n - The following are the valid DB engine values: \n * aurora (for MySQL - 5.6-compatible Aurora) \n * aurora-mysql (for MySQL 5.7-compatible - and MySQL 8.0-compatible Aurora) \n * aurora-postgresql \n * mysql - \n * postgres" + description: |- + The DB cluster parameter group family name. A DB cluster parameter group + can be associated with one and only one DB cluster parameter group family, + and can be applied only to a DB cluster running a database engine and engine + version compatible with that DB cluster parameter group family. + + + Aurora MySQL + + + Example: aurora5.6, aurora-mysql5.7, aurora-mysql8.0 + + + Aurora PostgreSQL + + + Example: aurora-postgresql9.6 + + + RDS for MySQL + + + Example: mysql8.0 + + + RDS for PostgreSQL + + + Example: postgres12 + + + To list all of the available parameter group families for a DB engine, use + the following command: + + + aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" + --engine + + + For example, to list all of the available parameter group families for the + Aurora PostgreSQL DB engine, use the following command: + + + aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" + --engine aurora-postgresql + + + The output contains duplicates. + + + The following are the valid DB engine values: + + + * aurora (for MySQL 5.6-compatible Aurora) + + + * aurora-mysql (for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora) + + + * aurora-postgresql + + + * mysql + + + * postgres type: string name: - description: "The name of the DB cluster parameter group. \n Constraints: - \n * Must not match the name of an existing DB cluster parameter - group. \n This value is stored as a lowercase string." + description: |- + The name of the DB cluster parameter group. + + + Constraints: + + + * Must not match the name of an existing DB cluster parameter group. + + + This value is stored as a lowercase string. type: string parameterOverrides: additionalProperties: type: string type: object parameters: - description: "A list of parameters in the DB cluster parameter group - to modify. \n Valid Values (for the application method): immediate - | pending-reboot \n You can use the immediate value with dynamic - parameters only. You can use the pending-reboot value for both dynamic - and static parameters. \n When the application method is immediate, - changes to dynamic parameters are applied immediately to the DB - clusters associated with the parameter group. When the application - method is pending-reboot, changes to dynamic and static parameters - are applied after a reboot without failover to the DB clusters associated - with the parameter group." + description: |- + A list of parameters in the DB cluster parameter group to modify. + + + Valid Values (for the application method): immediate | pending-reboot + + + You can use the immediate value with dynamic parameters only. You can use + the pending-reboot value for both dynamic and static parameters. + + + When the application method is immediate, changes to dynamic parameters are + applied immediately to the DB clusters associated with the parameter group. + When the application method is pending-reboot, changes to dynamic and static + parameters are applied after a reboot without failover to the DB clusters + associated with the parameter group. items: - description: "This data type is used as a request parameter in the - ModifyDBParameterGroup and ResetDBParameterGroup actions. \n This - data type is used as a response element in the DescribeEngineDefaultParameters - and DescribeDBParameters actions." + description: |- + This data type is used as a request parameter in the ModifyDBParameterGroup + and ResetDBParameterGroup actions. + + + This data type is used as a response element in the DescribeEngineDefaultParameters + and DescribeDBParameters actions. properties: allowedValues: type: string @@ -117,10 +191,12 @@ spec: tags: description: Tags to assign to the DB cluster parameter group. items: - description: "Metadata assigned to an Amazon RDS resource consisting - of a key-value pair. \n For more information, see Tagging Amazon - RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the Amazon RDS User Guide." + description: |- + Metadata assigned to an Amazon RDS resource consisting of a key-value pair. + + + For more information, see Tagging Amazon RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the Amazon RDS User Guide. properties: key: type: string @@ -138,24 +214,26 @@ spec: of DBClusterParameterGroup properties: ackResourceMetadata: - description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` - member that is used to contain resource sync state, account ownership, + description: |- + All CRs managed by ACK have a common `Status.ACKResourceMetadata` member + that is used to contain resource sync state, account ownership, constructed ARN for the resource properties: arn: - description: 'ARN is the Amazon Resource Name for the resource. - This is a globally-unique identifier and is set only by the - ACK service controller once the controller has orchestrated - the creation of the resource OR when it has verified that an - "adopted" resource (a resource where the ARN annotation was - set by the Kubernetes user on the CR) exists and matches the - supplied CR''s Spec field values. TODO(vijat@): Find a better - strategy for resources that do not have ARN in CreateOutputResponse - https://github.com/aws/aws-controllers-k8s/issues/270' + description: |- + ARN is the Amazon Resource Name for the resource. This is a + globally-unique identifier and is set only by the ACK service controller + once the controller has orchestrated the creation of the resource OR + when it has verified that an "adopted" resource (a resource where the + ARN annotation was set by the Kubernetes user on the CR) exists and + matches the supplied CR's Spec field values. + TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270 type: string ownerAccountID: - description: OwnerAccountID is the AWS Account ID of the account - that owns the backend AWS service API resource. + description: |- + OwnerAccountID is the AWS Account ID of the account that owns the + backend AWS service API resource. type: string region: description: Region is the AWS region in which the resource exists @@ -166,14 +244,16 @@ spec: - region type: object conditions: - description: All CRS managed by ACK have a common `Status.Conditions` - member that contains a collection of `ackv1alpha1.Condition` objects - that describe the various terminal states of the CR and its backend - AWS service API resource + description: |- + All CRS managed by ACK have a common `Status.Conditions` member that + contains a collection of `ackv1alpha1.Condition` objects that describe + the various terminal states of the CR and its backend AWS service API + resource items: - description: Condition is the common struct used by all CRDs managed - by ACK service controllers to indicate terminal states of the - CR and its backend AWS service API resource + description: |- + Condition is the common struct used by all CRDs managed by ACK service + controllers to indicate terminal states of the CR and its backend AWS + service API resource properties: lastTransitionTime: description: Last time the condition transitioned from one status @@ -202,10 +282,13 @@ spec: description: Provides a list of parameters for the DB cluster parameter group. items: - description: "This data type is used as a request parameter in the - ModifyDBParameterGroup and ResetDBParameterGroup actions. \n This - data type is used as a response element in the DescribeEngineDefaultParameters - and DescribeDBParameters actions." + description: |- + This data type is used as a request parameter in the ModifyDBParameterGroup + and ResetDBParameterGroup actions. + + + This data type is used as a response element in the DescribeEngineDefaultParameters + and DescribeDBParameters actions. properties: allowedValues: type: string diff --git a/config/crd/bases/rds.services.k8s.aws_dbclusters.yaml b/config/crd/bases/rds.services.k8s.aws_dbclusters.yaml index 3b03cd6..f940ee3 100644 --- a/config/crd/bases/rds.services.k8s.aws_dbclusters.yaml +++ b/config/crd/bases/rds.services.k8s.aws_dbclusters.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: dbclusters.rds.services.k8s.aws spec: group: rds.services.k8s.aws @@ -21,141 +20,244 @@ spec: description: DBCluster is the Schema for the DBClusters API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: - description: "DBClusterSpec defines the desired state of DBCluster. \n + description: |- + DBClusterSpec defines the desired state of DBCluster. + + Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB cluster. - \n For an Amazon Aurora DB cluster, this data type is used as a response - element in the operations CreateDBCluster, DeleteDBCluster, DescribeDBClusters, - FailoverDBCluster, ModifyDBCluster, PromoteReadReplicaDBCluster, RestoreDBClusterFromS3, - RestoreDBClusterFromSnapshot, RestoreDBClusterToPointInTime, StartDBCluster, - and StopDBCluster. \n For a Multi-AZ DB cluster, this data type is used - as a response element in the operations CreateDBCluster, DeleteDBCluster, - DescribeDBClusters, FailoverDBCluster, ModifyDBCluster, RebootDBCluster, - RestoreDBClusterFromSnapshot, and RestoreDBClusterToPointInTime. \n - For more information on Amazon Aurora DB clusters, see What is Amazon - Aurora? (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) - in the Amazon Aurora User Guide. \n For more information on Multi-AZ - DB clusters, see Multi-AZ deployments with two readable standby DB instances - (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) - in the Amazon RDS User Guide." + + + For an Amazon Aurora DB cluster, this data type is used as a response element + in the operations CreateDBCluster, DeleteDBCluster, DescribeDBClusters, FailoverDBCluster, + ModifyDBCluster, PromoteReadReplicaDBCluster, RestoreDBClusterFromS3, RestoreDBClusterFromSnapshot, + RestoreDBClusterToPointInTime, StartDBCluster, and StopDBCluster. + + + For a Multi-AZ DB cluster, this data type is used as a response element in + the operations CreateDBCluster, DeleteDBCluster, DescribeDBClusters, FailoverDBCluster, + ModifyDBCluster, RebootDBCluster, RestoreDBClusterFromSnapshot, and RestoreDBClusterToPointInTime. + + + For more information on Amazon Aurora DB clusters, see What is Amazon Aurora? + (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) + in the Amazon Aurora User Guide. + + + For more information on Multi-AZ DB clusters, see Multi-AZ deployments with + two readable standby DB instances (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) + in the Amazon RDS User Guide. properties: allocatedStorage: - description: "The amount of storage in gibibytes (GiB) to allocate - to each DB instance in the Multi-AZ DB cluster. \n This setting - is required to create a Multi-AZ DB cluster. \n Valid for: Multi-AZ - DB clusters only" + description: |- + The amount of storage in gibibytes (GiB) to allocate to each DB instance + in the Multi-AZ DB cluster. + + + This setting is required to create a Multi-AZ DB cluster. + + + Valid for: Multi-AZ DB clusters only format: int64 type: integer autoMinorVersionUpgrade: - description: "A value that indicates whether minor engine upgrades - are applied automatically to the DB cluster during the maintenance - window. By default, minor engine upgrades are applied automatically. - \n Valid for: Multi-AZ DB clusters only" + description: |- + A value that indicates whether minor engine upgrades are applied automatically + to the DB cluster during the maintenance window. By default, minor engine + upgrades are applied automatically. + + + Valid for: Multi-AZ DB clusters only type: boolean availabilityZones: - description: "A list of Availability Zones (AZs) where DB instances - in the DB cluster can be created. \n For information on Amazon Web - Services Regions and Availability Zones, see Choosing the Regions - and Availability Zones (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html) - in the Amazon Aurora User Guide. \n Valid for: Aurora DB clusters - only" + description: |- + A list of Availability Zones (AZs) where DB instances in the DB cluster can + be created. + + + For information on Amazon Web Services Regions and Availability Zones, see + Choosing the Regions and Availability Zones (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html) + in the Amazon Aurora User Guide. + + + Valid for: Aurora DB clusters only items: type: string type: array backtrackWindow: - description: "The target backtrack window, in seconds. To disable - backtracking, set this value to 0. \n Default: 0 \n Constraints: - \n * If specified, this value must be set to a number from 0 to - 259,200 (72 hours). \n Valid for: Aurora MySQL DB clusters only" + description: |- + The target backtrack window, in seconds. To disable backtracking, set this + value to 0. + + + Default: 0 + + + Constraints: + + + * If specified, this value must be set to a number from 0 to 259,200 (72 + hours). + + + Valid for: Aurora MySQL DB clusters only format: int64 type: integer backupRetentionPeriod: - description: "The number of days for which automated backups are retained. - \n Default: 1 \n Constraints: \n * Must be a value from 1 to 35 - \n Valid for: Aurora DB clusters and Multi-AZ DB clusters" + description: |- + The number of days for which automated backups are retained. + + + Default: 1 + + + Constraints: + + + * Must be a value from 1 to 35 + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters format: int64 type: integer characterSetName: - description: "A value that indicates that the DB cluster should be - associated with the specified CharacterSet. \n Valid for: Aurora - DB clusters only" + description: |- + A value that indicates that the DB cluster should be associated with the + specified CharacterSet. + + + Valid for: Aurora DB clusters only type: string copyTagsToSnapshot: - description: "A value that indicates whether to copy all tags from - the DB cluster to snapshots of the DB cluster. The default is not - to copy them. \n Valid for: Aurora DB clusters and Multi-AZ DB clusters" + description: |- + A value that indicates whether to copy all tags from the DB cluster to snapshots + of the DB cluster. The default is not to copy them. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: boolean databaseName: - description: "The name for your database of up to 64 alphanumeric - characters. If you do not provide a name, Amazon RDS doesn't create - a database in the DB cluster you are creating. \n Valid for: Aurora - DB clusters and Multi-AZ DB clusters" + description: |- + The name for your database of up to 64 alphanumeric characters. If you do + not provide a name, Amazon RDS doesn't create a database in the DB cluster + you are creating. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string dbClusterIdentifier: - description: "The DB cluster identifier. This parameter is stored - as a lowercase string. \n Constraints: \n * Must contain from 1 - to 63 letters, numbers, or hyphens. \n * First character must be - a letter. \n * Can't end with a hyphen or contain two consecutive - hyphens. \n Example: my-cluster1 \n Valid for: Aurora DB clusters - and Multi-AZ DB clusters" + description: |- + The DB cluster identifier. This parameter is stored as a lowercase string. + + + Constraints: + + + * Must contain from 1 to 63 letters, numbers, or hyphens. + + + * First character must be a letter. + + + * Can't end with a hyphen or contain two consecutive hyphens. + + + Example: my-cluster1 + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string dbClusterInstanceClass: - description: "The compute and memory capacity of each DB instance - in the Multi-AZ DB cluster, for example db.m6gd.xlarge. Not all - DB instance classes are available in all Amazon Web Services Regions, - or for all database engines. \n For the full list of DB instance - classes and availability for your engine, see DB instance class - (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) - in the Amazon RDS User Guide. \n This setting is required to create - a Multi-AZ DB cluster. \n Valid for: Multi-AZ DB clusters only" + description: |- + The compute and memory capacity of each DB instance in the Multi-AZ DB cluster, + for example db.m6gd.xlarge. Not all DB instance classes are available in + all Amazon Web Services Regions, or for all database engines. + + + For the full list of DB instance classes and availability for your engine, + see DB instance class (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + in the Amazon RDS User Guide. + + + This setting is required to create a Multi-AZ DB cluster. + + + Valid for: Multi-AZ DB clusters only type: string dbClusterParameterGroupName: - description: "The name of the DB cluster parameter group to associate - with this DB cluster. If you do not specify a value, then the default - DB cluster parameter group for the specified DB engine and version - is used. \n Constraints: \n * If supplied, must match the name of - an existing DB cluster parameter group. \n Valid for: Aurora DB - clusters and Multi-AZ DB clusters" + description: |- + The name of the DB cluster parameter group to associate with this DB cluster. + If you do not specify a value, then the default DB cluster parameter group + for the specified DB engine and version is used. + + + Constraints: + + + * If supplied, must match the name of an existing DB cluster parameter + group. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string dbClusterParameterGroupRef: description: "AWSResourceReferenceWrapper provides a wrapper around - *AWSResourceReference type to provide more user friendly syntax - for references using 'from' field Ex: APIIDRef: \n from: name: my-api" + *AWSResourceReference\ntype to provide more user friendly syntax + for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t + \ name: my-api" properties: from: - description: AWSResourceReference provides all the values necessary - to reference another k8s resource for finding the identifier(Id/ARN/Name) + description: |- + AWSResourceReference provides all the values necessary to reference another + k8s resource for finding the identifier(Id/ARN/Name) properties: name: type: string type: object type: object dbSubnetGroupName: - description: "A DB subnet group to associate with this DB cluster. - \n This setting is required to create a Multi-AZ DB cluster. \n - Constraints: Must match the name of an existing DBSubnetGroup. Must - not be default. \n Example: mydbsubnetgroup \n Valid for: Aurora - DB clusters and Multi-AZ DB clusters" + description: |- + A DB subnet group to associate with this DB cluster. + + + This setting is required to create a Multi-AZ DB cluster. + + + Constraints: Must match the name of an existing DBSubnetGroup. Must not be + default. + + + Example: mydbsubnetgroup + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string dbSubnetGroupRef: description: "AWSResourceReferenceWrapper provides a wrapper around - *AWSResourceReference type to provide more user friendly syntax - for references using 'from' field Ex: APIIDRef: \n from: name: my-api" + *AWSResourceReference\ntype to provide more user friendly syntax + for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t + \ name: my-api" properties: from: - description: AWSResourceReference provides all the values necessary - to reference another k8s resource for finding the identifier(Id/ARN/Name) + description: |- + AWSResourceReference provides all the values necessary to reference another + k8s resource for finding the identifier(Id/ARN/Name) properties: name: type: string @@ -165,199 +267,377 @@ spec: description: Reserved for future use. type: string deletionProtection: - description: "A value that indicates whether the DB cluster has deletion - protection enabled. The database can't be deleted when deletion - protection is enabled. By default, deletion protection isn't enabled. - \n Valid for: Aurora DB clusters and Multi-AZ DB clusters" + description: |- + A value that indicates whether the DB cluster has deletion protection enabled. + The database can't be deleted when deletion protection is enabled. By default, + deletion protection isn't enabled. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: boolean destinationRegion: description: DestinationRegion is used for presigning the request to a given region. type: string domain: - description: "The Active Directory directory ID to create the DB cluster - in. \n For Amazon Aurora DB clusters, Amazon RDS can use Kerberos - authentication to authenticate users that connect to the DB cluster. - \n For more information, see Kerberos authentication (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html) - in the Amazon Aurora User Guide. \n Valid for: Aurora DB clusters - only" + description: |- + The Active Directory directory ID to create the DB cluster in. + + + For Amazon Aurora DB clusters, Amazon RDS can use Kerberos authentication + to authenticate users that connect to the DB cluster. + + + For more information, see Kerberos authentication (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html) + in the Amazon Aurora User Guide. + + + Valid for: Aurora DB clusters only type: string domainIAMRoleName: - description: "Specify the name of the IAM role to be used when making - API calls to the Directory Service. \n Valid for: Aurora DB clusters - only" + description: |- + Specify the name of the IAM role to be used when making API calls to the + Directory Service. + + + Valid for: Aurora DB clusters only type: string enableCloudwatchLogsExports: - description: "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 - being used. \n RDS for MySQL \n Possible values are error, general, - and slowquery. \n RDS for PostgreSQL \n Possible values are postgresql - and upgrade. \n Aurora MySQL \n Possible values are audit, error, - general, and slowquery. \n Aurora PostgreSQL \n Possible value is - postgresql. \n For more information about exporting CloudWatch Logs - for Amazon RDS, 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 RDS User Guide. \n For more information about exporting - CloudWatch Logs for Amazon Aurora, see Publishing Database Logs - to Amazon CloudWatch Logs (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) - in the Amazon Aurora User Guide. \n Valid for: Aurora DB clusters - and Multi-AZ DB clusters" + description: |- + 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 being used. + + + RDS for MySQL + + + Possible values are error, general, and slowquery. + + + RDS for PostgreSQL + + + Possible values are postgresql and upgrade. + + + Aurora MySQL + + + Possible values are audit, error, general, and slowquery. + + + Aurora PostgreSQL + + + Possible value is postgresql. + + + For more information about exporting CloudWatch Logs for Amazon RDS, 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 RDS User Guide. + + + For more information about exporting CloudWatch Logs for Amazon Aurora, see + Publishing Database Logs to Amazon CloudWatch Logs (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) + in the Amazon Aurora User Guide. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters items: type: string type: array enableGlobalWriteForwarding: - description: "A value that indicates whether to enable this DB cluster - to forward write operations to the primary cluster of an Aurora - global database (GlobalCluster). By default, write operations are - not allowed on Aurora DB clusters that are secondary clusters in - an Aurora global database. \n You can set this value only on Aurora - DB clusters that are members of an Aurora global database. With - this parameter enabled, a secondary cluster can forward writes to - the current primary cluster and the resulting changes are replicated - back to this cluster. For the primary DB cluster of an Aurora global - database, this value is used immediately if the primary is demoted - by the FailoverGlobalCluster API operation, but it does nothing - until then. \n Valid for: Aurora DB clusters only" + description: |- + A value that indicates whether to enable this DB cluster to forward write + operations to the primary cluster of an Aurora global database (GlobalCluster). + By default, write operations are not allowed on Aurora DB clusters that are + secondary clusters in an Aurora global database. + + + You can set this value only on Aurora DB clusters that are members of an + Aurora global database. With this parameter enabled, a secondary cluster + can forward writes to the current primary cluster and the resulting changes + are replicated back to this cluster. For the primary DB cluster of an Aurora + global database, this value is used immediately if the primary is demoted + by the FailoverGlobalCluster API operation, but it does nothing until then. + + + Valid for: Aurora DB clusters only type: boolean enableHTTPEndpoint: - description: "A value that indicates whether to enable the HTTP endpoint - for an Aurora Serverless v1 DB cluster. By default, the HTTP endpoint - is disabled. \n When enabled, the HTTP endpoint provides a connectionless - web service API for running SQL queries on the Aurora Serverless - v1 DB cluster. You can also query your database from inside the - RDS console with the query editor. \n For more information, see - Using the Data API for Aurora Serverless v1 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html) - in the Amazon Aurora User Guide. \n Valid for: Aurora DB clusters - only" + description: |- + A value that indicates whether to enable the HTTP endpoint for an Aurora + Serverless v1 DB cluster. By default, the HTTP endpoint is disabled. + + + When enabled, the HTTP endpoint provides a connectionless web service API + for running SQL queries on the Aurora Serverless v1 DB cluster. You can also + query your database from inside the RDS console with the query editor. + + + For more information, see Using the Data API for Aurora Serverless v1 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html) + in the Amazon Aurora User Guide. + + + Valid for: Aurora DB clusters only type: boolean enableIAMDatabaseAuthentication: - description: "A value that indicates whether to enable mapping of - Amazon Web Services Identity and Access Management (IAM) accounts - to database accounts. By default, mapping isn't enabled. \n For - more information, see IAM Database Authentication (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html) - in the Amazon Aurora User Guide. \n Valid for: Aurora DB clusters - only" + description: |- + A value that indicates whether to enable mapping of Amazon Web Services Identity + and Access Management (IAM) accounts to database accounts. By default, mapping + isn't enabled. + + + For more information, see IAM Database Authentication (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html) + in the Amazon Aurora User Guide. + + + Valid for: Aurora DB clusters only type: boolean enablePerformanceInsights: - description: "A value that indicates whether to turn on Performance - Insights for the DB cluster. \n For more information, see Using - Amazon Performance Insights (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) - in the Amazon RDS User Guide. \n Valid for: Multi-AZ DB clusters - only" + description: |- + A value that indicates whether to turn on Performance Insights for the DB + cluster. + + + For more information, see Using Amazon Performance Insights (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) + in the Amazon RDS User Guide. + + + Valid for: Multi-AZ DB clusters only type: boolean engine: - description: "The name of the database engine to be used for this - DB cluster. \n Valid Values: \n * aurora-mysql \n * aurora-postgresql - \n * mysql \n * postgres \n Valid for: Aurora DB clusters and Multi-AZ - DB clusters" + description: |- + The name of the database engine to be used for this DB cluster. + + + Valid Values: + + + * aurora-mysql + + + * aurora-postgresql + + + * mysql + + + * postgres + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string engineMode: - description: "The DB engine mode of the DB cluster, either provisioned - or serverless. \n The serverless engine mode only applies for Aurora - Serverless v1 DB clusters. \n Limitations and requirements apply - to some DB engine modes. For more information, see the following - sections in the Amazon Aurora User Guide: \n * Limitations of Aurora - Serverless v1 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html#aurora-serverless.limitations) - \n * Requirements for Aurora Serverless v2 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.requirements.html) - \n * Limitations of parallel query (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-mysql-parallel-query.html#aurora-mysql-parallel-query-limitations) - \n * Limitations of Aurora global databases (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html#aurora-global-database.limitations) - \n Valid for: Aurora DB clusters only" + description: |- + The DB engine mode of the DB cluster, either provisioned or serverless. + + + The serverless engine mode only applies for Aurora Serverless v1 DB clusters. + + + Limitations and requirements apply to some DB engine modes. For more information, + see the following sections in the Amazon Aurora User Guide: + + + * Limitations of Aurora Serverless v1 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html#aurora-serverless.limitations) + + + * Requirements for Aurora Serverless v2 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.requirements.html) + + + * Limitations of parallel query (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-mysql-parallel-query.html#aurora-mysql-parallel-query-limitations) + + + * Limitations of Aurora global databases (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html#aurora-global-database.limitations) + + + Valid for: Aurora DB clusters only type: string engineVersion: - description: "The version number of the database engine to use. \n - To list all of the available engine versions for Aurora MySQL version - 2 (5.7-compatible) and version 3 (MySQL 8.0-compatible), use the - following command: \n aws rds describe-db-engine-versions --engine - aurora-mysql --query \"DBEngineVersions[].EngineVersion\" \n You - can supply either 5.7 or 8.0 to use the default engine version for - Aurora MySQL version 2 or version 3, respectively. \n To list all - of the available engine versions for Aurora PostgreSQL, use the - following command: \n aws rds describe-db-engine-versions --engine - aurora-postgresql --query \"DBEngineVersions[].EngineVersion\" \n - To list all of the available engine versions for RDS for MySQL, - use the following command: \n aws rds describe-db-engine-versions - --engine mysql --query \"DBEngineVersions[].EngineVersion\" \n To - list all of the available engine versions for RDS for PostgreSQL, - use the following command: \n aws rds describe-db-engine-versions - --engine postgres --query \"DBEngineVersions[].EngineVersion\" \n - Aurora MySQL \n For information, see Database engine updates for - Amazon Aurora MySQL (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html) - in the Amazon Aurora User Guide. \n Aurora PostgreSQL \n For information, - see Amazon Aurora PostgreSQL releases and engine versions (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updates.20180305.html) - in the Amazon Aurora User Guide. \n MySQL \n For information, see - Amazon RDS for MySQL (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt) - in the Amazon RDS User Guide. \n PostgreSQL \n For information, - see Amazon RDS for PostgreSQL (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts) - in the Amazon RDS User Guide. \n Valid for: Aurora DB clusters and - Multi-AZ DB clusters" + description: |- + The version number of the database engine to use. + + + To list all of the available engine versions for Aurora MySQL version 2 (5.7-compatible) + and version 3 (MySQL 8.0-compatible), use the following command: + + + aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[].EngineVersion" + + + You can supply either 5.7 or 8.0 to use the default engine version for Aurora + MySQL version 2 or version 3, respectively. + + + To list all of the available engine versions for Aurora PostgreSQL, use the + following command: + + + aws rds describe-db-engine-versions --engine aurora-postgresql --query "DBEngineVersions[].EngineVersion" + + + To list all of the available engine versions for RDS for MySQL, use the following + command: + + + aws rds describe-db-engine-versions --engine mysql --query "DBEngineVersions[].EngineVersion" + + + To list all of the available engine versions for RDS for PostgreSQL, use + the following command: + + + aws rds describe-db-engine-versions --engine postgres --query "DBEngineVersions[].EngineVersion" + + + Aurora MySQL + + + For information, see Database engine updates for Amazon Aurora MySQL (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html) + in the Amazon Aurora User Guide. + + + Aurora PostgreSQL + + + For information, see Amazon Aurora PostgreSQL releases and engine versions + (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updates.20180305.html) + in the Amazon Aurora User Guide. + + + MySQL + + + For information, see Amazon RDS for MySQL (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt) + in the Amazon RDS User Guide. + + + PostgreSQL + + + For information, see Amazon RDS for PostgreSQL (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts) + in the Amazon RDS User Guide. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string globalClusterIdentifier: - description: "The global cluster ID of an Aurora cluster that becomes - the primary cluster in the new global database cluster. \n Valid - for: Aurora DB clusters only" + description: |- + The global cluster ID of an Aurora cluster that becomes the primary cluster + in the new global database cluster. + + + Valid for: Aurora DB clusters only type: string iops: - description: "The amount of Provisioned IOPS (input/output operations - per second) to be initially allocated for each DB instance in the - Multi-AZ DB cluster. \n For information about valid IOPS values, - see Provisioned IOPS storage (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS) - in the Amazon RDS User Guide. \n This setting is required to create - a Multi-AZ DB cluster. \n Constraints: Must be a multiple between - .5 and 50 of the storage amount for the DB cluster. \n Valid for: - Multi-AZ DB clusters only" + description: |- + The amount of Provisioned IOPS (input/output operations per second) to be + initially allocated for each DB instance in the Multi-AZ DB cluster. + + + For information about valid IOPS values, see Provisioned IOPS storage (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS) + in the Amazon RDS User Guide. + + + This setting is required to create a Multi-AZ DB cluster. + + + Constraints: Must be a multiple between .5 and 50 of the storage amount for + the DB cluster. + + + Valid for: Multi-AZ DB clusters only format: int64 type: integer kmsKeyID: - description: "The Amazon Web Services KMS key identifier for an encrypted - DB cluster. \n The Amazon Web Services KMS key identifier is the - key ARN, key ID, alias ARN, or alias name for the KMS key. To use - a KMS key in a different Amazon Web Services account, specify the - key ARN or alias ARN. \n When a KMS key isn't specified in KmsKeyId: - \n * If ReplicationSourceIdentifier identifies an encrypted source, - then Amazon RDS will use the KMS key used to encrypt the source. - Otherwise, Amazon RDS will use your default KMS key. \n * If the - StorageEncrypted parameter is enabled and ReplicationSourceIdentifier - isn't specified, then Amazon RDS will use your default KMS key. - \n There is a default KMS key for your Amazon Web Services account. - Your Amazon Web Services account has a different default KMS key - for each Amazon Web Services Region. \n If you create a read replica - of an encrypted DB cluster in another Amazon Web Services Region, - you must set KmsKeyId to a KMS key identifier that is valid in the - destination Amazon Web Services Region. This KMS key is used to - encrypt the read replica in that Amazon Web Services Region. \n - Valid for: Aurora DB clusters and Multi-AZ DB clusters" + description: |- + The Amazon Web Services KMS key identifier for an encrypted DB cluster. + + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. To use a KMS key in a different Amazon + Web Services account, specify the key ARN or alias ARN. + + + When a KMS key isn't specified in KmsKeyId: + + + * If ReplicationSourceIdentifier identifies an encrypted source, then + Amazon RDS will use the KMS key used to encrypt the source. Otherwise, + Amazon RDS will use your default KMS key. + + + * If the StorageEncrypted parameter is enabled and ReplicationSourceIdentifier + isn't specified, then Amazon RDS will use your default KMS key. + + + There is a default KMS key for your Amazon Web Services account. Your Amazon + Web Services account has a different default KMS key for each Amazon Web + Services Region. + + + If you create a read replica of an encrypted DB cluster in another Amazon + Web Services Region, you must set KmsKeyId to a KMS key identifier that is + valid in the destination Amazon Web Services Region. This KMS key is used + to encrypt the read replica in that Amazon Web Services Region. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string kmsKeyRef: description: "AWSResourceReferenceWrapper provides a wrapper around - *AWSResourceReference type to provide more user friendly syntax - for references using 'from' field Ex: APIIDRef: \n from: name: my-api" + *AWSResourceReference\ntype to provide more user friendly syntax + for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t + \ name: my-api" properties: from: - description: AWSResourceReference provides all the values necessary - to reference another k8s resource for finding the identifier(Id/ARN/Name) + description: |- + AWSResourceReference provides all the values necessary to reference another + k8s resource for finding the identifier(Id/ARN/Name) properties: name: type: string type: object type: object manageMasterUserPassword: - description: "A value that indicates whether to manage the master - user password with Amazon Web Services Secrets Manager. \n For more - information, see Password management with Amazon Web Services Secrets + description: |- + A value that indicates whether to manage the master user password with Amazon + Web Services Secrets Manager. + + + For more information, see Password management with Amazon Web Services Secrets Manager (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the Amazon RDS User Guide and Password management with Amazon - Web Services Secrets Manager (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) - in the Amazon Aurora User Guide. \n Constraints: \n * Can't manage - the master user password with Amazon Web Services Secrets Manager - if MasterUserPassword is specified. \n Valid for: Aurora DB clusters - and Multi-AZ DB clusters" + in the Amazon RDS User Guide and Password management with Amazon Web Services + Secrets Manager (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) + in the Amazon Aurora User Guide. + + + Constraints: + + + * Can't manage the master user password with Amazon Web Services Secrets + Manager if MasterUserPassword is specified. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: boolean masterUserPassword: - description: "The password for the master database user. This password - can contain any printable ASCII character except \"/\", \"\"\", - or \"@\". \n Constraints: \n * Must contain from 8 to 41 characters. - \n * Can't be specified if ManageMasterUserPassword is turned on. - \n Valid for: Aurora DB clusters and Multi-AZ DB clusters" + description: |- + The password for the master database user. This password can contain any + printable ASCII character except "/", """, or "@". + + + Constraints: + + + * Must contain from 8 to 41 characters. + + + * Can't be specified if ManageMasterUserPassword is turned on. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters properties: key: description: Key is the key within the secret @@ -375,191 +655,380 @@ spec: type: object x-kubernetes-map-type: atomic masterUserSecretKMSKeyID: - description: "The Amazon Web Services KMS key identifier to encrypt - a secret that is automatically generated and managed in Amazon Web - Services Secrets Manager. \n This setting is valid only if the master - user password is managed by RDS in Amazon Web Services Secrets Manager - for the DB cluster. \n The Amazon Web Services KMS key identifier - is the key ARN, key ID, alias ARN, or alias name for the KMS key. - To use a KMS key in a different Amazon Web Services account, specify - the key ARN or alias ARN. \n If you don't specify MasterUserSecretKmsKeyId, - then the aws/secretsmanager KMS key is used to encrypt the secret. - If the secret is in a different Amazon Web Services account, then - you can't use the aws/secretsmanager KMS key to encrypt the secret, - and you must use a customer managed KMS key. \n There is a default - KMS key for your Amazon Web Services account. Your Amazon Web Services - account has a different default KMS key for each Amazon Web Services - Region. \n Valid for: Aurora DB clusters and Multi-AZ DB clusters" + description: |- + The Amazon Web Services KMS key identifier to encrypt a secret that is automatically + generated and managed in Amazon Web Services Secrets Manager. + + + This setting is valid only if the master user password is managed by RDS + in Amazon Web Services Secrets Manager for the DB cluster. + + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. To use a KMS key in a different Amazon + Web Services account, specify the key ARN or alias ARN. + + + If you don't specify MasterUserSecretKmsKeyId, then the aws/secretsmanager + KMS key is used to encrypt the secret. If the secret is in a different Amazon + Web Services account, then you can't use the aws/secretsmanager KMS key to + encrypt the secret, and you must use a customer managed KMS key. + + + There is a default KMS key for your Amazon Web Services account. Your Amazon + Web Services account has a different default KMS key for each Amazon Web + Services Region. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string masterUserSecretKMSKeyRef: description: "AWSResourceReferenceWrapper provides a wrapper around - *AWSResourceReference type to provide more user friendly syntax - for references using 'from' field Ex: APIIDRef: \n from: name: my-api" + *AWSResourceReference\ntype to provide more user friendly syntax + for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t + \ name: my-api" properties: from: - description: AWSResourceReference provides all the values necessary - to reference another k8s resource for finding the identifier(Id/ARN/Name) + description: |- + AWSResourceReference provides all the values necessary to reference another + k8s resource for finding the identifier(Id/ARN/Name) properties: name: type: string type: object type: object masterUsername: - description: "The name of the master user for the DB cluster. \n Constraints: - \n * Must be 1 to 16 letters or numbers. \n * First character must - be a letter. \n * Can't be a reserved word for the chosen database - engine. \n Valid for: Aurora DB clusters and Multi-AZ DB clusters" + description: |- + The name of the master user for the DB cluster. + + + Constraints: + + + * Must be 1 to 16 letters or numbers. + + + * First character must be a letter. + + + * Can't be a reserved word for the chosen database engine. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string monitoringInterval: - description: "The interval, in seconds, between points when Enhanced - Monitoring metrics are collected for the DB cluster. To turn off - collecting Enhanced Monitoring metrics, specify 0. The default is - 0. \n If MonitoringRoleArn is specified, also set MonitoringInterval - to a value other than 0. \n Valid Values: 0, 1, 5, 10, 15, 30, 60 - \n Valid for: Multi-AZ DB clusters only" + description: |- + The interval, in seconds, between points when Enhanced Monitoring metrics + are collected for the DB cluster. To turn off collecting Enhanced Monitoring + metrics, specify 0. The default is 0. + + + If MonitoringRoleArn is specified, also set MonitoringInterval to a value + other than 0. + + + Valid Values: 0, 1, 5, 10, 15, 30, 60 + + + Valid for: Multi-AZ DB clusters only format: int64 type: integer monitoringRoleARN: - description: "The Amazon Resource Name (ARN) for the IAM role that - permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch - Logs. An example is arn:aws:iam:123456789012:role/emaccess. For - information on creating a monitoring role, see Setting up and enabling + description: |- + The Amazon Resource Name (ARN) for the IAM role that permits RDS to send + Enhanced Monitoring metrics to Amazon CloudWatch Logs. An example is arn:aws:iam:123456789012:role/emaccess. + For information on creating a monitoring role, see Setting up and enabling Enhanced Monitoring (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling) - in the Amazon RDS User Guide. \n If MonitoringInterval is set to - a value other than 0, supply a MonitoringRoleArn value. \n Valid - for: Multi-AZ DB clusters only" + in the Amazon RDS User Guide. + + + If MonitoringInterval is set to a value other than 0, supply a MonitoringRoleArn + value. + + + Valid for: Multi-AZ DB clusters only type: string networkType: - description: "The network type of the DB cluster. \n Valid values: - \n * IPV4 \n * DUAL \n The network type is determined by the DBSubnetGroup - specified for the DB cluster. A DBSubnetGroup can support only the - IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL). \n For - more information, see Working with a DB instance in a VPC (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) - in the Amazon Aurora User Guide. \n Valid for: Aurora DB clusters - only" + description: |- + The network type of the DB cluster. + + + Valid values: + + + * IPV4 + + + * DUAL + + + The network type is determined by the DBSubnetGroup specified for the DB + cluster. A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and + the IPv6 protocols (DUAL). + + + For more information, see Working with a DB instance in a VPC (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) + in the Amazon Aurora User Guide. + + + Valid for: Aurora DB clusters only type: string optionGroupName: - description: "A value that indicates that the DB cluster should be - associated with the specified option group. \n DB clusters are associated - with a default option group that can't be modified." + description: |- + A value that indicates that the DB cluster should be associated with the + specified option group. + + + DB clusters are associated with a default option group that can't be modified. type: string performanceInsightsKMSKeyID: - description: "The Amazon Web Services KMS key identifier for encryption - of Performance Insights data. \n The Amazon Web Services KMS key - identifier is the key ARN, key ID, alias ARN, or alias name for - the KMS key. \n If you don't specify a value for PerformanceInsightsKMSKeyId, - then Amazon RDS uses your default KMS key. There is a default KMS - key for your Amazon Web Services account. Your Amazon Web Services - account has a different default KMS key for each Amazon Web Services - Region. \n Valid for: Multi-AZ DB clusters only" + description: |- + The Amazon Web Services KMS key identifier for encryption of Performance + Insights data. + + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + + + If you don't specify a value for PerformanceInsightsKMSKeyId, then Amazon + RDS uses your default KMS key. There is a default KMS key for your Amazon + Web Services account. Your Amazon Web Services account has a different default + KMS key for each Amazon Web Services Region. + + + Valid for: Multi-AZ DB clusters only type: string performanceInsightsRetentionPeriod: - description: "The number of days to retain Performance Insights data. - The default is 7 days. The following values are valid: \n * 7 \n - * month * 31, where month is a number of months from 1-23 \n * 731 - \n For example, the following values are valid: \n * 93 (3 months - * 31) \n * 341 (11 months * 31) \n * 589 (19 months * 31) \n * 731 - \n If you specify a retention period such as 94, which isn't a valid - value, RDS issues an error. \n Valid for: Multi-AZ DB clusters only" + description: |- + The number of days to retain Performance Insights data. The default is 7 + days. The following values are valid: + + + * 7 + + + * month * 31, where month is a number of months from 1-23 + + + * 731 + + + For example, the following values are valid: + + + * 93 (3 months * 31) + + + * 341 (11 months * 31) + + + * 589 (19 months * 31) + + + * 731 + + + If you specify a retention period such as 94, which isn't a valid value, + RDS issues an error. + + + Valid for: Multi-AZ DB clusters only format: int64 type: integer port: - description: "The port number on which the instances in the DB cluster - accept connections. \n RDS for MySQL and Aurora MySQL \n Default: - 3306 \n Valid values: 1150-65535 \n RDS for PostgreSQL and Aurora - PostgreSQL \n Default: 5432 \n Valid values: 1150-65535 \n Valid - for: Aurora DB clusters and Multi-AZ DB clusters" + description: |- + The port number on which the instances in the DB cluster accept connections. + + + RDS for MySQL and Aurora MySQL + + + Default: 3306 + + + Valid values: 1150-65535 + + + RDS for PostgreSQL and Aurora PostgreSQL + + + Default: 5432 + + + Valid values: 1150-65535 + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters format: int64 type: integer preSignedURL: - description: "When you are replicating a DB cluster from one Amazon - Web Services GovCloud (US) Region to another, an URL that contains - a Signature Version 4 signed request for the CreateDBCluster operation - to be called in the source Amazon Web Services Region where the - DB cluster is replicated from. Specify PreSignedUrl only when you - are performing cross-Region replication from an encrypted DB cluster. - \n The presigned URL must be a valid request for the CreateDBCluster - API operation that can run in the source Amazon Web Services Region - that contains the encrypted DB cluster to copy. \n The presigned - URL request must contain the following parameter values: \n * KmsKeyId - - The KMS key identifier for the KMS key to use to encrypt the copy - of the DB cluster in the destination Amazon Web Services Region. - This should refer to the same KMS key for both the CreateDBCluster - operation that is called in the destination Amazon Web Services - Region, and the operation contained in the presigned URL. \n * DestinationRegion - - The name of the Amazon Web Services Region that Aurora read replica - will be created in. \n * ReplicationSourceIdentifier - The DB cluster - identifier for the encrypted DB cluster to be copied. This identifier - must be in the Amazon Resource Name (ARN) format for the source - Amazon Web Services Region. For example, if you are copying an encrypted - DB cluster from the us-west-2 Amazon Web Services Region, then your - ReplicationSourceIdentifier would look like Example: arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1. - \n To learn how to generate a Signature Version 4 signed request, - see Authenticating Requests: Using Query Parameters (Amazon Web - Services Signature Version 4) (https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) + description: |- + When you are replicating a DB cluster from one Amazon Web Services GovCloud + (US) Region to another, an URL that contains a Signature Version 4 signed + request for the CreateDBCluster operation to be called in the source Amazon + Web Services Region where the DB cluster is replicated from. Specify PreSignedUrl + only when you are performing cross-Region replication from an encrypted DB + cluster. + + + The presigned URL must be a valid request for the CreateDBCluster API operation + that can run in the source Amazon Web Services Region that contains the encrypted + DB cluster to copy. + + + The presigned URL request must contain the following parameter values: + + + * KmsKeyId - The KMS key identifier for the KMS key to use to encrypt + the copy of the DB cluster in the destination Amazon Web Services Region. + This should refer to the same KMS key for both the CreateDBCluster operation + that is called in the destination Amazon Web Services Region, and the + operation contained in the presigned URL. + + + * DestinationRegion - The name of the Amazon Web Services Region that + Aurora read replica will be created in. + + + * ReplicationSourceIdentifier - The DB cluster identifier for the encrypted + DB cluster to be copied. This identifier must be in the Amazon Resource + Name (ARN) format for the source Amazon Web Services Region. For example, + if you are copying an encrypted DB cluster from the us-west-2 Amazon Web + Services Region, then your ReplicationSourceIdentifier would look like + Example: arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1. + + + To learn how to generate a Signature Version 4 signed request, see Authenticating + Requests: Using Query Parameters (Amazon Web Services Signature Version 4) + (https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) and Signature Version 4 Signing Process (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). - \n If you are using an Amazon Web Services SDK tool or the CLI, - you can specify SourceRegion (or --source-region for the CLI) instead - of specifying PreSignedUrl manually. Specifying SourceRegion autogenerates - a presigned URL that is a valid request for the operation that can - run in the source Amazon Web Services Region. \n Valid for: Aurora - DB clusters only" + + + If you are using an Amazon Web Services SDK tool or the CLI, you can specify + SourceRegion (or --source-region for the CLI) instead of specifying PreSignedUrl + manually. Specifying SourceRegion autogenerates a presigned URL that is a + valid request for the operation that can run in the source Amazon Web Services + Region. + + + Valid for: Aurora DB clusters only type: string preferredBackupWindow: - description: "The daily time range during which automated backups - are created if automated backups are enabled using the BackupRetentionPeriod - parameter. \n The default is a 30-minute window selected at random - from an 8-hour block of time for each Amazon Web Services Region. - To view the time blocks available, see Backup window (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow) - in the Amazon Aurora User Guide. \n Constraints: \n * Must be in - the format hh24:mi-hh24:mi. \n * Must be in Universal Coordinated - Time (UTC). \n * Must not conflict with the preferred maintenance - window. \n * Must be at least 30 minutes. \n Valid for: Aurora DB - clusters and Multi-AZ DB clusters" + description: |- + The daily time range during which automated backups are created if automated + backups are enabled using the BackupRetentionPeriod parameter. + + + The default is a 30-minute window selected at random from an 8-hour block + of time for each Amazon Web Services Region. To view the time blocks available, + see Backup window (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow) + in the Amazon Aurora User Guide. + + + Constraints: + + + * Must be in the format hh24:mi-hh24:mi. + + + * Must be in Universal Coordinated Time (UTC). + + + * Must not conflict with the preferred maintenance window. + + + * Must be at least 30 minutes. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string preferredMaintenanceWindow: - description: "The weekly time range during which system maintenance - can occur, in Universal Coordinated Time (UTC). \n Format: ddd:hh24:mi-ddd:hh24:mi - \n The default is a 30-minute window selected at random from an - 8-hour block of time for each Amazon Web Services Region, occurring - on a random day of the week. To see the time blocks available, see - Adjusting the Preferred DB Cluster Maintenance Window (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora) - in the Amazon Aurora User Guide. \n Valid Days: Mon, Tue, Wed, Thu, - Fri, Sat, Sun. \n Constraints: Minimum 30-minute window. \n Valid - for: Aurora DB clusters and Multi-AZ DB clusters" + description: |- + The weekly time range during which system maintenance can occur, in Universal + Coordinated Time (UTC). + + + Format: ddd:hh24:mi-ddd:hh24:mi + + + The default is a 30-minute window selected at random from an 8-hour block + of time for each Amazon Web Services Region, occurring on a random day of + the week. To see the time blocks available, see Adjusting the Preferred DB + Cluster Maintenance Window (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora) + in the Amazon Aurora User Guide. + + + Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. + + + Constraints: Minimum 30-minute window. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string publiclyAccessible: - description: "A value that indicates whether the DB cluster is publicly - accessible. \n When the DB cluster is publicly accessible, its Domain - Name System (DNS) endpoint resolves to the private IP address from - within the DB cluster's virtual private cloud (VPC). It resolves - to the public IP address from outside of the DB cluster's VPC. Access - to the DB cluster is ultimately controlled by the security group - it uses. That public access isn't permitted if the security group - assigned to the DB cluster doesn't permit it. \n When the DB cluster - isn't publicly accessible, it is an internal DB cluster with a DNS - name that resolves to a private IP address. \n Default: The default - behavior varies depending on whether DBSubnetGroupName is specified. - \n If DBSubnetGroupName isn't specified, and PubliclyAccessible - isn't specified, the following applies: \n * If the default VPC - in the target Region doesn’t have an internet gateway attached to - it, the DB cluster is private. \n * If the default VPC in the target - Region has an internet gateway attached to it, the DB cluster is - public. \n If DBSubnetGroupName is specified, and PubliclyAccessible - isn't specified, the following applies: \n * If the subnets are - part of a VPC that doesn’t have an internet gateway attached to - it, the DB cluster is private. \n * If the subnets are part of a - VPC that has an internet gateway attached to it, the DB cluster - is public. \n Valid for: Multi-AZ DB clusters only" + description: |- + A value that indicates whether the DB cluster is publicly accessible. + + + When the DB cluster is publicly accessible, its Domain Name System (DNS) + endpoint resolves to the private IP address from within the DB cluster's + virtual private cloud (VPC). It resolves to the public IP address from outside + of the DB cluster's VPC. Access to the DB cluster is ultimately controlled + by the security group it uses. That public access isn't permitted if the + security group assigned to the DB cluster doesn't permit it. + + + When the DB cluster isn't publicly accessible, it is an internal DB cluster + with a DNS name that resolves to a private IP address. + + + Default: The default behavior varies depending on whether DBSubnetGroupName + is specified. + + + If DBSubnetGroupName isn't specified, and PubliclyAccessible isn't specified, + the following applies: + + + * If the default VPC in the target Region doesn’t have an internet gateway + attached to it, the DB cluster is private. + + + * If the default VPC in the target Region has an internet gateway attached + to it, the DB cluster is public. + + + If DBSubnetGroupName is specified, and PubliclyAccessible isn't specified, + the following applies: + + + * If the subnets are part of a VPC that doesn’t have an internet gateway + attached to it, the DB cluster is private. + + + * If the subnets are part of a VPC that has an internet gateway attached + to it, the DB cluster is public. + + + Valid for: Multi-AZ DB clusters only type: boolean replicationSourceIdentifier: - description: "The Amazon Resource Name (ARN) of the source DB instance - or DB cluster if this DB cluster is created as a read replica. \n - Valid for: Aurora DB clusters and Multi-AZ DB clusters" + description: |- + The Amazon Resource Name (ARN) of the source DB instance or DB cluster if + this DB cluster is created as a read replica. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string scalingConfiguration: - description: "For DB clusters in serverless DB engine mode, the scaling - properties of the DB cluster. \n Valid for: Aurora DB clusters only" + description: |- + For DB clusters in serverless DB engine mode, the scaling properties of the + DB cluster. + + + Valid for: Aurora DB clusters only properties: autoPause: type: boolean @@ -579,10 +1048,12 @@ spec: type: string type: object serverlessV2ScalingConfiguration: - description: "Contains the scaling configuration of an Aurora Serverless - v2 DB cluster. \n For more information, see Using Amazon Aurora - Serverless v2 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) - in the Amazon Aurora User Guide." + description: |- + Contains the scaling configuration of an Aurora Serverless v2 DB cluster. + + + For more information, see Using Amazon Aurora Serverless v2 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) + in the Amazon Aurora User Guide. properties: maxCapacity: type: number @@ -590,37 +1061,68 @@ spec: type: number type: object snapshotIdentifier: - description: "The identifier for the DB snapshot or DB cluster snapshot - to restore from. \n You can use either the name or the Amazon Resource - Name (ARN) to specify a DB cluster snapshot. However, you can use - only the ARN to specify a DB snapshot. \n Constraints: \n * Must - match the identifier of an existing Snapshot. \n Valid for: Aurora - DB clusters and Multi-AZ DB clusters" + description: |- + The identifier for the DB snapshot or DB cluster snapshot to restore from. + + + You can use either the name or the Amazon Resource Name (ARN) to specify + a DB cluster snapshot. However, you can use only the ARN to specify a DB + snapshot. + + + Constraints: + + + * Must match the identifier of an existing Snapshot. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string sourceRegion: - description: SourceRegion is the source region where the resource - exists. This is not sent over the wire and is only used for presigning. - This value should always have the same region as the source ARN. + description: |- + SourceRegion is the source region where the resource exists. This is not + sent over the wire and is only used for presigning. This value should always + have the same region as the source ARN. type: string storageEncrypted: - description: "A value that indicates whether the DB cluster is encrypted. - \n Valid for: Aurora DB clusters and Multi-AZ DB clusters" + description: |- + A value that indicates whether the DB cluster is encrypted. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: boolean storageType: - description: "Specifies the storage type to be associated with the - DB cluster. \n This setting is required to create a Multi-AZ DB - cluster. \n Valid values: io1 \n When specified, a value for the - Iops parameter is required. \n Default: io1 \n Valid for: Multi-AZ - DB clusters only" + description: |- + Specifies the storage type to be associated with the DB cluster. + + + This setting is required to create a Multi-AZ DB cluster. + + + Valid values: io1 + + + When specified, a value for the Iops parameter is required. + + + Default: io1 + + + Valid for: Multi-AZ DB clusters only type: string tags: - description: "Tags to assign to the DB cluster. \n Valid for: Aurora - DB clusters and Multi-AZ DB clusters" + description: |- + Tags to assign to the DB cluster. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters items: - description: "Metadata assigned to an Amazon RDS resource consisting - of a key-value pair. \n For more information, see Tagging Amazon - RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the Amazon RDS User Guide." + description: |- + Metadata assigned to an Amazon RDS resource consisting of a key-value pair. + + + For more information, see Tagging Amazon RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the Amazon RDS User Guide. properties: key: type: string @@ -629,22 +1131,25 @@ spec: type: object type: array vpcSecurityGroupIDs: - description: "A list of EC2 VPC security groups to associate with - this DB cluster. \n Valid for: Aurora DB clusters and Multi-AZ DB - clusters" + description: |- + A list of EC2 VPC security groups to associate with this DB cluster. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters items: type: string type: array vpcSecurityGroupRefs: items: description: "AWSResourceReferenceWrapper provides a wrapper around - *AWSResourceReference type to provide more user friendly syntax - for references using 'from' field Ex: APIIDRef: \n from: name: - my-api" + *AWSResourceReference\ntype to provide more user friendly syntax + for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t + \ name: my-api" properties: from: - description: AWSResourceReference provides all the values necessary - to reference another k8s resource for finding the identifier(Id/ARN/Name) + description: |- + AWSResourceReference provides all the values necessary to reference another + k8s resource for finding the identifier(Id/ARN/Name) properties: name: type: string @@ -659,24 +1164,26 @@ spec: description: DBClusterStatus defines the observed state of DBCluster properties: ackResourceMetadata: - description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` - member that is used to contain resource sync state, account ownership, + description: |- + All CRs managed by ACK have a common `Status.ACKResourceMetadata` member + that is used to contain resource sync state, account ownership, constructed ARN for the resource properties: arn: - description: 'ARN is the Amazon Resource Name for the resource. - This is a globally-unique identifier and is set only by the - ACK service controller once the controller has orchestrated - the creation of the resource OR when it has verified that an - "adopted" resource (a resource where the ARN annotation was - set by the Kubernetes user on the CR) exists and matches the - supplied CR''s Spec field values. TODO(vijat@): Find a better - strategy for resources that do not have ARN in CreateOutputResponse - https://github.com/aws/aws-controllers-k8s/issues/270' + description: |- + ARN is the Amazon Resource Name for the resource. This is a + globally-unique identifier and is set only by the ACK service controller + once the controller has orchestrated the creation of the resource OR + when it has verified that an "adopted" resource (a resource where the + ARN annotation was set by the Kubernetes user on the CR) exists and + matches the supplied CR's Spec field values. + TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270 type: string ownerAccountID: - description: OwnerAccountID is the AWS Account ID of the account - that owns the backend AWS service API resource. + description: |- + OwnerAccountID is the AWS Account ID of the account that owns the + backend AWS service API resource. type: string region: description: Region is the AWS region in which the resource exists @@ -687,32 +1194,38 @@ spec: - region type: object activityStreamKMSKeyID: - description: "The Amazon Web Services KMS key identifier used for - encrypting messages in the database activity stream. \n The Amazon - Web Services KMS key identifier is the key ARN, key ID, alias ARN, - or alias name for the KMS key." + description: |- + The Amazon Web Services KMS key identifier used for encrypting messages in + the database activity stream. + + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. type: string activityStreamKinesisStreamName: - description: The name of the Amazon Kinesis data stream used for the - database activity stream. + description: |- + The name of the Amazon Kinesis data stream used for the database activity + stream. type: string activityStreamMode: - description: The mode of the database activity stream. Database events - such as a change or access generate an activity stream event. The - database session can handle these events either synchronously or - asynchronously. + description: |- + The mode of the database activity stream. Database events such as a change + or access generate an activity stream event. The database session can handle + these events either synchronously or asynchronously. type: string activityStreamStatus: description: The status of the database activity stream. type: string associatedRoles: - description: Provides a list of the Amazon Web Services Identity and - Access Management (IAM) roles that are associated with the DB cluster. - IAM roles that are associated with a DB cluster grant permission - for the DB cluster to access other Amazon Web Services on your behalf. + description: |- + Provides a list of the Amazon Web Services Identity and Access Management + (IAM) roles that are associated with the DB cluster. IAM roles that are associated + with a DB cluster grant permission for the DB cluster to access other Amazon + Web Services on your behalf. items: - description: Describes an Amazon Web Services Identity and Access - Management (IAM) role that is associated with a DB cluster. + description: |- + Describes an Amazon Web Services Identity and Access Management (IAM) role + that is associated with a DB cluster. properties: featureName: type: string @@ -731,11 +1244,14 @@ spec: format: int64 type: integer capacity: - description: "The current capacity of an Aurora Serverless v1 DB cluster. - The capacity is 0 (zero) when the cluster is paused. \n For more - information about Aurora Serverless v1, see Using Amazon Aurora + description: |- + The current capacity of an Aurora Serverless v1 DB cluster. The capacity + is 0 (zero) when the cluster is paused. + + + For more information about Aurora Serverless v1, see Using Amazon Aurora Serverless v1 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html) - in the Amazon Aurora User Guide." + in the Amazon Aurora User Guide. format: int64 type: integer cloneGroupID: @@ -743,19 +1259,22 @@ spec: associated. type: string clusterCreateTime: - description: Specifies the time when the DB cluster was created, in - Universal Coordinated Time (UTC). + description: |- + Specifies the time when the DB cluster was created, in Universal Coordinated + Time (UTC). format: date-time type: string conditions: - description: All CRS managed by ACK have a common `Status.Conditions` - member that contains a collection of `ackv1alpha1.Condition` objects - that describe the various terminal states of the CR and its backend - AWS service API resource + description: |- + All CRS managed by ACK have a common `Status.Conditions` member that + contains a collection of `ackv1alpha1.Condition` objects that describe + the various terminal states of the CR and its backend AWS service API + resource items: - description: Condition is the common struct used by all CRDs managed - by ACK service controllers to indicate terminal states of the - CR and its backend AWS service API resource + description: |- + Condition is the common struct used by all CRDs managed by ACK service + controllers to indicate terminal states of the CR and its backend AWS + service API resource properties: lastTransitionTime: description: Last time the condition transitioned from one status @@ -781,8 +1300,9 @@ spec: type: object type: array crossAccountClone: - description: Specifies whether the DB cluster is a clone of a DB cluster - owned by a different Amazon Web Services account. + description: |- + Specifies whether the DB cluster is a clone of a DB cluster owned by a different + Amazon Web Services account. type: boolean customEndpoints: description: Identifies all custom endpoints associated with the cluster. @@ -824,22 +1344,23 @@ spec: for the DB cluster. type: string dbClusterResourceID: - description: The Amazon Web Services Region-unique, immutable identifier - for the DB cluster. This identifier is found in Amazon Web Services - CloudTrail log entries whenever the KMS key for the DB cluster is - accessed. + description: |- + The Amazon Web Services Region-unique, immutable identifier for the DB cluster. + This identifier is found in Amazon Web Services CloudTrail log entries whenever + the KMS key for the DB cluster is accessed. type: string dbSubnetGroup: - description: Specifies information on the subnet group associated - with the DB cluster, including the name, description, and subnets - in the subnet group. + description: |- + Specifies information on the subnet group associated with the DB cluster, + including the name, description, and subnets in the subnet group. type: string domainMemberships: description: The Active Directory Domain membership records associated with the DB cluster. items: - description: An Active Directory Domain membership record associated - with the DB instance or cluster. + description: |- + An Active Directory Domain membership record associated with the DB instance + or cluster. properties: domain: type: string @@ -856,16 +1377,20 @@ spec: format: date-time type: string earliestRestorableTime: - description: The earliest time to which a database can be restored - with point-in-time restore. + description: |- + The earliest time to which a database can be restored with point-in-time + restore. format: date-time type: string enabledCloudwatchLogsExports: - description: "A list of log types that this DB cluster is configured - to export to CloudWatch Logs. \n 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/AuroraUserGuide/USER_LogAccess.html) - in the Amazon Aurora User Guide." + description: |- + A list of log types that this DB cluster 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/AuroraUserGuide/USER_LogAccess.html) + in the Amazon Aurora User Guide. items: type: string type: array @@ -874,49 +1399,58 @@ spec: of the DB cluster. type: string globalWriteForwardingRequested: - description: Specifies whether you have requested to enable write - forwarding for a secondary cluster in an Aurora global database. - Because write forwarding takes time to enable, check the value of - GlobalWriteForwardingStatus to confirm that the request has completed - before using the write forwarding feature for this cluster. + description: |- + Specifies whether you have requested to enable write forwarding for a secondary + cluster in an Aurora global database. Because write forwarding takes time + to enable, check the value of GlobalWriteForwardingStatus to confirm that + the request has completed before using the write forwarding feature for this + cluster. type: boolean globalWriteForwardingStatus: - description: Specifies whether a secondary cluster in an Aurora global - database has write forwarding enabled, not enabled, or is in the - process of enabling it. + description: |- + Specifies whether a secondary cluster in an Aurora global database has write + forwarding enabled, not enabled, or is in the process of enabling it. type: string hostedZoneID: description: Specifies the ID that Amazon Route 53 assigns when you create a hosted zone. type: string httpEndpointEnabled: - description: "A value that indicates whether the HTTP endpoint for - an Aurora Serverless v1 DB cluster is enabled. \n When enabled, - the HTTP endpoint provides a connectionless web service API for - running SQL queries on the Aurora Serverless v1 DB cluster. You - can also query your database from inside the RDS console with the - query editor. \n For more information, see Using the Data API for - Aurora Serverless v1 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html) - in the Amazon Aurora User Guide." + description: |- + A value that indicates whether the HTTP endpoint for an Aurora Serverless + v1 DB cluster is enabled. + + + When enabled, the HTTP endpoint provides a connectionless web service API + for running SQL queries on the Aurora Serverless v1 DB cluster. You can also + query your database from inside the RDS console with the query editor. + + + For more information, see Using the Data API for Aurora Serverless v1 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html) + in the Amazon Aurora User Guide. type: boolean iamDatabaseAuthenticationEnabled: - description: A value that indicates whether the mapping of Amazon - Web Services Identity and Access Management (IAM) accounts to database - accounts is enabled. + description: |- + A value that indicates whether the mapping of Amazon Web Services Identity + and Access Management (IAM) accounts to database accounts is enabled. type: boolean latestRestorableTime: - description: Specifies the latest time to which a database can be - restored with point-in-time restore. + description: |- + Specifies the latest time to which a database can be restored with point-in-time + restore. format: date-time type: string masterUserSecret: - description: "Contains the secret managed by RDS in Amazon Web Services - Secrets Manager for the master user password. \n For more information, - see Password management with Amazon Web Services Secrets Manager - (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the Amazon RDS User Guide and Password management with Amazon - Web Services Secrets Manager (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) - in the Amazon Aurora User Guide." + description: |- + Contains the secret managed by RDS in Amazon Web Services Secrets Manager + for the master user password. + + + For more information, see Password management with Amazon Web Services Secrets + Manager (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) + in the Amazon RDS User Guide and Password management with Amazon Web Services + Secrets Manager (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) + in the Amazon Aurora User Guide. properties: kmsKeyID: type: string @@ -930,9 +1464,10 @@ spec: Availability Zones. type: boolean pendingModifiedValues: - description: A value that specifies that changes to the DB cluster - are pending. This element is only included when changes are pending. - Specific changes are identified by subelements. + description: |- + A value that specifies that changes to the DB cluster are pending. This element + is only included when changes are pending. Specific changes are identified + by subelements. properties: allocatedStorage: format: int64 @@ -952,9 +1487,9 @@ spec: masterUserPassword: type: string pendingCloudwatchLogsExports: - description: 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. + description: |- + 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. properties: logTypesToDisable: items: @@ -970,38 +1505,46 @@ spec: description: Specifies the progress of the operation as a percentage. type: string performanceInsightsEnabled: - description: "True if Performance Insights is enabled for the DB cluster, - and otherwise false. \n This setting is only for non-Aurora Multi-AZ - DB clusters." + description: |- + True if Performance Insights is enabled for the DB cluster, and otherwise + false. + + + This setting is only for non-Aurora Multi-AZ DB clusters. type: boolean readReplicaIdentifiers: - description: Contains one or more identifiers of the read replicas - associated with this DB cluster. + description: |- + Contains one or more identifiers of the read replicas associated with this + DB cluster. items: type: string type: array readerEndpoint: - description: "The reader endpoint for the DB cluster. The reader endpoint - for a DB cluster load-balances connections across the Aurora Replicas - that are available in a DB cluster. As clients request new connections - to the reader endpoint, Aurora distributes the connection requests - among the Aurora Replicas in the DB cluster. This functionality - can help balance your read workload across multiple Aurora Replicas - in your DB cluster. \n If a failover occurs, and the Aurora Replica - that you are connected to is promoted to be the primary instance, - your connection is dropped. To continue sending your read workload - to other Aurora Replicas in the cluster, you can then reconnect - to the reader endpoint." + description: |- + The reader endpoint for the DB cluster. The reader endpoint for a DB cluster + load-balances connections across the Aurora Replicas that are available in + a DB cluster. As clients request new connections to the reader endpoint, + Aurora distributes the connection requests among the Aurora Replicas in the + DB cluster. This functionality can help balance your read workload across + multiple Aurora Replicas in your DB cluster. + + + If a failover occurs, and the Aurora Replica that you are connected to is + promoted to be the primary instance, your connection is dropped. To continue + sending your read workload to other Aurora Replicas in the cluster, you can + then reconnect to the reader endpoint. type: string status: description: Specifies the current state of this DB cluster. type: string tagList: items: - description: "Metadata assigned to an Amazon RDS resource consisting - of a key-value pair. \n For more information, see Tagging Amazon - RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the Amazon RDS User Guide." + description: |- + Metadata assigned to an Amazon RDS resource consisting of a key-value pair. + + + For more information, see Tagging Amazon RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the Amazon RDS User Guide. properties: key: type: string @@ -1013,8 +1556,9 @@ spec: description: Provides a list of VPC security groups that the DB cluster belongs to. items: - description: This data type is used as a response element for queries - on VPC security group membership. + description: |- + This data type is used as a response element for queries on VPC security + group membership. properties: status: type: string diff --git a/config/crd/bases/rds.services.k8s.aws_dbinstances.yaml b/config/crd/bases/rds.services.k8s.aws_dbinstances.yaml index 253911c..e69a47f 100644 --- a/config/crd/bases/rds.services.k8s.aws_dbinstances.yaml +++ b/config/crd/bases/rds.services.k8s.aws_dbinstances.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: dbinstances.rds.services.k8s.aws spec: group: rds.services.k8s.aws @@ -25,448 +24,1023 @@ spec: description: DBInstance is the Schema for the DBInstances API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: - description: "DBInstanceSpec defines the desired state of DBInstance. - \n Contains the details of an Amazon RDS DB instance. \n This data type - is used as a response element in the operations CreateDBInstance, CreateDBInstanceReadReplica, - DeleteDBInstance, DescribeDBInstances, ModifyDBInstance, PromoteReadReplica, - RebootDBInstance, RestoreDBInstanceFromDBSnapshot, RestoreDBInstanceFromS3, - RestoreDBInstanceToPointInTime, StartDBInstance, and StopDBInstance." + description: |- + DBInstanceSpec defines the desired state of DBInstance. + + + Contains the details of an Amazon RDS DB instance. + + + This data type is used as a response element in the operations CreateDBInstance, + CreateDBInstanceReadReplica, DeleteDBInstance, DescribeDBInstances, ModifyDBInstance, + PromoteReadReplica, RebootDBInstance, RestoreDBInstanceFromDBSnapshot, RestoreDBInstanceFromS3, + RestoreDBInstanceToPointInTime, StartDBInstance, and StopDBInstance. properties: allocatedStorage: - description: "The amount of storage in gibibytes (GiB) to allocate - for the DB instance. \n Type: Integer \n Amazon Aurora \n Not applicable. - Aurora cluster volumes automatically grow as the amount of data - in your database increases, though you are only charged for the - space that you use in an Aurora cluster volume. \n Amazon RDS Custom - \n Constraints to the amount of storage for each storage type are - the following: \n * General Purpose (SSD) storage (gp2, gp3): Must - be an integer from 40 to 65536 for RDS Custom for Oracle, 16384 - for RDS Custom for SQL Server. \n * Provisioned IOPS storage (io1): - Must be an integer from 40 to 65536 for RDS Custom for Oracle, 16384 - for RDS Custom for SQL Server. \n MySQL \n Constraints to the amount - of storage for each storage type are the following: \n * General - Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to - 65536. \n * Provisioned IOPS storage (io1): Must be an integer from - 100 to 65536. \n * Magnetic storage (standard): Must be an integer - from 5 to 3072. \n MariaDB \n Constraints to the amount of storage - for each storage type are the following: \n * General Purpose (SSD) - storage (gp2, gp3): Must be an integer from 20 to 65536. \n * Provisioned - IOPS storage (io1): Must be an integer from 100 to 65536. \n * Magnetic - storage (standard): Must be an integer from 5 to 3072. \n PostgreSQL - \n Constraints to the amount of storage for each storage type are - the following: \n * General Purpose (SSD) storage (gp2, gp3): Must - be an integer from 20 to 65536. \n * Provisioned IOPS storage (io1): - Must be an integer from 100 to 65536. \n * Magnetic storage (standard): - Must be an integer from 5 to 3072. \n Oracle \n Constraints to the - amount of storage for each storage type are the following: \n * - General Purpose (SSD) storage (gp2, gp3): Must be an integer from - 20 to 65536. \n * Provisioned IOPS storage (io1): Must be an integer - from 100 to 65536. \n * Magnetic storage (standard): Must be an - integer from 10 to 3072. \n SQL Server \n Constraints to the amount - of storage for each storage type are the following: \n * General - Purpose (SSD) storage (gp2, gp3): Enterprise and Standard editions: - Must be an integer from 20 to 16384. Web and Express editions: Must - be an integer from 20 to 16384. \n * Provisioned IOPS storage (io1): - Enterprise and Standard editions: Must be an integer from 100 to - 16384. Web and Express editions: Must be an integer from 100 to - 16384. \n * Magnetic storage (standard): Enterprise and Standard - editions: Must be an integer from 20 to 1024. Web and Express editions: - Must be an integer from 20 to 1024." + description: |- + The amount of storage in gibibytes (GiB) to allocate for the DB instance. + + + Type: Integer + + + Amazon Aurora + + + Not applicable. Aurora cluster volumes automatically grow as the amount of + data in your database increases, though you are only charged for the space + that you use in an Aurora cluster volume. + + + Amazon RDS Custom + + + Constraints to the amount of storage for each storage type are the following: + + + * General Purpose (SSD) storage (gp2, gp3): Must be an integer from 40 + to 65536 for RDS Custom for Oracle, 16384 for RDS Custom for SQL Server. + + + * Provisioned IOPS storage (io1): Must be an integer from 40 to 65536 + for RDS Custom for Oracle, 16384 for RDS Custom for SQL Server. + + + MySQL + + + Constraints to the amount of storage for each storage type are the following: + + + * General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 + to 65536. + + + * Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + + + * Magnetic storage (standard): Must be an integer from 5 to 3072. + + + MariaDB + + + Constraints to the amount of storage for each storage type are the following: + + + * General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 + to 65536. + + + * Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + + + * Magnetic storage (standard): Must be an integer from 5 to 3072. + + + PostgreSQL + + + Constraints to the amount of storage for each storage type are the following: + + + * General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 + to 65536. + + + * Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + + + * Magnetic storage (standard): Must be an integer from 5 to 3072. + + + Oracle + + + Constraints to the amount of storage for each storage type are the following: + + + * General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 + to 65536. + + + * Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + + + * Magnetic storage (standard): Must be an integer from 10 to 3072. + + + SQL Server + + + Constraints to the amount of storage for each storage type are the following: + + + * General Purpose (SSD) storage (gp2, gp3): Enterprise and Standard editions: + Must be an integer from 20 to 16384. Web and Express editions: Must be + an integer from 20 to 16384. + + + * Provisioned IOPS storage (io1): Enterprise and Standard editions: Must + be an integer from 100 to 16384. Web and Express editions: Must be an + integer from 100 to 16384. + + + * Magnetic storage (standard): Enterprise and Standard editions: Must + be an integer from 20 to 1024. Web and Express editions: Must be an integer + from 20 to 1024. format: int64 type: integer autoMinorVersionUpgrade: - description: "A value that indicates whether minor engine upgrades - are applied automatically to the DB instance during the maintenance - window. By default, minor engine upgrades are applied automatically. - \n If you create an RDS Custom DB instance, you must set AutoMinorVersionUpgrade - to false." + description: |- + A value that indicates whether minor engine upgrades are applied automatically + to the DB instance during the maintenance window. By default, minor engine + upgrades are applied automatically. + + + If you create an RDS Custom DB instance, you must set AutoMinorVersionUpgrade + to false. type: boolean availabilityZone: - description: "The Availability Zone (AZ) where the database will be - created. For information on Amazon Web Services Regions and Availability - Zones, see Regions and Availability Zones (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html). - \n Amazon Aurora \n Each Aurora DB cluster hosts copies of its storage - in three separate Availability Zones. Specify one of these Availability - Zones. Aurora automatically chooses an appropriate Availability - Zone if you don't specify one. \n Default: A random, system-chosen - Availability Zone in the endpoint's Amazon Web Services Region. - \n Example: us-east-1d \n Constraint: The AvailabilityZone parameter - can't be specified if the DB instance is a Multi-AZ deployment. - The specified Availability Zone must be in the same Amazon Web Services - Region as the current endpoint." + description: |- + The Availability Zone (AZ) where the database will be created. For information + on Amazon Web Services Regions and Availability Zones, see Regions and Availability + Zones (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html). + + + Amazon Aurora + + + Each Aurora DB cluster hosts copies of its storage in three separate Availability + Zones. Specify one of these Availability Zones. Aurora automatically chooses + an appropriate Availability Zone if you don't specify one. + + + Default: A random, system-chosen Availability Zone in the endpoint's Amazon + Web Services Region. + + + Example: us-east-1d + + + Constraint: The AvailabilityZone parameter can't be specified if the DB instance + is a Multi-AZ deployment. The specified Availability Zone must be in the + same Amazon Web Services Region as the current endpoint. type: string backupRetentionPeriod: - description: "The number of days for which automated backups are retained. - Setting this parameter to a positive number enables backups. Setting - this parameter to 0 disables automated backups. \n Amazon Aurora - \n Not applicable. The retention period for automated backups is - managed by the DB cluster. \n Default: 1 \n Constraints: \n * Must - be a value from 0 to 35 \n * Can't be set to 0 if the DB instance - is a source to read replicas \n * Can't be set to 0 for an RDS Custom - for Oracle DB instance" + description: |- + The number of days for which automated backups are retained. Setting this + parameter to a positive number enables backups. Setting this parameter to + 0 disables automated backups. + + + Amazon Aurora + + + Not applicable. The retention period for automated backups is managed by + the DB cluster. + + + Default: 1 + + + Constraints: + + + * Must be a value from 0 to 35 + + + * Can't be set to 0 if the DB instance is a source to read replicas + + + * Can't be set to 0 for an RDS Custom for Oracle DB instance format: int64 type: integer backupTarget: - description: "Specifies where automated backups and manual snapshots - are stored. \n Possible values are outposts (Amazon Web Services - Outposts) and region (Amazon Web Services Region). The default is - region. \n For more information, see Working with 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." + description: |- + Specifies where automated backups and manual snapshots are stored. + + + Possible values are outposts (Amazon Web Services Outposts) and region (Amazon + Web Services Region). The default is region. + + + For more information, see Working with 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. type: string caCertificateIdentifier: - description: "Specifies the CA certificate identifier to use for the - DB instance’s server certificate. \n This setting doesn't apply - to RDS Custom. \n For more information, see Using SSL/TLS to encrypt - a connection to a DB instance (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) - in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection - to a DB cluster (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) - in the Amazon Aurora User Guide." + description: |- + Specifies the CA certificate identifier to use for the DB instance’s server + certificate. + + + This setting doesn't apply to RDS Custom. + + + For more information, see Using SSL/TLS to encrypt a connection to a DB instance + (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) + in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to + a DB cluster (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) + in the Amazon Aurora User Guide. type: string characterSetName: - description: "For supported engines, this value indicates that the - DB instance should be associated with the specified CharacterSet. - \n This setting doesn't apply to RDS Custom. However, if you need - to change the character set, you can change it on the database itself. - \n Amazon Aurora \n Not applicable. The character set is managed - by the DB cluster. For more information, see CreateDBCluster." + description: |- + For supported engines, this value indicates that the DB instance should be + associated with the specified CharacterSet. + + + This setting doesn't apply to RDS Custom. However, if you need to change + the character set, you can change it on the database itself. + + + Amazon Aurora + + + Not applicable. The character set is managed by the DB cluster. For more + information, see CreateDBCluster. type: string copyTagsToSnapshot: - description: "A value that indicates whether to copy tags from the - DB instance to snapshots of the DB instance. By default, tags are - not copied. \n Amazon Aurora \n Not applicable. Copying tags to - snapshots is managed by the DB cluster. Setting this value for an - Aurora DB instance has no effect on the DB cluster setting." + description: |- + A value that indicates whether to copy tags from the DB instance to snapshots + of the DB instance. By default, tags are not copied. + + + Amazon Aurora + + + Not applicable. Copying tags to snapshots is managed by the DB cluster. Setting + this value for an Aurora DB instance has no effect on the DB cluster setting. type: boolean customIAMInstanceProfile: - description: "The instance profile associated with the underlying - Amazon EC2 instance of an RDS Custom DB instance. The instance profile - must meet the following requirements: \n * The profile must exist - in your account. \n * The profile must have an IAM role that Amazon - EC2 has permissions to assume. \n * The instance profile name and - the associated IAM role name must start with the prefix AWSRDSCustom. - \n For the list of permissions required for the IAM role, see Configure - IAM and your VPC (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc) - in the Amazon RDS User Guide. \n This setting is required for RDS - Custom." + description: |- + The instance profile associated with the underlying Amazon EC2 instance of + an RDS Custom DB instance. The instance profile must meet the following requirements: + + + * The profile must exist in your account. + + + * The profile must have an IAM role that Amazon EC2 has permissions to + assume. + + + * The instance profile name and the associated IAM role name must start + with the prefix AWSRDSCustom. + + + For the list of permissions required for the IAM role, see Configure IAM + and your VPC (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc) + in the Amazon RDS User Guide. + + + This setting is required for RDS Custom. type: string dbClusterIdentifier: - description: "The identifier of the DB cluster that the instance will - belong to. \n This setting doesn't apply to RDS Custom." + description: |- + The identifier of the DB cluster that the instance will belong to. + + + This setting doesn't apply to RDS Custom. type: string dbClusterSnapshotIdentifier: - description: "The identifier for the RDS for MySQL Multi-AZ DB cluster - snapshot to restore from. \n For more information on Multi-AZ DB - clusters, see Multi-AZ DB cluster deployments (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) - in the Amazon RDS User Guide. \n Constraints: \n * Must match the - identifier of an existing Multi-AZ DB cluster snapshot. \n * Can't - be specified when DBSnapshotIdentifier is specified. \n * Must be - specified when DBSnapshotIdentifier isn't specified. \n * If you - are restoring from a shared manual Multi-AZ DB cluster snapshot, - the DBClusterSnapshotIdentifier must be the ARN of the shared snapshot. - \n * Can't be the identifier of an Aurora DB cluster snapshot. \n - * Can't be the identifier of an RDS for PostgreSQL Multi-AZ DB cluster - snapshot." + description: |- + The identifier for the RDS for MySQL Multi-AZ DB cluster snapshot to restore + from. + + + For more information on Multi-AZ DB clusters, see Multi-AZ DB cluster deployments + (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) + in the Amazon RDS User Guide. + + + Constraints: + + + * Must match the identifier of an existing Multi-AZ DB cluster snapshot. + + + * Can't be specified when DBSnapshotIdentifier is specified. + + + * Must be specified when DBSnapshotIdentifier isn't specified. + + + * If you are restoring from a shared manual Multi-AZ DB cluster snapshot, + the DBClusterSnapshotIdentifier must be the ARN of the shared snapshot. + + + * Can't be the identifier of an Aurora DB cluster snapshot. + + + * Can't be the identifier of an RDS for PostgreSQL Multi-AZ DB cluster + snapshot. type: string dbInstanceClass: - description: The compute and memory capacity of the DB instance, for - example db.m5.large. Not all DB instance classes are available in - all Amazon Web Services Regions, or for all database engines. For - the full list of DB instance classes, and availability for your - engine, see DB instance classes (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + description: |- + The compute and memory capacity of the DB instance, for example db.m5.large. + Not all DB instance classes are available in all Amazon Web Services Regions, + or for all database engines. For the full list of DB instance classes, and + availability for your engine, see DB instance classes (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) in the Amazon RDS User Guide or Aurora DB instance classes (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.DBInstanceClass.html) in the Amazon Aurora User Guide. type: string dbInstanceIdentifier: - description: "The DB instance identifier. This parameter is stored - as a lowercase string. \n Constraints: \n * Must contain from 1 - to 63 letters, numbers, or hyphens. \n * First character must be - a letter. \n * Can't end with a hyphen or contain two consecutive - hyphens. \n Example: mydbinstance" + description: |- + The DB instance identifier. This parameter is stored as a lowercase string. + + + Constraints: + + + * Must contain from 1 to 63 letters, numbers, or hyphens. + + + * First character must be a letter. + + + * Can't end with a hyphen or contain two consecutive hyphens. + + + Example: mydbinstance type: string dbName: - description: "The meaning of this parameter differs according to the - database engine you use. \n MySQL \n The name of the database to - create when the DB instance is created. If this parameter isn't - specified, no database is created in the DB instance. \n Constraints: - \n * Must contain 1 to 64 letters or numbers. \n * Must begin with - a letter. Subsequent characters can be letters, underscores, or - digits (0-9). \n * Can't be a word reserved by the specified database - engine \n MariaDB \n The name of the database to create when the - DB instance is created. If this parameter isn't specified, no database - is created in the DB instance. \n Constraints: \n * Must contain - 1 to 64 letters or numbers. \n * Must begin with a letter. Subsequent - characters can be letters, underscores, or digits (0-9). \n * Can't - be a word reserved by the specified database engine \n PostgreSQL - \n The name of the database to create when the DB instance is created. - If this parameter isn't specified, a database named postgres is - created in the DB instance. \n Constraints: \n * Must contain 1 - to 63 letters, numbers, or underscores. \n * Must begin with a letter. - Subsequent characters can be letters, underscores, or digits (0-9). - \n * Can't be a word reserved by the specified database engine \n - Oracle \n The Oracle System ID (SID) of the created DB instance. - If you specify null, the default value ORCL is used. You can't specify - the string NULL, or any other reserved word, for DBName. \n Default: - ORCL \n Constraints: \n * Can't be longer than 8 characters \n Amazon - RDS Custom for Oracle \n The Oracle System ID (SID) of the created - RDS Custom DB instance. If you don't specify a value, the default - value is ORCL. \n Default: ORCL \n Constraints: \n * It must contain - 1 to 8 alphanumeric characters. \n * It must contain a letter. \n - * It can't be a word reserved by the database engine. \n Amazon - RDS Custom for SQL Server \n Not applicable. Must be null. \n SQL - Server \n Not applicable. Must be null. \n Amazon Aurora MySQL \n - The name of the database to create when the primary DB instance - of the Aurora MySQL DB cluster is created. If this parameter isn't - specified for an Aurora MySQL DB cluster, no database is created - in the DB cluster. \n Constraints: \n * It must contain 1 to 64 - alphanumeric characters. \n * It can't be a word reserved by the - database engine. \n Amazon Aurora PostgreSQL \n The name of the - database to create when the primary DB instance of the Aurora PostgreSQL - DB cluster is created. If this parameter isn't specified for an - Aurora PostgreSQL DB cluster, a database named postgres is created - in the DB cluster. \n Constraints: \n * It must contain 1 to 63 - alphanumeric characters. \n * It must begin with a letter. Subsequent - characters can be letters, underscores, or digits (0 to 9). \n * - It can't be a word reserved by the database engine." + description: |- + The meaning of this parameter differs according to the database engine you + use. + + + MySQL + + + The name of the database to create when the DB instance is created. If this + parameter isn't specified, no database is created in the DB instance. + + + Constraints: + + + * Must contain 1 to 64 letters or numbers. + + + * Must begin with a letter. Subsequent characters can be letters, underscores, + or digits (0-9). + + + * Can't be a word reserved by the specified database engine + + + MariaDB + + + The name of the database to create when the DB instance is created. If this + parameter isn't specified, no database is created in the DB instance. + + + Constraints: + + + * Must contain 1 to 64 letters or numbers. + + + * Must begin with a letter. Subsequent characters can be letters, underscores, + or digits (0-9). + + + * Can't be a word reserved by the specified database engine + + + PostgreSQL + + + The name of the database to create when the DB instance is created. If this + parameter isn't specified, a database named postgres is created in the DB + instance. + + + Constraints: + + + * Must contain 1 to 63 letters, numbers, or underscores. + + + * Must begin with a letter. Subsequent characters can be letters, underscores, + or digits (0-9). + + + * Can't be a word reserved by the specified database engine + + + Oracle + + + The Oracle System ID (SID) of the created DB instance. If you specify null, + the default value ORCL is used. You can't specify the string NULL, or any + other reserved word, for DBName. + + + Default: ORCL + + + Constraints: + + + * Can't be longer than 8 characters + + + Amazon RDS Custom for Oracle + + + The Oracle System ID (SID) of the created RDS Custom DB instance. If you + don't specify a value, the default value is ORCL. + + + Default: ORCL + + + Constraints: + + + * It must contain 1 to 8 alphanumeric characters. + + + * It must contain a letter. + + + * It can't be a word reserved by the database engine. + + + Amazon RDS Custom for SQL Server + + + Not applicable. Must be null. + + + SQL Server + + + Not applicable. Must be null. + + + Amazon Aurora MySQL + + + The name of the database to create when the primary DB instance of the Aurora + MySQL DB cluster is created. If this parameter isn't specified for an Aurora + MySQL DB cluster, no database is created in the DB cluster. + + + Constraints: + + + * It must contain 1 to 64 alphanumeric characters. + + + * It can't be a word reserved by the database engine. + + + Amazon Aurora PostgreSQL + + + The name of the database to create when the primary DB instance of the Aurora + PostgreSQL DB cluster is created. If this parameter isn't specified for an + Aurora PostgreSQL DB cluster, a database named postgres is created in the + DB cluster. + + + Constraints: + + + * It must contain 1 to 63 alphanumeric characters. + + + * It must begin with a letter. Subsequent characters can be letters, underscores, + or digits (0 to 9). + + + * It can't be a word reserved by the database engine. type: string dbParameterGroupName: - description: "The name of the DB parameter group to associate with - this DB instance. If you do not specify a value, then the default - DB parameter group for the specified DB engine and version is used. - \n This setting doesn't apply to RDS Custom. \n Constraints: \n - * It must be 1 to 255 letters, numbers, or hyphens. \n * The first - character must be a letter. \n * It can't end with a hyphen or contain - two consecutive hyphens." + description: |- + The name of the DB parameter group to associate with this DB instance. If + you do not specify a value, then the default DB parameter group for the specified + DB engine and version is used. + + + This setting doesn't apply to RDS Custom. + + + Constraints: + + + * It must be 1 to 255 letters, numbers, or hyphens. + + + * The first character must be a letter. + + + * It can't end with a hyphen or contain two consecutive hyphens. type: string dbParameterGroupRef: description: "AWSResourceReferenceWrapper provides a wrapper around - *AWSResourceReference type to provide more user friendly syntax - for references using 'from' field Ex: APIIDRef: \n from: name: my-api" + *AWSResourceReference\ntype to provide more user friendly syntax + for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t + \ name: my-api" properties: from: - description: AWSResourceReference provides all the values necessary - to reference another k8s resource for finding the identifier(Id/ARN/Name) + description: |- + AWSResourceReference provides all the values necessary to reference another + k8s resource for finding the identifier(Id/ARN/Name) properties: name: type: string type: object type: object dbSnapshotIdentifier: - description: "The identifier for the DB snapshot to restore from. - \n Constraints: \n * Must match the identifier of an existing DBSnapshot. - \n * Can't be specified when DBClusterSnapshotIdentifier is specified. - \n * Must be specified when DBClusterSnapshotIdentifier isn't specified. - \n * If you are restoring from a shared manual DB snapshot, the - DBSnapshotIdentifier must be the ARN of the shared DB snapshot." + description: |- + The identifier for the DB snapshot to restore from. + + + Constraints: + + + * Must match the identifier of an existing DBSnapshot. + + + * Can't be specified when DBClusterSnapshotIdentifier is specified. + + + * Must be specified when DBClusterSnapshotIdentifier isn't specified. + + + * If you are restoring from a shared manual DB snapshot, the DBSnapshotIdentifier + must be the ARN of the shared DB snapshot. type: string dbSubnetGroupName: - description: "A DB subnet group to associate with this DB instance. - \n Constraints: Must match the name of an existing DBSubnetGroup. - Must not be default. \n Example: mydbsubnetgroup" + description: |- + A DB subnet group to associate with this DB instance. + + + Constraints: Must match the name of an existing DBSubnetGroup. Must not be + default. + + + Example: mydbsubnetgroup type: string dbSubnetGroupRef: description: "AWSResourceReferenceWrapper provides a wrapper around - *AWSResourceReference type to provide more user friendly syntax - for references using 'from' field Ex: APIIDRef: \n from: name: my-api" + *AWSResourceReference\ntype to provide more user friendly syntax + for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t + \ name: my-api" properties: from: - description: AWSResourceReference provides all the values necessary - to reference another k8s resource for finding the identifier(Id/ARN/Name) + description: |- + AWSResourceReference provides all the values necessary to reference another + k8s resource for finding the identifier(Id/ARN/Name) properties: name: type: string type: object type: object deletionProtection: - description: "A value that indicates whether the DB instance has deletion - protection enabled. The database can't be deleted when deletion - protection is enabled. By default, deletion protection isn't enabled. - For more information, see Deleting a DB Instance (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). - \n Amazon Aurora \n Not applicable. You can enable or disable deletion - protection for the DB cluster. For more information, see CreateDBCluster. - DB instances in a DB cluster can be deleted even when deletion protection - is enabled for the DB cluster." + description: |- + A value that indicates whether the DB instance has deletion protection enabled. + The database can't be deleted when deletion protection is enabled. By default, + deletion protection isn't enabled. For more information, see Deleting a DB + Instance (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). + + + Amazon Aurora + + + Not applicable. You can enable or disable deletion protection for the DB + cluster. For more information, see CreateDBCluster. DB instances in a DB + cluster can be deleted even when deletion protection is enabled for the DB + cluster. type: boolean destinationRegion: description: DestinationRegion is used for presigning the request to a given region. type: string domain: - description: "The Active Directory directory ID to create the DB instance - in. Currently, only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL - DB instances can be created in an Active Directory Domain. \n For - more information, see Kerberos Authentication (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) - in the Amazon RDS User Guide. \n This setting doesn't apply to RDS - Custom. \n Amazon Aurora \n Not applicable. The domain is managed - by the DB cluster." + description: |- + The Active Directory directory ID to create the DB instance in. Currently, + only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can + be created in an Active Directory Domain. + + + For more information, see Kerberos Authentication (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) + in the Amazon RDS User Guide. + + + This setting doesn't apply to RDS Custom. + + + Amazon Aurora + + + Not applicable. The domain is managed by the DB cluster. type: string domainIAMRoleName: - description: "Specify the name of the IAM role to be used when making - API calls to the Directory Service. \n This setting doesn't apply - to RDS Custom. \n Amazon Aurora \n Not applicable. The domain is - managed by the DB cluster." + description: |- + Specify the name of the IAM role to be used when making API calls to the + Directory Service. + + + This setting doesn't apply to RDS Custom. + + + Amazon Aurora + + + Not applicable. The domain is managed by the DB cluster. type: string enableCloudwatchLogsExports: - description: "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 RDS User Guide. \n Amazon Aurora \n Not applicable. - CloudWatch Logs exports are managed by the DB cluster. \n RDS Custom - \n Not applicable. \n MariaDB \n Possible values are audit, error, - general, and slowquery. \n Microsoft SQL Server \n Possible values - are agent and error. \n MySQL \n Possible values are audit, error, - general, and slowquery. \n Oracle \n Possible values are alert, - audit, listener, trace, and oemagent. \n PostgreSQL \n Possible - values are postgresql and upgrade." + description: |- + 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 RDS 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. items: type: string type: array enableCustomerOwnedIP: - description: "A value that indicates whether to enable a customer-owned - IP address (CoIP) for an RDS on Outposts DB instance. \n A CoIP - provides local or external connectivity to resources in your Outpost - subnets through your on-premises network. For some use cases, a - CoIP can provide lower latency for connections to the DB instance - from outside of its virtual private cloud (VPC) on your local network. - \n For more information about RDS on Outposts, see Working with - 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. \n For more information about CoIPs, - see Customer-owned IP addresses (https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) - in the Amazon Web Services Outposts User Guide." + description: |- + A value that indicates whether to enable a customer-owned IP address (CoIP) + for an RDS on Outposts DB instance. + + + A CoIP provides local or external connectivity to resources in your Outpost + subnets through your on-premises network. For some use cases, a CoIP can + provide lower latency for connections to the DB instance from outside of + its virtual private cloud (VPC) on your local network. + + + For more information about RDS on Outposts, see Working with 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. + + + For more information about CoIPs, see Customer-owned IP addresses (https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) + in the Amazon Web Services Outposts User Guide. type: boolean enableIAMDatabaseAuthentication: - description: "A value that indicates whether to enable mapping of - Amazon Web Services Identity and Access Management (IAM) accounts - to database accounts. By default, mapping isn't enabled. \n For - more information, see IAM Database Authentication for MySQL and - PostgreSQL (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) - in the Amazon RDS User Guide. \n This setting doesn't apply to RDS - Custom. \n Amazon Aurora \n Not applicable. Mapping Amazon Web Services - IAM accounts to database accounts is managed by the DB cluster." + description: |- + A value that indicates whether to enable mapping of Amazon Web Services Identity + and Access Management (IAM) accounts to database accounts. By default, mapping + isn't enabled. + + + For more information, see IAM Database Authentication for MySQL and PostgreSQL + (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) + in the Amazon RDS User Guide. + + + This setting doesn't apply to RDS Custom. + + + Amazon Aurora + + + Not applicable. Mapping Amazon Web Services IAM accounts to database accounts + is managed by the DB cluster. type: boolean engine: - description: "The name of the database engine to be used for this - instance. \n Not every database engine is available for every Amazon - Web Services Region. \n Valid Values: \n * aurora (for MySQL 5.6-compatible - Aurora) \n * aurora-mysql (for MySQL 5.7-compatible and MySQL 8.0-compatible - Aurora) \n * aurora-postgresql \n * custom-oracle-ee (for RDS Custom - for Oracle instances) \n * custom-sqlserver-ee (for RDS Custom for - SQL Server instances) \n * custom-sqlserver-se (for RDS Custom for - SQL Server instances) \n * custom-sqlserver-web (for RDS Custom - for SQL Server instances) \n * mariadb \n * mysql \n * oracle-ee - \n * oracle-ee-cdb \n * oracle-se2 \n * oracle-se2-cdb \n * postgres - \n * sqlserver-ee \n * sqlserver-se \n * sqlserver-ex \n * sqlserver-web" + description: |- + The name of the database engine to be used for this instance. + + + Not every database engine is available for every Amazon Web Services Region. + + + Valid Values: + + + * aurora (for MySQL 5.6-compatible Aurora) + + + * aurora-mysql (for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora) + + + * aurora-postgresql + + + * custom-oracle-ee (for RDS Custom for Oracle instances) + + + * custom-sqlserver-ee (for RDS Custom for SQL Server instances) + + + * custom-sqlserver-se (for RDS Custom for SQL Server instances) + + + * custom-sqlserver-web (for RDS Custom for SQL Server instances) + + + * mariadb + + + * mysql + + + * oracle-ee + + + * oracle-ee-cdb + + + * oracle-se2 + + + * oracle-se2-cdb + + + * postgres + + + * sqlserver-ee + + + * sqlserver-se + + + * sqlserver-ex + + + * sqlserver-web type: string engineVersion: - description: "The version number of the database engine to use. \n - For a list of valid engine versions, use the DescribeDBEngineVersions - operation. \n The following are the database engines and links to - information about the major and minor versions that are available - with Amazon RDS. Not every database engine is available for every - Amazon Web Services Region. \n Amazon Aurora \n Not applicable. - The version number of the database engine to be used by the DB instance - is managed by the DB cluster. \n Amazon RDS Custom for Oracle \n - A custom engine version (CEV) that you have previously created. - This setting is required for RDS Custom for Oracle. The CEV name - has the following format: 19.customized_string. A valid CEV name - is 19.my_cev1. For more information, see Creating an RDS Custom - for Oracle DB instance (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-creating.html#custom-creating.create) - in the Amazon RDS User Guide. \n Amazon RDS Custom for SQL Server - \n See RDS Custom for SQL Server general requirements (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits-MS.html) - in the Amazon RDS User Guide. \n MariaDB \n For information, see - MariaDB on Amazon RDS Versions (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt) - in the Amazon RDS User Guide. \n Microsoft SQL Server \n For information, - see Microsoft SQL Server Versions on Amazon RDS (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport) - in the Amazon RDS User Guide. \n MySQL \n For information, see MySQL - on Amazon RDS Versions (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt) - in the Amazon RDS User Guide. \n Oracle \n For information, see - Oracle Database Engine Release Notes (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html) - in the Amazon RDS User Guide. \n PostgreSQL \n For information, - see Amazon RDS for PostgreSQL versions and extensions (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts) - in the Amazon RDS User Guide." + description: |- + The version number of the database engine to use. + + + For a list of valid engine versions, use the DescribeDBEngineVersions operation. + + + The following are the database engines and links to information about the + major and minor versions that are available with Amazon RDS. Not every database + engine is available for every Amazon Web Services Region. + + + Amazon Aurora + + + Not applicable. The version number of the database engine to be used by the + DB instance is managed by the DB cluster. + + + Amazon RDS Custom for Oracle + + + A custom engine version (CEV) that you have previously created. This setting + is required for RDS Custom for Oracle. The CEV name has the following format: + 19.customized_string. A valid CEV name is 19.my_cev1. For more information, + see Creating an RDS Custom for Oracle DB instance (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-creating.html#custom-creating.create) + in the Amazon RDS User Guide. + + + Amazon RDS Custom for SQL Server + + + See RDS Custom for SQL Server general requirements (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits-MS.html) + in the Amazon RDS User Guide. + + + MariaDB + + + For information, see MariaDB on Amazon RDS Versions (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt) + in the Amazon RDS User Guide. + + + Microsoft SQL Server + + + For information, see Microsoft SQL Server Versions on Amazon RDS (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport) + in the Amazon RDS User Guide. + + + MySQL + + + For information, see MySQL on Amazon RDS Versions (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt) + in the Amazon RDS User Guide. + + + Oracle + + + For information, see Oracle Database Engine Release Notes (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html) + in the Amazon RDS User Guide. + + + PostgreSQL + + + For information, see Amazon RDS for PostgreSQL versions and extensions (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts) + in the Amazon RDS User Guide. type: string iops: - description: "The amount of Provisioned IOPS (input/output operations - per second) to be initially allocated for the DB instance. For information - about valid IOPS values, see Amazon RDS DB instance storage (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html) - in the Amazon RDS User Guide. \n Constraints: For MariaDB, MySQL, - Oracle, and PostgreSQL DB instances, must be a multiple between - .5 and 50 of the storage amount for the DB instance. For SQL Server - DB instances, must be a multiple between 1 and 50 of the storage - amount for the DB instance. \n Amazon Aurora \n Not applicable. - Storage is managed by the DB cluster." + description: |- + The amount of Provisioned IOPS (input/output operations per second) to be + initially allocated for the DB instance. For information about valid IOPS + values, see Amazon RDS DB instance storage (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html) + in the Amazon RDS User Guide. + + + Constraints: For MariaDB, MySQL, Oracle, and PostgreSQL DB instances, must + be a multiple between .5 and 50 of the storage amount for the DB instance. + For SQL Server DB instances, must be a multiple between 1 and 50 of the storage + amount for the DB instance. + + + Amazon Aurora + + + Not applicable. Storage is managed by the DB cluster. format: int64 type: integer kmsKeyID: - description: "The Amazon Web Services KMS key identifier for an encrypted - DB instance. \n The Amazon Web Services KMS key identifier is the - key ARN, key ID, alias ARN, or alias name for the KMS key. To use - a KMS key in a different Amazon Web Services account, specify the - key ARN or alias ARN. \n Amazon Aurora \n Not applicable. The Amazon - Web Services KMS key identifier is managed by the DB cluster. For - more information, see CreateDBCluster. \n If StorageEncrypted is - enabled, and you do not specify a value for the KmsKeyId parameter, - then Amazon RDS uses your default KMS key. There is a default KMS - key for your Amazon Web Services account. Your Amazon Web Services - account has a different default KMS key for each Amazon Web Services - Region. \n Amazon RDS Custom \n A KMS key is required for RDS Custom - instances. For most RDS engines, if you leave this parameter empty - while enabling StorageEncrypted, the engine uses the default KMS - key. However, RDS Custom doesn't use the default key when this parameter - is empty. You must explicitly specify a key." + description: |- + The Amazon Web Services KMS key identifier for an encrypted DB instance. + + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. To use a KMS key in a different Amazon + Web Services account, specify the key ARN or alias ARN. + + + Amazon Aurora + + + Not applicable. The Amazon Web Services KMS key identifier is managed by + the DB cluster. For more information, see CreateDBCluster. + + + If StorageEncrypted is enabled, and you do not specify a value for the KmsKeyId + parameter, then Amazon RDS uses your default KMS key. There is a default + KMS key for your Amazon Web Services account. Your Amazon Web Services account + has a different default KMS key for each Amazon Web Services Region. + + + Amazon RDS Custom + + + A KMS key is required for RDS Custom instances. For most RDS engines, if + you leave this parameter empty while enabling StorageEncrypted, the engine + uses the default KMS key. However, RDS Custom doesn't use the default key + when this parameter is empty. You must explicitly specify a key. type: string kmsKeyRef: description: "AWSResourceReferenceWrapper provides a wrapper around - *AWSResourceReference type to provide more user friendly syntax - for references using 'from' field Ex: APIIDRef: \n from: name: my-api" + *AWSResourceReference\ntype to provide more user friendly syntax + for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t + \ name: my-api" properties: from: - description: AWSResourceReference provides all the values necessary - to reference another k8s resource for finding the identifier(Id/ARN/Name) + description: |- + AWSResourceReference provides all the values necessary to reference another + k8s resource for finding the identifier(Id/ARN/Name) properties: name: type: string type: object type: object licenseModel: - description: "License model information for this DB instance. \n Valid - values: license-included | bring-your-own-license | general-public-license - \n This setting doesn't apply to RDS Custom. \n Amazon Aurora \n - Not applicable." + description: |- + License model information for this DB instance. + + + Valid values: license-included | bring-your-own-license | general-public-license + + + This setting doesn't apply to RDS Custom. + + + Amazon Aurora + + + Not applicable. type: string manageMasterUserPassword: - description: "A value that indicates whether to manage the master - user password with Amazon Web Services Secrets Manager. \n For more - information, see Password management with Amazon Web Services Secrets + description: |- + A value that indicates whether to manage the master user password with Amazon + Web Services Secrets Manager. + + + For more information, see Password management with Amazon Web Services Secrets Manager (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the Amazon RDS User Guide. \n Constraints: \n * Can't manage - the master user password with Amazon Web Services Secrets Manager - if MasterUserPassword is specified." + in the Amazon RDS User Guide. + + + Constraints: + + + * Can't manage the master user password with Amazon Web Services Secrets + Manager if MasterUserPassword is specified. type: boolean masterUserPassword: - description: "The password for the master user. The password can include - any printable ASCII character except \"/\", \"\"\", or \"@\". \n - Amazon Aurora \n Not applicable. The password for the master user - is managed by the DB cluster. \n Constraints: Can't be specified - if ManageMasterUserPassword is turned on. \n MariaDB \n Constraints: - Must contain from 8 to 41 characters. \n Microsoft SQL Server \n - Constraints: Must contain from 8 to 128 characters. \n MySQL \n - Constraints: Must contain from 8 to 41 characters. \n Oracle \n - Constraints: Must contain from 8 to 30 characters. \n PostgreSQL - \n Constraints: Must contain from 8 to 128 characters." + description: |- + The password for the master user. The password can include any printable + ASCII character except "/", """, or "@". + + + Amazon Aurora + + + Not applicable. The password for the master user is managed by the DB cluster. + + + Constraints: Can't be specified if ManageMasterUserPassword is turned on. + + + MariaDB + + + Constraints: Must contain from 8 to 41 characters. + + + Microsoft SQL Server + + + Constraints: Must contain from 8 to 128 characters. + + + MySQL + + + Constraints: Must contain from 8 to 41 characters. + + + Oracle + + + Constraints: Must contain from 8 to 30 characters. + + + PostgreSQL + + + Constraints: Must contain from 8 to 128 characters. properties: key: description: Key is the key within the secret @@ -484,242 +1058,532 @@ spec: type: object x-kubernetes-map-type: atomic masterUserSecretKMSKeyID: - description: "The Amazon Web Services KMS key identifier to encrypt - a secret that is automatically generated and managed in Amazon Web - Services Secrets Manager. \n This setting is valid only if the master - user password is managed by RDS in Amazon Web Services Secrets Manager - for the DB instance. \n The Amazon Web Services KMS key identifier - is the key ARN, key ID, alias ARN, or alias name for the KMS key. - To use a KMS key in a different Amazon Web Services account, specify - the key ARN or alias ARN. \n If you don't specify MasterUserSecretKmsKeyId, - then the aws/secretsmanager KMS key is used to encrypt the secret. - If the secret is in a different Amazon Web Services account, then - you can't use the aws/secretsmanager KMS key to encrypt the secret, - and you must use a customer managed KMS key. \n There is a default - KMS key for your Amazon Web Services account. Your Amazon Web Services - account has a different default KMS key for each Amazon Web Services - Region." + description: |- + The Amazon Web Services KMS key identifier to encrypt a secret that is automatically + generated and managed in Amazon Web Services Secrets Manager. + + + This setting is valid only if the master user password is managed by RDS + in Amazon Web Services Secrets Manager for the DB instance. + + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. To use a KMS key in a different Amazon + Web Services account, specify the key ARN or alias ARN. + + + If you don't specify MasterUserSecretKmsKeyId, then the aws/secretsmanager + KMS key is used to encrypt the secret. If the secret is in a different Amazon + Web Services account, then you can't use the aws/secretsmanager KMS key to + encrypt the secret, and you must use a customer managed KMS key. + + + There is a default KMS key for your Amazon Web Services account. Your Amazon + Web Services account has a different default KMS key for each Amazon Web + Services Region. type: string masterUserSecretKMSKeyRef: description: "AWSResourceReferenceWrapper provides a wrapper around - *AWSResourceReference type to provide more user friendly syntax - for references using 'from' field Ex: APIIDRef: \n from: name: my-api" + *AWSResourceReference\ntype to provide more user friendly syntax + for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t + \ name: my-api" properties: from: - description: AWSResourceReference provides all the values necessary - to reference another k8s resource for finding the identifier(Id/ARN/Name) + description: |- + AWSResourceReference provides all the values necessary to reference another + k8s resource for finding the identifier(Id/ARN/Name) properties: name: type: string type: object type: object masterUsername: - description: "The name for the master user. \n Amazon Aurora \n Not - applicable. The name for the master user is managed by the DB cluster. - \n Amazon RDS \n Constraints: \n * Required. \n * Must be 1 to 16 - letters, numbers, or underscores. \n * First character must be a - letter. \n * Can't be a reserved word for the chosen database engine." + description: |- + The name for the master user. + + + Amazon Aurora + + + Not applicable. The name for the master user is managed by the DB cluster. + + + Amazon RDS + + + Constraints: + + + * Required. + + + * Must be 1 to 16 letters, numbers, or underscores. + + + * First character must be a letter. + + + * Can't be a reserved word for the chosen database engine. type: string maxAllocatedStorage: - description: "The upper limit in gibibytes (GiB) to which Amazon RDS - can automatically scale the storage of the DB instance. \n For more - information about this setting, including limitations that apply - to it, see Managing capacity automatically with Amazon RDS storage - autoscaling (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling) - in the Amazon RDS User Guide. \n This setting doesn't apply to RDS - Custom. \n Amazon Aurora \n Not applicable. Storage is managed by - the DB cluster." + description: |- + The upper limit in gibibytes (GiB) to which Amazon RDS can automatically + scale the storage of the DB instance. + + + For more information about this setting, including limitations that apply + to it, see Managing capacity automatically with Amazon RDS storage autoscaling + (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling) + in the Amazon RDS User Guide. + + + This setting doesn't apply to RDS Custom. + + + Amazon Aurora + + + Not applicable. Storage is managed by the DB cluster. format: int64 type: integer monitoringInterval: - description: "The interval, in seconds, between points when Enhanced - Monitoring metrics are collected for the DB instance. To disable - collection of Enhanced Monitoring metrics, specify 0. The default - is 0. \n If MonitoringRoleArn is specified, then you must set MonitoringInterval - to a value other than 0. \n This setting doesn't apply to RDS Custom. - \n Valid Values: 0, 1, 5, 10, 15, 30, 60" + description: |- + The interval, in seconds, between points when Enhanced Monitoring metrics + are collected for the DB instance. To disable collection of Enhanced Monitoring + metrics, specify 0. The default is 0. + + + If MonitoringRoleArn is specified, then you must set MonitoringInterval to + a value other than 0. + + + This setting doesn't apply to RDS Custom. + + + Valid Values: 0, 1, 5, 10, 15, 30, 60 format: int64 type: integer monitoringRoleARN: - description: "The ARN for the IAM role that permits RDS to send enhanced - monitoring metrics to Amazon CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess. - For information on creating a monitoring role, see Setting Up and - Enabling Enhanced Monitoring (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling) - in the Amazon RDS User Guide. \n If MonitoringInterval is set to - a value other than 0, then you must supply a MonitoringRoleArn value. - \n This setting doesn't apply to RDS Custom." + description: |- + The ARN for the IAM role that permits RDS to send enhanced monitoring metrics + to Amazon CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess. + For information on creating a monitoring role, see Setting Up and Enabling + Enhanced Monitoring (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling) + in the Amazon RDS User Guide. + + + If MonitoringInterval is set to a value other than 0, then you must supply + a MonitoringRoleArn value. + + + This setting doesn't apply to RDS Custom. type: string multiAZ: - description: "A value that indicates whether the DB instance is a - Multi-AZ deployment. You can't set the AvailabilityZone parameter - if the DB instance is a Multi-AZ deployment. \n This setting doesn't - apply to RDS Custom. \n Amazon Aurora \n Not applicable. DB instance - Availability Zones (AZs) are managed by the DB cluster." + description: |- + A value that indicates whether the DB instance is a Multi-AZ deployment. + You can't set the AvailabilityZone parameter if the DB instance is a Multi-AZ + deployment. + + + This setting doesn't apply to RDS Custom. + + + Amazon Aurora + + + Not applicable. DB instance Availability Zones (AZs) are managed by the DB + cluster. type: boolean ncharCharacterSetName: - description: "The name of the NCHAR character set for the Oracle DB - instance. \n This parameter doesn't apply to RDS Custom." + description: |- + The name of the NCHAR character set for the Oracle DB instance. + + + This parameter doesn't apply to RDS Custom. type: string networkType: - description: "The network type of the DB instance. \n Valid values: - \n * IPV4 \n * DUAL \n The network type is determined by the DBSubnetGroup - specified for the DB instance. A DBSubnetGroup can support only - the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL). \n + description: |- + The network type of the DB instance. + + + Valid values: + + + * IPV4 + + + * DUAL + + + The network type is determined by the DBSubnetGroup specified for the DB + instance. A DBSubnetGroup can support only the IPv4 protocol or the IPv4 + and the IPv6 protocols (DUAL). + + For more information, see Working with a DB instance in a VPC (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) - in the Amazon RDS User Guide." + in the Amazon RDS User Guide. type: string optionGroupName: - description: "A value that indicates that the DB instance should be - associated with the specified option group. \n Permanent options, - such as the TDE option for Oracle Advanced Security TDE, can't be - removed from an option group. Also, that option group can't be removed - from a DB instance after it is associated with a DB instance. \n - This setting doesn't apply to RDS Custom. \n Amazon Aurora \n Not - applicable." + description: |- + A value that indicates that the DB instance should be associated with the + specified option group. + + + Permanent options, such as the TDE option for Oracle Advanced Security TDE, + can't be removed from an option group. Also, that option group can't be removed + from a DB instance after it is associated with a DB instance. + + + This setting doesn't apply to RDS Custom. + + + Amazon Aurora + + + Not applicable. type: string performanceInsightsEnabled: - description: "A value that indicates whether to enable Performance - Insights for the DB instance. For more information, see Using Amazon - Performance Insights (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) - in the Amazon RDS User Guide. \n This setting doesn't apply to RDS - Custom." + description: |- + A value that indicates whether to enable Performance Insights for the DB + instance. For more information, see Using Amazon Performance Insights (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) + in the Amazon RDS User Guide. + + + This setting doesn't apply to RDS Custom. type: boolean performanceInsightsKMSKeyID: - description: "The Amazon Web Services KMS key identifier for encryption - of Performance Insights data. \n The Amazon Web Services KMS key - identifier is the key ARN, key ID, alias ARN, or alias name for - the KMS key. \n If you do not specify a value for PerformanceInsightsKMSKeyId, - then Amazon RDS uses your default KMS key. There is a default KMS - key for your Amazon Web Services account. Your Amazon Web Services - account has a different default KMS key for each Amazon Web Services - Region. \n This setting doesn't apply to RDS Custom." + description: |- + The Amazon Web Services KMS key identifier for encryption of Performance + Insights data. + + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + + + If you do not specify a value for PerformanceInsightsKMSKeyId, then Amazon + RDS uses your default KMS key. There is a default KMS key for your Amazon + Web Services account. Your Amazon Web Services account has a different default + KMS key for each Amazon Web Services Region. + + + This setting doesn't apply to RDS Custom. type: string performanceInsightsRetentionPeriod: - description: "The number of days to retain Performance Insights data. - The default is 7 days. The following values are valid: \n * 7 \n - * month * 31, where month is a number of months from 1-23 \n * 731 - \n For example, the following values are valid: \n * 93 (3 months - * 31) \n * 341 (11 months * 31) \n * 589 (19 months * 31) \n * 731 - \n If you specify a retention period such as 94, which isn't a valid - value, RDS issues an error. \n This setting doesn't apply to RDS - Custom." + description: |- + The number of days to retain Performance Insights data. The default is 7 + days. The following values are valid: + + + * 7 + + + * month * 31, where month is a number of months from 1-23 + + + * 731 + + + For example, the following values are valid: + + + * 93 (3 months * 31) + + + * 341 (11 months * 31) + + + * 589 (19 months * 31) + + + * 731 + + + If you specify a retention period such as 94, which isn't a valid value, + RDS issues an error. + + + This setting doesn't apply to RDS Custom. format: int64 type: integer port: - description: "The port number on which the database accepts connections. - \n MySQL \n Default: 3306 \n Valid values: 1150-65535 \n Type: Integer - \n MariaDB \n Default: 3306 \n Valid values: 1150-65535 \n Type: - Integer \n PostgreSQL \n Default: 5432 \n Valid values: 1150-65535 - \n Type: Integer \n Oracle \n Default: 1521 \n Valid values: 1150-65535 - \n SQL Server \n Default: 1433 \n Valid values: 1150-65535 except - 1234, 1434, 3260, 3343, 3389, 47001, and 49152-49156. \n Amazon - Aurora \n Default: 3306 \n Valid values: 1150-65535 \n Type: Integer" + description: |- + The port number on which the database accepts connections. + + + MySQL + + + Default: 3306 + + + Valid values: 1150-65535 + + + Type: Integer + + + MariaDB + + + Default: 3306 + + + Valid values: 1150-65535 + + + Type: Integer + + + PostgreSQL + + + Default: 5432 + + + Valid values: 1150-65535 + + + Type: Integer + + + Oracle + + + Default: 1521 + + + Valid values: 1150-65535 + + + SQL Server + + + Default: 1433 + + + Valid values: 1150-65535 except 1234, 1434, 3260, 3343, 3389, 47001, and + 49152-49156. + + + Amazon Aurora + + + Default: 3306 + + + Valid values: 1150-65535 + + + Type: Integer format: int64 type: integer preSignedURL: - description: "When you are creating a read replica from one Amazon - Web Services GovCloud (US) Region to another or from one China Amazon - Web Services Region to another, the URL that contains a Signature - Version 4 signed request for the CreateDBInstanceReadReplica API - operation in the source Amazon Web Services Region that contains - the source DB instance. \n This setting applies only to Amazon Web - Services GovCloud (US) Regions and China Amazon Web Services Regions. - It's ignored in other Amazon Web Services Regions. \n This setting - applies only when replicating from a source DB instance. Source - DB clusters aren't supported in Amazon Web Services GovCloud (US) - Regions and China Amazon Web Services Regions. \n You must specify - this parameter when you create an encrypted read replica from another - Amazon Web Services Region by using the Amazon RDS API. Don't specify - PreSignedUrl when you are creating an encrypted read replica in - the same Amazon Web Services Region. \n The presigned URL must be - a valid request for the CreateDBInstanceReadReplica API operation - that can run in the source Amazon Web Services Region that contains - the encrypted source DB instance. The presigned URL request must - contain the following parameter values: \n * DestinationRegion - - The Amazon Web Services Region that the encrypted read replica is - created in. This Amazon Web Services Region is the same one where - the CreateDBInstanceReadReplica operation is called that contains - this presigned URL. For example, if you create an encrypted DB instance - in the us-west-1 Amazon Web Services Region, from a source DB instance - in the us-east-2 Amazon Web Services Region, then you call the CreateDBInstanceReadReplica - operation in the us-east-1 Amazon Web Services Region and provide - a presigned URL that contains a call to the CreateDBInstanceReadReplica - operation in the us-west-2 Amazon Web Services Region. For this - example, the DestinationRegion in the presigned URL must be set - to the us-east-1 Amazon Web Services Region. \n * KmsKeyId - The - KMS key identifier for the key to use to encrypt the read replica - in the destination Amazon Web Services Region. This is the same - identifier for both the CreateDBInstanceReadReplica operation that - is called in the destination Amazon Web Services Region, and the - operation contained in the presigned URL. \n * SourceDBInstanceIdentifier - - The DB instance identifier for the encrypted DB instance to be - replicated. This identifier must be in the Amazon Resource Name - (ARN) format for the source Amazon Web Services Region. For example, - if you are creating an encrypted read replica from a DB instance - in the us-west-2 Amazon Web Services Region, then your SourceDBInstanceIdentifier - looks like the following example: arn:aws:rds:us-west-2:123456789012:instance:mysql-instance1-20161115. - \n To learn how to generate a Signature Version 4 signed request, - see Authenticating Requests: Using Query Parameters (Amazon Web - Services Signature Version 4) (https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) + description: |- + When you are creating a read replica from one Amazon Web Services GovCloud + (US) Region to another or from one China Amazon Web Services Region to another, + the URL that contains a Signature Version 4 signed request for the CreateDBInstanceReadReplica + API operation in the source Amazon Web Services Region that contains the + source DB instance. + + + This setting applies only to Amazon Web Services GovCloud (US) Regions and + China Amazon Web Services Regions. It's ignored in other Amazon Web Services + Regions. + + + This setting applies only when replicating from a source DB instance. Source + DB clusters aren't supported in Amazon Web Services GovCloud (US) Regions + and China Amazon Web Services Regions. + + + You must specify this parameter when you create an encrypted read replica + from another Amazon Web Services Region by using the Amazon RDS API. Don't + specify PreSignedUrl when you are creating an encrypted read replica in the + same Amazon Web Services Region. + + + The presigned URL must be a valid request for the CreateDBInstanceReadReplica + API operation that can run in the source Amazon Web Services Region that + contains the encrypted source DB instance. The presigned URL request must + contain the following parameter values: + + + * DestinationRegion - The Amazon Web Services Region that the encrypted + read replica is created in. This Amazon Web Services Region is the same + one where the CreateDBInstanceReadReplica operation is called that contains + this presigned URL. For example, if you create an encrypted DB instance + in the us-west-1 Amazon Web Services Region, from a source DB instance + in the us-east-2 Amazon Web Services Region, then you call the CreateDBInstanceReadReplica + operation in the us-east-1 Amazon Web Services Region and provide a presigned + URL that contains a call to the CreateDBInstanceReadReplica operation + in the us-west-2 Amazon Web Services Region. For this example, the DestinationRegion + in the presigned URL must be set to the us-east-1 Amazon Web Services + Region. + + + * KmsKeyId - The KMS key identifier for the key to use to encrypt the + read replica in the destination Amazon Web Services Region. This is the + same identifier for both the CreateDBInstanceReadReplica operation that + is called in the destination Amazon Web Services Region, and the operation + contained in the presigned URL. + + + * SourceDBInstanceIdentifier - The DB instance identifier for the encrypted + DB instance to be replicated. This identifier must be in the Amazon Resource + Name (ARN) format for the source Amazon Web Services Region. For example, + if you are creating an encrypted read replica from a DB instance in the + us-west-2 Amazon Web Services Region, then your SourceDBInstanceIdentifier + looks like the following example: arn:aws:rds:us-west-2:123456789012:instance:mysql-instance1-20161115. + + + To learn how to generate a Signature Version 4 signed request, see Authenticating + Requests: Using Query Parameters (Amazon Web Services Signature Version 4) + (https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) and Signature Version 4 Signing Process (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). - \n If you are using an Amazon Web Services SDK tool or the CLI, - you can specify SourceRegion (or --source-region for the CLI) instead - of specifying PreSignedUrl manually. Specifying SourceRegion autogenerates - a presigned URL that is a valid request for the operation that can - run in the source Amazon Web Services Region. \n SourceRegion isn't - supported for SQL Server, because Amazon RDS for SQL Server doesn't - support cross-Region read replicas. \n This setting doesn't apply - to RDS Custom." + + + If you are using an Amazon Web Services SDK tool or the CLI, you can specify + SourceRegion (or --source-region for the CLI) instead of specifying PreSignedUrl + manually. Specifying SourceRegion autogenerates a presigned URL that is a + valid request for the operation that can run in the source Amazon Web Services + Region. + + + SourceRegion isn't supported for SQL Server, because Amazon RDS for SQL Server + doesn't support cross-Region read replicas. + + + This setting doesn't apply to RDS Custom. type: string preferredBackupWindow: - description: "The daily time range during which automated backups - are created if automated backups are enabled, using the BackupRetentionPeriod - parameter. The default is a 30-minute window selected at random - from an 8-hour block of time for each Amazon Web Services Region. - For more information, see Backup window (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow) - in the Amazon RDS User Guide. \n Amazon Aurora \n Not applicable. - The daily time range for creating automated backups is managed by - the DB cluster. \n Constraints: \n * Must be in the format hh24:mi-hh24:mi. - \n * Must be in Universal Coordinated Time (UTC). \n * Must not - conflict with the preferred maintenance window. \n * Must be at - least 30 minutes." + description: |- + The daily time range during which automated backups are created if automated + backups are enabled, using the BackupRetentionPeriod parameter. The default + is a 30-minute window selected at random from an 8-hour block of time for + each Amazon Web Services Region. For more information, see Backup window + (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow) + in the Amazon RDS User Guide. + + + Amazon Aurora + + + Not applicable. The daily time range for creating automated backups is managed + by the DB cluster. + + + Constraints: + + + * Must be in the format hh24:mi-hh24:mi. + + + * Must be in Universal Coordinated Time (UTC). + + + * Must not conflict with the preferred maintenance window. + + + * Must be at least 30 minutes. type: string preferredMaintenanceWindow: - description: "The time range each week during which system maintenance - can occur, in Universal Coordinated Time (UTC). For more information, - see Amazon RDS Maintenance Window (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance). - \n Format: ddd:hh24:mi-ddd:hh24:mi \n The default is a 30-minute - window selected at random from an 8-hour block of time for each - Amazon Web Services Region, occurring on a random day of the week. - \n Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. \n Constraints: - Minimum 30-minute window." + description: |- + The time range each week during which system maintenance can occur, in Universal + Coordinated Time (UTC). For more information, see Amazon RDS Maintenance + Window (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance). + + + Format: ddd:hh24:mi-ddd:hh24:mi + + + The default is a 30-minute window selected at random from an 8-hour block + of time for each Amazon Web Services Region, occurring on a random day of + the week. + + + Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. + + + Constraints: Minimum 30-minute window. type: string processorFeatures: - description: "The number of CPU cores and the number of threads per - core for the DB instance class of the DB instance. \n This setting - doesn't apply to RDS Custom. \n Amazon Aurora \n Not applicable." + description: |- + The number of CPU cores and the number of threads per core for the DB instance + class of the DB instance. + + + This setting doesn't apply to RDS Custom. + + + Amazon Aurora + + + Not applicable. items: - description: "Contains the processor features of a DB instance class. - \n To specify the number of CPU cores, use the coreCount feature - name for the Name parameter. To specify the number of threads - per core, use the threadsPerCore feature name for the Name parameter. - \n You can set the processor features of the DB instance class - for a DB instance when you call one of the following actions: - \n * CreateDBInstance \n * ModifyDBInstance \n * RestoreDBInstanceFromDBSnapshot - \n * RestoreDBInstanceFromS3 \n * RestoreDBInstanceToPointInTime - \n You can view the valid processor values for a particular instance - class by calling the DescribeOrderableDBInstanceOptions action - and specifying the instance class for the DBInstanceClass parameter. - \n In addition, you can use the following actions for DB instance - class processor information: \n * DescribeDBInstances \n * DescribeDBSnapshots - \n * DescribeValidDBInstanceModifications \n If you call DescribeDBInstances, - ProcessorFeature returns non-null values only if the following - conditions are met: \n * You are accessing an Oracle DB instance. - \n * Your Oracle DB instance class supports configuring the number - of CPU cores and threads per core. \n * The current number CPU - cores and threads is set to a non-default value. \n For more information, - see Configuring the Processor of the DB Instance Class (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor) - in the Amazon RDS User Guide." + description: |- + Contains the processor features of a DB instance class. + + + To specify the number of CPU cores, use the coreCount feature name for the + Name parameter. To specify the number of threads per core, use the threadsPerCore + feature name for the Name parameter. + + + You can set the processor features of the DB instance class for a DB instance + when you call one of the following actions: + + + * CreateDBInstance + + + * ModifyDBInstance + + + * RestoreDBInstanceFromDBSnapshot + + + * RestoreDBInstanceFromS3 + + + * RestoreDBInstanceToPointInTime + + + You can view the valid processor values for a particular instance class by + calling the DescribeOrderableDBInstanceOptions action and specifying the + instance class for the DBInstanceClass parameter. + + + In addition, you can use the following actions for DB instance class processor + information: + + + * DescribeDBInstances + + + * DescribeDBSnapshots + + + * DescribeValidDBInstanceModifications + + + If you call DescribeDBInstances, ProcessorFeature returns non-null values + only if the following conditions are met: + + + * You are accessing an Oracle DB instance. + + + * Your Oracle DB instance class supports configuring the number of CPU + cores and threads per core. + + + * The current number CPU cores and threads is set to a non-default value. + + + For more information, see Configuring the Processor of the DB Instance Class + (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor) + in the Amazon RDS User Guide. properties: name: type: string @@ -728,109 +1592,193 @@ spec: type: object type: array promotionTier: - description: "A value that specifies the order in which an Aurora - Replica is promoted to the primary instance after a failure of the - existing primary instance. For more information, see Fault Tolerance - for an Aurora DB Cluster (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.FaultTolerance) - in the Amazon Aurora User Guide. \n This setting doesn't apply to - RDS Custom. \n Default: 1 \n Valid Values: 0 - 15" + description: |- + A value that specifies the order in which an Aurora Replica is promoted to + the primary instance after a failure of the existing primary instance. For + more information, see Fault Tolerance for an Aurora DB Cluster (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.FaultTolerance) + in the Amazon Aurora User Guide. + + + This setting doesn't apply to RDS Custom. + + + Default: 1 + + + Valid Values: 0 - 15 format: int64 type: integer publiclyAccessible: - description: "A value that indicates whether the DB instance is publicly - accessible. \n When the DB instance is publicly accessible, its - Domain Name System (DNS) endpoint resolves to the private IP address - from within the DB instance's virtual private cloud (VPC). It resolves - to the public IP address from outside of the DB instance's VPC. - Access to the DB instance is ultimately controlled by the security - group it uses. That public access is not permitted if the security - group assigned to the DB instance doesn't permit it. \n When the - DB instance isn't publicly accessible, it is an internal DB instance - with a DNS name that resolves to a private IP address. \n Default: - The default behavior varies depending on whether DBSubnetGroupName - is specified. \n If DBSubnetGroupName isn't specified, and PubliclyAccessible - isn't specified, the following applies: \n * If the default VPC - in the target Region doesn’t have an internet gateway attached to - it, the DB instance is private. \n * If the default VPC in the target - Region has an internet gateway attached to it, the DB instance is - public. \n If DBSubnetGroupName is specified, and PubliclyAccessible - isn't specified, the following applies: \n * If the subnets are - part of a VPC that doesn’t have an internet gateway attached to - it, the DB instance is private. \n * If the subnets are part of - a VPC that has an internet gateway attached to it, the DB instance - is public." + description: |- + A value that indicates whether the DB instance is publicly accessible. + + + When the DB instance is publicly accessible, its Domain Name System (DNS) + endpoint resolves to the private IP address from within the DB instance's + virtual private cloud (VPC). It resolves to the public IP address from outside + of the DB instance's VPC. Access to the DB instance is ultimately controlled + by the security group it uses. That public access is not permitted if the + security group assigned to the DB instance doesn't permit it. + + + When the DB instance isn't publicly accessible, it is an internal DB instance + with a DNS name that resolves to a private IP address. + + + Default: The default behavior varies depending on whether DBSubnetGroupName + is specified. + + + If DBSubnetGroupName isn't specified, and PubliclyAccessible isn't specified, + the following applies: + + + * If the default VPC in the target Region doesn’t have an internet gateway + attached to it, the DB instance is private. + + + * If the default VPC in the target Region has an internet gateway attached + to it, the DB instance is public. + + + If DBSubnetGroupName is specified, and PubliclyAccessible isn't specified, + the following applies: + + + * If the subnets are part of a VPC that doesn’t have an internet gateway + attached to it, the DB instance is private. + + + * If the subnets are part of a VPC that has an internet gateway attached + to it, the DB instance is public. type: boolean replicaMode: - description: "The open mode of the replica database: mounted or read-only. - \n This parameter is only supported for Oracle DB instances. \n - Mounted DB replicas are included in Oracle Database Enterprise Edition. - The main use case for mounted replicas is cross-Region disaster - recovery. The primary database doesn't use Active Data Guard to - transmit information to the mounted replica. Because it doesn't - accept user connections, a mounted replica can't serve a read-only - workload. \n You can create a combination of mounted and read-only - DB replicas for the same primary DB instance. For more information, - see Working with Oracle Read Replicas for Amazon RDS (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html) - in the Amazon RDS User Guide. \n For RDS Custom, you must specify - this parameter and set it to mounted. The value won't be set by - default. After replica creation, you can manage the open mode manually." + description: |- + The open mode of the replica database: mounted or read-only. + + + This parameter is only supported for Oracle DB instances. + + + Mounted DB replicas are included in Oracle Database Enterprise Edition. The + main use case for mounted replicas is cross-Region disaster recovery. The + primary database doesn't use Active Data Guard to transmit information to + the mounted replica. Because it doesn't accept user connections, a mounted + replica can't serve a read-only workload. + + + You can create a combination of mounted and read-only DB replicas for the + same primary DB instance. For more information, see Working with Oracle Read + Replicas for Amazon RDS (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html) + in the Amazon RDS User Guide. + + + For RDS Custom, you must specify this parameter and set it to mounted. The + value won't be set by default. After replica creation, you can manage the + open mode manually. type: string sourceDBInstanceIdentifier: - description: "The identifier of the DB instance that will act as the - source for the read replica. Each DB instance can have up to 15 - read replicas, with the exception of Oracle and SQL Server, which - can have up to five. \n Constraints: \n * Must be the identifier - of an existing MySQL, MariaDB, Oracle, PostgreSQL, or SQL Server - DB instance. \n * Can't be specified if the SourceDBClusterIdentifier - parameter is also specified. \n * For the limitations of Oracle - read replicas, see Version and licensing considerations for RDS - for Oracle replicas (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.limitations.html#oracle-read-replicas.limitations.versions-and-licenses) - in the Amazon RDS User Guide. \n * For the limitations of SQL Server - read replicas, see Read replica limitations with SQL Server (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.ReadReplicas.html#SQLServer.ReadReplicas.Limitations) - in the Amazon RDS User Guide. \n * The specified DB instance must - have automatic backups enabled, that is, its backup retention period - must be greater than 0. \n * If the source DB instance is in the - same Amazon Web Services Region as the read replica, specify a valid - DB instance identifier. \n * If the source DB instance is in a different - Amazon Web Services Region from the read replica, specify a valid - DB instance ARN. For more information, see Constructing an ARN for - Amazon RDS (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing) - in the Amazon RDS User Guide. This doesn't apply to SQL Server or - RDS Custom, which don't support cross-Region replicas." + description: |- + The identifier of the DB instance that will act as the source for the read + replica. Each DB instance can have up to 15 read replicas, with the exception + of Oracle and SQL Server, which can have up to five. + + + Constraints: + + + * Must be the identifier of an existing MySQL, MariaDB, Oracle, PostgreSQL, + or SQL Server DB instance. + + + * Can't be specified if the SourceDBClusterIdentifier parameter is also + specified. + + + * For the limitations of Oracle read replicas, see Version and licensing + considerations for RDS for Oracle replicas (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.limitations.html#oracle-read-replicas.limitations.versions-and-licenses) + in the Amazon RDS User Guide. + + + * For the limitations of SQL Server read replicas, see Read replica limitations + with SQL Server (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.ReadReplicas.html#SQLServer.ReadReplicas.Limitations) + in the Amazon RDS User Guide. + + + * The specified DB instance must have automatic backups enabled, that + is, its backup retention period must be greater than 0. + + + * If the source DB instance is in the same Amazon Web Services Region + as the read replica, specify a valid DB instance identifier. + + + * If the source DB instance is in a different Amazon Web Services Region + from the read replica, specify a valid DB instance ARN. For more information, + see Constructing an ARN for Amazon RDS (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing) + in the Amazon RDS User Guide. This doesn't apply to SQL Server or RDS + Custom, which don't support cross-Region replicas. type: string sourceRegion: - description: SourceRegion is the source region where the resource - exists. This is not sent over the wire and is only used for presigning. - This value should always have the same region as the source ARN. + description: |- + SourceRegion is the source region where the resource exists. This is not + sent over the wire and is only used for presigning. This value should always + have the same region as the source ARN. type: string storageEncrypted: - description: "A value that indicates whether the DB instance is encrypted. - By default, it isn't encrypted. \n For RDS Custom instances, either - set this parameter to true or leave it unset. If you set this parameter - to false, RDS reports an error. \n Amazon Aurora \n Not applicable. - The encryption for DB instances is managed by the DB cluster." + description: |- + A value that indicates whether the DB instance is encrypted. By default, + it isn't encrypted. + + + For RDS Custom instances, either set this parameter to true or leave it unset. + If you set this parameter to false, RDS reports an error. + + + Amazon Aurora + + + Not applicable. The encryption for DB instances is managed by the DB cluster. type: boolean storageThroughput: - description: "Specifies the storage throughput value for the DB instance. - \n This setting applies only to the gp3 storage type. \n This setting - doesn't apply to RDS Custom or Amazon Aurora." + description: |- + Specifies the storage throughput value for the DB instance. + + + This setting applies only to the gp3 storage type. + + + This setting doesn't apply to RDS Custom or Amazon Aurora. format: int64 type: integer storageType: - description: "Specifies the storage type to be associated with the - DB instance. \n Valid values: gp2 | gp3 | io1 | standard \n If you - specify io1 or gp3, you must also include a value for the Iops parameter. - \n Default: io1 if the Iops parameter is specified, otherwise gp2 - \n Amazon Aurora \n Not applicable. Storage is managed by the DB - cluster." + description: |- + Specifies the storage type to be associated with the DB instance. + + + Valid values: gp2 | gp3 | io1 | standard + + + If you specify io1 or gp3, you must also include a value for the Iops parameter. + + + Default: io1 if the Iops parameter is specified, otherwise gp2 + + + Amazon Aurora + + + Not applicable. Storage is managed by the DB cluster. type: string tags: description: Tags to assign to the DB instance. items: - description: "Metadata assigned to an Amazon RDS resource consisting - of a key-value pair. \n For more information, see Tagging Amazon - RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the Amazon RDS User Guide." + description: |- + Metadata assigned to an Amazon RDS resource consisting of a key-value pair. + + + For more information, see Tagging Amazon RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the Amazon RDS User Guide. properties: key: type: string @@ -839,43 +1787,66 @@ spec: type: object type: array tdeCredentialARN: - description: "The ARN from the key store with which to associate the - instance for TDE encryption. \n This setting doesn't apply to RDS - Custom. \n Amazon Aurora \n Not applicable." + description: |- + The ARN from the key store with which to associate the instance for TDE encryption. + + + This setting doesn't apply to RDS Custom. + + + Amazon Aurora + + + Not applicable. type: string tdeCredentialPassword: - description: "The password for the given ARN from the key store in - order to access the device. \n This setting doesn't apply to RDS - Custom." + description: |- + The password for the given ARN from the key store in order to access the + device. + + + This setting doesn't apply to RDS Custom. type: string timezone: - description: The time zone of the DB instance. The time zone parameter - is currently supported only by Microsoft SQL Server (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone). + description: |- + The time zone of the DB instance. The time zone parameter is currently supported + only by Microsoft SQL Server (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone). type: string useDefaultProcessorFeatures: - description: "A value that indicates whether the DB instance class - of the DB instance uses its default processor features. \n This - setting doesn't apply to RDS Custom." + description: |- + A value that indicates whether the DB instance class of the DB instance uses + its default processor features. + + + This setting doesn't apply to RDS Custom. type: boolean vpcSecurityGroupIDs: - description: "A list of Amazon EC2 VPC security groups to associate - with this DB instance. \n Amazon Aurora \n Not applicable. The associated - list of EC2 VPC security groups is managed by the DB cluster. \n - Default: The default EC2 VPC security group for the DB subnet group's - VPC." + description: |- + A list of Amazon EC2 VPC security groups to associate with this DB instance. + + + Amazon Aurora + + + Not applicable. The associated list of EC2 VPC security groups is managed + by the DB cluster. + + + Default: The default EC2 VPC security group for the DB subnet group's VPC. items: type: string type: array vpcSecurityGroupRefs: items: description: "AWSResourceReferenceWrapper provides a wrapper around - *AWSResourceReference type to provide more user friendly syntax - for references using 'from' field Ex: APIIDRef: \n from: name: - my-api" + *AWSResourceReference\ntype to provide more user friendly syntax + for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t + \ name: my-api" properties: from: - description: AWSResourceReference provides all the values necessary - to reference another k8s resource for finding the identifier(Id/ARN/Name) + description: |- + AWSResourceReference provides all the values necessary to reference another + k8s resource for finding the identifier(Id/ARN/Name) properties: name: type: string @@ -891,24 +1862,26 @@ spec: description: DBInstanceStatus defines the observed state of DBInstance properties: ackResourceMetadata: - description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` - member that is used to contain resource sync state, account ownership, + description: |- + All CRs managed by ACK have a common `Status.ACKResourceMetadata` member + that is used to contain resource sync state, account ownership, constructed ARN for the resource properties: arn: - description: 'ARN is the Amazon Resource Name for the resource. - This is a globally-unique identifier and is set only by the - ACK service controller once the controller has orchestrated - the creation of the resource OR when it has verified that an - "adopted" resource (a resource where the ARN annotation was - set by the Kubernetes user on the CR) exists and matches the - supplied CR''s Spec field values. TODO(vijat@): Find a better - strategy for resources that do not have ARN in CreateOutputResponse - https://github.com/aws/aws-controllers-k8s/issues/270' + description: |- + ARN is the Amazon Resource Name for the resource. This is a + globally-unique identifier and is set only by the ACK service controller + once the controller has orchestrated the creation of the resource OR + when it has verified that an "adopted" resource (a resource where the + ARN annotation was set by the Kubernetes user on the CR) exists and + matches the supplied CR's Spec field values. + TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270 type: string ownerAccountID: - description: OwnerAccountID is the AWS Account ID of the account - that owns the backend AWS service API resource. + description: |- + OwnerAccountID is the AWS Account ID of the account that owns the + backend AWS service API resource. type: string region: description: Region is the AWS region in which the resource exists @@ -919,23 +1892,26 @@ spec: - region type: object activityStreamEngineNativeAuditFieldsIncluded: - description: Indicates whether engine-native audit fields are included - in the database activity stream. + description: |- + Indicates whether engine-native audit fields are included in the database + activity stream. type: boolean activityStreamKMSKeyID: - description: The Amazon Web Services KMS key identifier used for encrypting - messages in the database activity stream. The Amazon Web Services - KMS key identifier is the key ARN, key ID, alias ARN, or alias name - for the KMS key. + description: |- + The Amazon Web Services KMS key identifier used for encrypting messages in + the database activity stream. The Amazon Web Services KMS key identifier + is the key ARN, key ID, alias ARN, or alias name for the KMS key. type: string activityStreamKinesisStreamName: - description: The name of the Amazon Kinesis data stream used for the - database activity stream. + description: |- + The name of the Amazon Kinesis data stream used for the database activity + stream. type: string activityStreamMode: - description: The mode of the database activity stream. Database events - such as a change or access generate an activity stream event. RDS - for Oracle always handles these events asynchronously. + description: |- + The mode of the database activity stream. Database events such as a change + or access generate an activity stream event. RDS for Oracle always handles + these events asynchronously. type: string activityStreamPolicyStatus: description: The status of the policy state of the activity stream. @@ -944,11 +1920,13 @@ spec: description: The status of the database activity stream. type: string associatedRoles: - description: The Amazon Web Services Identity and Access Management - (IAM) roles associated with the DB instance. + description: |- + The Amazon Web Services Identity and Access Management (IAM) roles associated + with the DB instance. items: - description: Describes an Amazon Web Services Identity and Access - Management (IAM) role that is associated with a DB instance. + description: |- + Describes an Amazon Web Services Identity and Access Management (IAM) role + that is associated with a DB instance. properties: featureName: type: string @@ -963,14 +1941,15 @@ spec: format: date-time type: string automationMode: - description: 'The automation mode of the RDS Custom DB instance: full - or all paused. If full, the DB instance automates monitoring and - instance recovery. If all paused, the instance pauses automation - for the duration set by --resume-full-automation-mode-minutes.' + description: |- + The automation mode of the RDS Custom DB instance: full or all paused. If + full, the DB instance automates monitoring and instance recovery. If all + paused, the instance pauses automation for the duration set by --resume-full-automation-mode-minutes. type: string awsBackupRecoveryPointARN: - description: The Amazon Resource Name (ARN) of the recovery point - in Amazon Web Services Backup. + description: |- + The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services + Backup. type: string certificateDetails: description: The details of the DB instance's server certificate. @@ -982,14 +1961,16 @@ spec: type: string type: object conditions: - description: All CRS managed by ACK have a common `Status.Conditions` - member that contains a collection of `ackv1alpha1.Condition` objects - that describe the various terminal states of the CR and its backend - AWS service API resource + description: |- + All CRS managed by ACK have a common `Status.Conditions` member that + contains a collection of `ackv1alpha1.Condition` objects that describe + the various terminal states of the CR and its backend AWS service API + resource items: - description: Condition is the common struct used by all CRDs managed - by ACK service controllers to indicate terminal states of the - CR and its backend AWS service API resource + description: |- + Condition is the common struct used by all CRDs managed by ACK service + controllers to indicate terminal states of the CR and its backend AWS + service API resource properties: lastTransitionTime: description: Last time the condition transitioned from one status @@ -1015,50 +1996,80 @@ spec: type: object type: array customerOwnedIPEnabled: - description: "Specifies whether a customer-owned IP address (CoIP) - is enabled for an RDS on Outposts DB instance. \n A CoIP provides - local or external connectivity to resources in your Outpost subnets - through your on-premises network. For some use cases, a CoIP can - provide lower latency for connections to the DB instance from outside - of its virtual private cloud (VPC) on your local network. \n For - more information about RDS on Outposts, see Working with 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. \n For more information about CoIPs, - see Customer-owned IP addresses (https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) - in the Amazon Web Services Outposts User Guide." + description: |- + Specifies whether a customer-owned IP address (CoIP) is enabled for an RDS + on Outposts DB instance. + + + A CoIP provides local or external connectivity to resources in your Outpost + subnets through your on-premises network. For some use cases, a CoIP can + provide lower latency for connections to the DB instance from outside of + its virtual private cloud (VPC) on your local network. + + + For more information about RDS on Outposts, see Working with 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. + + + For more information about CoIPs, see Customer-owned IP addresses (https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) + in the Amazon Web Services Outposts User Guide. type: boolean dbInstanceAutomatedBackupsReplications: description: The list of replicated automated backups associated with the DB instance. items: - description: Automated backups of a DB instance replicated to another - Amazon Web Services Region. They consist of system backups, transaction - logs, and database instance properties. + description: |- + Automated backups of a DB instance replicated to another Amazon Web Services + Region. They consist of system backups, transaction logs, and database instance + properties. properties: dbInstanceAutomatedBackupsARN: type: string type: object type: array dbInstancePort: - description: Specifies the port that the DB instance listens on. If - the DB instance is part of a DB cluster, this can be a different - port than the DB cluster port. + description: |- + Specifies the port that the DB instance listens on. If the DB instance is + part of a DB cluster, this can be a different port than the DB cluster port. format: int64 type: integer dbInstanceStatus: - description: "Specifies the current state of this database. \n For - information about DB instance statuses, see Viewing DB instance - status (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/accessing-monitoring.html#Overview.DBInstance.Status) - in the Amazon RDS User Guide." + description: |- + Specifies the current state of this database. + + + For information about DB instance statuses, see Viewing DB instance status + (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/accessing-monitoring.html#Overview.DBInstance.Status) + in the Amazon RDS User Guide. type: string dbParameterGroups: description: Provides the list of DB parameter groups applied to this DB instance. items: - description: "The status of the DB parameter group. \n This data - type is used as a response element in the following actions: \n - * CreateDBInstance \n * CreateDBInstanceReadReplica \n * DeleteDBInstance - \n * ModifyDBInstance \n * RebootDBInstance \n * RestoreDBInstanceFromDBSnapshot" + description: |- + The status of the DB parameter group. + + + This data type is used as a response element in the following actions: + + + * CreateDBInstance + + + * CreateDBInstanceReadReplica + + + * DeleteDBInstance + + + * ModifyDBInstance + + + * RebootDBInstance + + + * RestoreDBInstanceFromDBSnapshot properties: dbParameterGroupName: type: string @@ -1067,9 +2078,9 @@ spec: type: object type: array dbSubnetGroup: - description: Specifies information on the subnet group associated - with the DB instance, including the name, description, and subnets - in the subnet group. + description: |- + Specifies information on the subnet group associated with the DB instance, + including the name, description, and subnets in the subnet group. properties: dbSubnetGroupARN: type: string @@ -1081,13 +2092,17 @@ spec: type: string subnets: items: - description: This data type is used as a response element for - the DescribeDBSubnetGroups operation. + description: |- + This data type is used as a response element for the DescribeDBSubnetGroups + operation. properties: subnetAvailabilityZone: - description: "Contains Availability Zone information. \n - This data type is used as an element in the OrderableDBInstanceOption - data type." + description: |- + Contains Availability Zone information. + + + This data type is used as an element in the OrderableDBInstanceOption data + type. properties: name: type: string @@ -1095,10 +2110,13 @@ spec: subnetIdentifier: type: string subnetOutpost: - description: "A data type that represents an Outpost. \n - 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." + description: |- + 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. properties: arn: type: string @@ -1115,22 +2133,23 @@ spec: type: string type: object dbSystemID: - description: The Oracle system ID (Oracle SID) for a container database - (CDB). The Oracle SID is also the name of the CDB. This setting - is valid for RDS Custom only. + description: |- + The Oracle system ID (Oracle SID) for a container database (CDB). The Oracle + SID is also the name of the CDB. This setting is valid for RDS Custom only. type: string dbiResourceID: - description: The Amazon Web Services Region-unique, immutable identifier - for the DB instance. This identifier is found in Amazon Web Services - CloudTrail log entries whenever the Amazon Web Services KMS key - for the DB instance is accessed. + description: |- + The Amazon Web Services Region-unique, immutable identifier for the DB instance. + This identifier is found in Amazon Web Services CloudTrail log entries whenever + the Amazon Web Services KMS key for the DB instance is accessed. type: string domainMemberships: description: The Active Directory Domain membership records associated with the DB instance. items: - description: An Active Directory Domain membership record associated - with the DB instance or cluster. + description: |- + An Active Directory Domain membership record associated with the DB instance + or cluster. properties: domain: type: string @@ -1143,17 +2162,23 @@ spec: type: object type: array enabledCloudwatchLogsExports: - description: "A list of log types that this DB instance is configured - to export to CloudWatch Logs. \n 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." + description: |- + 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. items: type: string type: array endpoint: - description: "Specifies the connection endpoint. \n The endpoint might - not be shown for instances whose status is creating." + description: |- + Specifies the connection endpoint. + + + The endpoint might not be shown for instances whose status is creating. properties: address: type: string @@ -1164,26 +2189,36 @@ spec: type: integer type: object enhancedMonitoringResourceARN: - description: The Amazon Resource Name (ARN) of the Amazon CloudWatch - Logs log stream that receives the Enhanced Monitoring metrics data - for the DB instance. + description: |- + The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that + receives the Enhanced Monitoring metrics data for the DB instance. type: string iamDatabaseAuthenticationEnabled: - description: "True if mapping of Amazon Web Services Identity and - Access Management (IAM) accounts to database accounts is enabled, - and otherwise false. \n IAM database authentication can be enabled - for the following database engines \n * For MySQL 5.6, minor version - 5.6.34 or higher \n * For MySQL 5.7, minor version 5.7.16 or higher - \n * Aurora 5.6 or higher. To enable IAM database authentication - for Aurora, see DBCluster Type." + description: |- + True if mapping of Amazon Web Services Identity and Access Management (IAM) + accounts to database accounts is enabled, and otherwise false. + + + IAM database authentication can be enabled for the following database engines + + + * For MySQL 5.6, minor version 5.6.34 or higher + + + * For MySQL 5.7, minor version 5.7.16 or higher + + + * Aurora 5.6 or higher. To enable IAM database authentication for Aurora, + see DBCluster Type. type: boolean instanceCreateTime: description: Provides the date and time the DB instance was created. format: date-time type: string latestRestorableTime: - description: Specifies the latest time to which a database can be - restored with point-in-time restore. + description: |- + Specifies the latest time to which a database can be restored with point-in-time + restore. format: date-time type: string listenerEndpoint: @@ -1199,11 +2234,14 @@ spec: type: integer type: object masterUserSecret: - description: "Contains the secret managed by RDS in Amazon Web Services - Secrets Manager for the master user password. \n For more information, - see Password management with Amazon Web Services Secrets Manager - (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the Amazon RDS User Guide." + description: |- + Contains the secret managed by RDS in Amazon Web Services Secrets Manager + for the master user password. + + + For more information, see Password management with Amazon Web Services Secrets + Manager (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) + in the Amazon RDS User Guide. properties: kmsKeyID: type: string @@ -1226,9 +2264,10 @@ spec: type: object type: array pendingModifiedValues: - description: 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. + description: |- + 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. properties: allocatedStorage: format: int64 @@ -1260,9 +2299,9 @@ spec: multiAZ: type: boolean pendingCloudwatchLogsExports: - description: 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. + description: |- + 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. properties: logTypesToDisable: items: @@ -1278,29 +2317,69 @@ spec: type: integer processorFeatures: items: - description: "Contains the processor features of a DB instance - class. \n To specify the number of CPU cores, use the coreCount - feature name for the Name parameter. To specify the number - of threads per core, use the threadsPerCore feature name for - the Name parameter. \n You can set the processor features - of the DB instance class for a DB instance when you call one - of the following actions: \n * CreateDBInstance \n * ModifyDBInstance - \n * RestoreDBInstanceFromDBSnapshot \n * RestoreDBInstanceFromS3 - \n * RestoreDBInstanceToPointInTime \n You can view the valid - processor values for a particular instance class by calling - the DescribeOrderableDBInstanceOptions action and specifying - the instance class for the DBInstanceClass parameter. \n In - addition, you can use the following actions for DB instance - class processor information: \n * DescribeDBInstances \n * - DescribeDBSnapshots \n * DescribeValidDBInstanceModifications - \n If you call DescribeDBInstances, ProcessorFeature returns - non-null values only if the following conditions are met: - \n * You are accessing an Oracle DB instance. \n * Your Oracle - DB instance class supports configuring the number of CPU cores - and threads per core. \n * The current number CPU cores and - threads is set to a non-default value. \n For more information, - see Configuring the Processor of the DB Instance Class (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor) - in the Amazon RDS User Guide." + description: |- + Contains the processor features of a DB instance class. + + + To specify the number of CPU cores, use the coreCount feature name for the + Name parameter. To specify the number of threads per core, use the threadsPerCore + feature name for the Name parameter. + + + You can set the processor features of the DB instance class for a DB instance + when you call one of the following actions: + + + * CreateDBInstance + + + * ModifyDBInstance + + + * RestoreDBInstanceFromDBSnapshot + + + * RestoreDBInstanceFromS3 + + + * RestoreDBInstanceToPointInTime + + + You can view the valid processor values for a particular instance class by + calling the DescribeOrderableDBInstanceOptions action and specifying the + instance class for the DBInstanceClass parameter. + + + In addition, you can use the following actions for DB instance class processor + information: + + + * DescribeDBInstances + + + * DescribeDBSnapshots + + + * DescribeValidDBInstanceModifications + + + If you call DescribeDBInstances, ProcessorFeature returns non-null values + only if the following conditions are met: + + + * You are accessing an Oracle DB instance. + + + * Your Oracle DB instance class supports configuring the number of CPU + cores and threads per core. + + + * The current number CPU cores and threads is set to a non-default value. + + + For more information, see Configuring the Processor of the DB Instance Class + (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor) + in the Amazon RDS User Guide. properties: name: type: string @@ -1318,43 +2397,51 @@ spec: type: string type: object readReplicaDBClusterIdentifiers: - description: "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 for MySQL - DB instance, the Aurora MySQL DB cluster for the Aurora read replica - is shown. This output doesn't contain information about cross-Region - Aurora read replicas. \n Currently, each RDS DB instance can have - only one Aurora read replica." + description: |- + 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 for MySQL DB instance, the Aurora MySQL DB + cluster for the Aurora read replica is shown. This output doesn't contain + information about cross-Region Aurora read replicas. + + + Currently, each RDS DB instance can have only one Aurora read replica. items: type: string type: array readReplicaDBInstanceIdentifiers: - description: Contains one or more identifiers of the read replicas - associated with this DB instance. + description: |- + Contains one or more identifiers of the read replicas associated with this + DB instance. items: type: string type: array readReplicaSourceDBClusterIdentifier: - description: Contains the identifier of the source DB cluster if this - DB instance is a read replica. + description: |- + Contains the identifier of the source DB cluster if this DB instance is a + read replica. type: string readReplicaSourceDBInstanceIdentifier: - description: Contains the identifier of the source DB instance if - this DB instance is a read replica. + description: |- + Contains the identifier of the source DB instance if this DB instance is + a read replica. type: string resumeFullAutomationModeTime: - description: The number of minutes to pause the automation. When the - time period ends, RDS Custom resumes full automation. The minimum - value is 60 (default). The maximum value is 1,440. + description: |- + The number of minutes to pause the automation. When the time period ends, + RDS Custom resumes full automation. The minimum value is 60 (default). The + maximum value is 1,440. format: date-time type: string secondaryAvailabilityZone: - description: If present, specifies the name of the secondary Availability - Zone for a DB instance with multi-AZ support. + description: |- + If present, specifies the name of the secondary Availability Zone for a DB + instance with multi-AZ support. type: string statusInfos: - description: The status of a read replica. If the instance isn't a - read replica, this is blank. + description: |- + The status of a read replica. If the instance isn't a read replica, this + is blank. items: description: Provides a list of status information for a DB instance. properties: @@ -1369,11 +2456,13 @@ spec: type: object type: array vpcSecurityGroups: - description: Provides a list of VPC security group elements that the - DB instance belongs to. + description: |- + Provides a list of VPC security group elements that the DB instance belongs + to. items: - description: This data type is used as a response element for queries - on VPC security group membership. + description: |- + This data type is used as a response element for queries on VPC security + group membership. properties: status: type: string diff --git a/config/crd/bases/rds.services.k8s.aws_dbparametergroups.yaml b/config/crd/bases/rds.services.k8s.aws_dbparametergroups.yaml index dad5621..108fd15 100644 --- a/config/crd/bases/rds.services.k8s.aws_dbparametergroups.yaml +++ b/config/crd/bases/rds.services.k8s.aws_dbparametergroups.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: dbparametergroups.rds.services.k8s.aws spec: group: rds.services.k8s.aws @@ -21,49 +20,125 @@ spec: description: DBParameterGroup is the Schema for the DBParameterGroups API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: - description: "DBParameterGroupSpec defines the desired state of DBParameterGroup. - \n Contains the details of an Amazon RDS DB parameter group. \n This - data type is used as a response element in the DescribeDBParameterGroups - action." + description: |- + DBParameterGroupSpec defines the desired state of DBParameterGroup. + + + Contains the details of an Amazon RDS DB parameter group. + + + This data type is used as a response element in the DescribeDBParameterGroups + action. properties: description: description: The description for the DB parameter group. type: string family: - description: "The DB parameter group family name. A DB parameter group - can be associated with one and only one DB parameter group family, - and can be applied only to a DB instance running a database engine - and engine version compatible with that DB parameter group family. - \n To list all of the available parameter group families for a DB - engine, use the following command: \n aws rds describe-db-engine-versions - --query \"DBEngineVersions[].DBParameterGroupFamily\" --engine - \n For example, to list all of the available parameter group families - for the MySQL DB engine, use the following command: \n aws rds describe-db-engine-versions - --query \"DBEngineVersions[].DBParameterGroupFamily\" --engine mysql - \n The output contains duplicates. \n The following are the valid - DB engine values: \n * aurora (for MySQL 5.6-compatible Aurora) - \n * aurora-mysql (for MySQL 5.7-compatible and MySQL 8.0-compatible - Aurora) \n * aurora-postgresql \n * mariadb \n * mysql \n * oracle-ee - \n * oracle-ee-cdb \n * oracle-se2 \n * oracle-se2-cdb \n * postgres - \n * sqlserver-ee \n * sqlserver-se \n * sqlserver-ex \n * sqlserver-web" + description: |- + The DB parameter group family name. A DB parameter group can be associated + with one and only one DB parameter group family, and can be applied only + to a DB instance running a database engine and engine version compatible + with that DB parameter group family. + + + To list all of the available parameter group families for a DB engine, use + the following command: + + + aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" + --engine + + + For example, to list all of the available parameter group families for the + MySQL DB engine, use the following command: + + + aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" + --engine mysql + + + The output contains duplicates. + + + The following are the valid DB engine values: + + + * aurora (for MySQL 5.6-compatible Aurora) + + + * aurora-mysql (for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora) + + + * aurora-postgresql + + + * mariadb + + + * mysql + + + * oracle-ee + + + * oracle-ee-cdb + + + * oracle-se2 + + + * oracle-se2-cdb + + + * postgres + + + * sqlserver-ee + + + * sqlserver-se + + + * sqlserver-ex + + + * sqlserver-web type: string name: - description: "The name of the DB parameter group. \n Constraints: - \n * Must be 1 to 255 letters, numbers, or hyphens. \n * First character - must be a letter \n * Can't end with a hyphen or contain two consecutive - hyphens \n This value is stored as a lowercase string." + description: |- + The name of the DB parameter group. + + + Constraints: + + + * Must be 1 to 255 letters, numbers, or hyphens. + + + * First character must be a letter + + + * Can't end with a hyphen or contain two consecutive hyphens + + + This value is stored as a lowercase string. type: string parameterOverrides: additionalProperties: @@ -72,10 +147,12 @@ spec: tags: description: Tags to assign to the DB parameter group. items: - description: "Metadata assigned to an Amazon RDS resource consisting - of a key-value pair. \n For more information, see Tagging Amazon - RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the Amazon RDS User Guide." + description: |- + Metadata assigned to an Amazon RDS resource consisting of a key-value pair. + + + For more information, see Tagging Amazon RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the Amazon RDS User Guide. properties: key: type: string @@ -92,24 +169,26 @@ spec: description: DBParameterGroupStatus defines the observed state of DBParameterGroup properties: ackResourceMetadata: - description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` - member that is used to contain resource sync state, account ownership, + description: |- + All CRs managed by ACK have a common `Status.ACKResourceMetadata` member + that is used to contain resource sync state, account ownership, constructed ARN for the resource properties: arn: - description: 'ARN is the Amazon Resource Name for the resource. - This is a globally-unique identifier and is set only by the - ACK service controller once the controller has orchestrated - the creation of the resource OR when it has verified that an - "adopted" resource (a resource where the ARN annotation was - set by the Kubernetes user on the CR) exists and matches the - supplied CR''s Spec field values. TODO(vijat@): Find a better - strategy for resources that do not have ARN in CreateOutputResponse - https://github.com/aws/aws-controllers-k8s/issues/270' + description: |- + ARN is the Amazon Resource Name for the resource. This is a + globally-unique identifier and is set only by the ACK service controller + once the controller has orchestrated the creation of the resource OR + when it has verified that an "adopted" resource (a resource where the + ARN annotation was set by the Kubernetes user on the CR) exists and + matches the supplied CR's Spec field values. + TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270 type: string ownerAccountID: - description: OwnerAccountID is the AWS Account ID of the account - that owns the backend AWS service API resource. + description: |- + OwnerAccountID is the AWS Account ID of the account that owns the + backend AWS service API resource. type: string region: description: Region is the AWS region in which the resource exists @@ -120,14 +199,16 @@ spec: - region type: object conditions: - description: All CRS managed by ACK have a common `Status.Conditions` - member that contains a collection of `ackv1alpha1.Condition` objects - that describe the various terminal states of the CR and its backend - AWS service API resource + description: |- + All CRS managed by ACK have a common `Status.Conditions` member that + contains a collection of `ackv1alpha1.Condition` objects that describe + the various terminal states of the CR and its backend AWS service API + resource items: - description: Condition is the common struct used by all CRDs managed - by ACK service controllers to indicate terminal states of the - CR and its backend AWS service API resource + description: |- + Condition is the common struct used by all CRDs managed by ACK service + controllers to indicate terminal states of the CR and its backend AWS + service API resource properties: lastTransitionTime: description: Last time the condition transitioned from one status @@ -155,10 +236,13 @@ spec: parameterOverrideStatuses: description: A list of Parameter values. items: - description: "This data type is used as a request parameter in the - ModifyDBParameterGroup and ResetDBParameterGroup actions. \n This - data type is used as a response element in the DescribeEngineDefaultParameters - and DescribeDBParameters actions." + description: |- + This data type is used as a request parameter in the ModifyDBParameterGroup + and ResetDBParameterGroup actions. + + + This data type is used as a response element in the DescribeEngineDefaultParameters + and DescribeDBParameters actions. properties: allowedValues: type: string diff --git a/config/crd/bases/rds.services.k8s.aws_dbproxies.yaml b/config/crd/bases/rds.services.k8s.aws_dbproxies.yaml index 4b06379..1c31e09 100644 --- a/config/crd/bases/rds.services.k8s.aws_dbproxies.yaml +++ b/config/crd/bases/rds.services.k8s.aws_dbproxies.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: dbproxies.rds.services.k8s.aws spec: group: rds.services.k8s.aws @@ -21,27 +20,38 @@ spec: description: DBProxy is the Schema for the DBProxies API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: - description: "DBProxySpec defines the desired state of DBProxy. \n The - data structure representing a proxy managed by the RDS Proxy. \n This - data type is used as a response element in the DescribeDBProxies action." + description: |- + DBProxySpec defines the desired state of DBProxy. + + + The data structure representing a proxy managed by the RDS Proxy. + + + This data type is used as a response element in the DescribeDBProxies action. properties: auth: description: The authorization mechanism that the proxy uses. items: - description: Specifies the details of authentication used by a proxy - to log in as a specific database user. + description: |- + Specifies the details of authentication used by a proxy to log in as a specific + database user. properties: authScheme: type: string @@ -58,55 +68,61 @@ spec: type: object type: array debugLogging: - description: Whether the proxy includes detailed information about - SQL statements in its logs. This information helps you to debug - issues involving SQL behavior or the performance and scalability - of the proxy connections. The debug information includes the text - of SQL statements that you submit through the proxy. Thus, only - enable this setting when needed for debugging, and only when you - have security measures in place to safeguard any sensitive information - that appears in the logs. + description: |- + Whether the proxy includes detailed information about SQL statements in its + logs. This information helps you to debug issues involving SQL behavior or + the performance and scalability of the proxy connections. The debug information + includes the text of SQL statements that you submit through the proxy. Thus, + only enable this setting when needed for debugging, and only when you have + security measures in place to safeguard any sensitive information that appears + in the logs. type: boolean engineFamily: - description: The kinds of databases that the proxy can connect to. - This value determines which database network protocol the proxy - recognizes when it interprets network traffic to and from the database. - For Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases, - specify MYSQL. For Aurora PostgreSQL and RDS for PostgreSQL databases, - specify POSTGRESQL. For RDS for Microsoft SQL Server, specify SQLSERVER. + description: |- + The kinds of databases that the proxy can connect to. This value determines + which database network protocol the proxy recognizes when it interprets network + traffic to and from the database. For Aurora MySQL, RDS for MariaDB, and + RDS for MySQL databases, specify MYSQL. For Aurora PostgreSQL and RDS for + PostgreSQL databases, specify POSTGRESQL. For RDS for Microsoft SQL Server, + specify SQLSERVER. type: string idleClientTimeout: - description: The number of seconds that a connection to the proxy - can be inactive before the proxy disconnects it. You can set this - value higher or lower than the connection timeout limit for the - associated database. + description: |- + The number of seconds that a connection to the proxy can be inactive before + the proxy disconnects it. You can set this value higher or lower than the + connection timeout limit for the associated database. format: int64 type: integer name: - description: The identifier for the proxy. This name must be unique - for all proxies owned by your Amazon Web Services account in the - specified Amazon Web Services Region. An identifier must begin with - a letter and must contain only ASCII letters, digits, and hyphens; - it can't end with a hyphen or contain two consecutive hyphens. + description: |- + The identifier for the proxy. This name must be unique for all proxies owned + by your Amazon Web Services account in the specified Amazon Web Services + Region. An identifier must begin with a letter and must contain only ASCII + letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive + hyphens. type: string requireTLS: - description: A Boolean parameter that specifies whether Transport - Layer Security (TLS) encryption is required for connections to the - proxy. By enabling this setting, you can enforce encrypted TLS connections - to the proxy. + description: |- + A Boolean parameter that specifies whether Transport Layer Security (TLS) + encryption is required for connections to the proxy. By enabling this setting, + you can enforce encrypted TLS connections to the proxy. type: boolean roleARN: - description: The Amazon Resource Name (ARN) of the IAM role that the - proxy uses to access secrets in Amazon Web Services Secrets Manager. + description: |- + The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access + secrets in Amazon Web Services Secrets Manager. type: string tags: - description: An optional set of key-value pairs to associate arbitrary - data of your choosing with the proxy. + description: |- + An optional set of key-value pairs to associate arbitrary data of your choosing + with the proxy. items: - description: "Metadata assigned to an Amazon RDS resource consisting - of a key-value pair. \n For more information, see Tagging Amazon - RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the Amazon RDS User Guide." + description: |- + Metadata assigned to an Amazon RDS resource consisting of a key-value pair. + + + For more information, see Tagging Amazon RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the Amazon RDS User Guide. properties: key: type: string @@ -137,24 +153,26 @@ spec: description: DBProxyStatus defines the observed state of DBProxy properties: ackResourceMetadata: - description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` - member that is used to contain resource sync state, account ownership, + description: |- + All CRs managed by ACK have a common `Status.ACKResourceMetadata` member + that is used to contain resource sync state, account ownership, constructed ARN for the resource properties: arn: - description: 'ARN is the Amazon Resource Name for the resource. - This is a globally-unique identifier and is set only by the - ACK service controller once the controller has orchestrated - the creation of the resource OR when it has verified that an - "adopted" resource (a resource where the ARN annotation was - set by the Kubernetes user on the CR) exists and matches the - supplied CR''s Spec field values. TODO(vijat@): Find a better - strategy for resources that do not have ARN in CreateOutputResponse - https://github.com/aws/aws-controllers-k8s/issues/270' + description: |- + ARN is the Amazon Resource Name for the resource. This is a + globally-unique identifier and is set only by the ACK service controller + once the controller has orchestrated the creation of the resource OR + when it has verified that an "adopted" resource (a resource where the + ARN annotation was set by the Kubernetes user on the CR) exists and + matches the supplied CR's Spec field values. + TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270 type: string ownerAccountID: - description: OwnerAccountID is the AWS Account ID of the account - that owns the backend AWS service API resource. + description: |- + OwnerAccountID is the AWS Account ID of the account that owns the + backend AWS service API resource. type: string region: description: Region is the AWS region in which the resource exists @@ -165,14 +183,16 @@ spec: - region type: object conditions: - description: All CRS managed by ACK have a common `Status.Conditions` - member that contains a collection of `ackv1alpha1.Condition` objects - that describe the various terminal states of the CR and its backend - AWS service API resource + description: |- + All CRS managed by ACK have a common `Status.Conditions` member that + contains a collection of `ackv1alpha1.Condition` objects that describe + the various terminal states of the CR and its backend AWS service API + resource items: - description: Condition is the common struct used by all CRDs managed - by ACK service controllers to indicate terminal states of the - CR and its backend AWS service API resource + description: |- + Condition is the common struct used by all CRDs managed by ACK service + controllers to indicate terminal states of the CR and its backend AWS + service API resource properties: lastTransitionTime: description: Last time the condition transitioned from one status @@ -202,15 +222,15 @@ spec: format: date-time type: string endpoint: - description: The endpoint that you can use to connect to the DB proxy. - You include the endpoint value in the connection string for a database - client application. + description: |- + The endpoint that you can use to connect to the DB proxy. You include the + endpoint value in the connection string for a database client application. type: string status: - description: The current status of this proxy. A status of available - means the proxy is ready to handle requests. Other values indicate - that you must wait for the proxy to be ready, or take some action - to resolve an issue. + description: |- + The current status of this proxy. A status of available means the proxy is + ready to handle requests. Other values indicate that you must wait for the + proxy to be ready, or take some action to resolve an issue. type: string updatedDate: description: The date and time when the proxy was last updated. diff --git a/config/crd/bases/rds.services.k8s.aws_dbsubnetgroups.yaml b/config/crd/bases/rds.services.k8s.aws_dbsubnetgroups.yaml index 238e0ec..e095533 100644 --- a/config/crd/bases/rds.services.k8s.aws_dbsubnetgroups.yaml +++ b/config/crd/bases/rds.services.k8s.aws_dbsubnetgroups.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: dbsubnetgroups.rds.services.k8s.aws spec: group: rds.services.k8s.aws @@ -21,31 +20,55 @@ spec: description: DBSubnetGroup is the Schema for the DBSubnetGroups API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: - description: "DBSubnetGroupSpec defines the desired state of DBSubnetGroup. - \n Contains the details of an Amazon RDS DB subnet group. \n This data - type is used as a response element in the DescribeDBSubnetGroups action." + description: |- + DBSubnetGroupSpec defines the desired state of DBSubnetGroup. + + + Contains the details of an Amazon RDS DB subnet group. + + + This data type is used as a response element in the DescribeDBSubnetGroups + action. properties: description: description: The description for the DB subnet group. type: string name: - description: "The name for the DB subnet group. This value is stored - as a lowercase string. \n Constraints: \n * Must contain no more - than 255 letters, numbers, periods, underscores, spaces, or hyphens. - \n * Must not be default. \n * First character must be a letter. - \n Example: mydbsubnetgroup" + description: |- + The name for the DB subnet group. This value is stored as a lowercase string. + + + Constraints: + + + * Must contain no more than 255 letters, numbers, periods, underscores, + spaces, or hyphens. + + + * Must not be default. + + + * First character must be a letter. + + + Example: mydbsubnetgroup type: string subnetIDs: description: The EC2 Subnet IDs for the DB subnet group. @@ -55,13 +78,14 @@ spec: subnetRefs: items: description: "AWSResourceReferenceWrapper provides a wrapper around - *AWSResourceReference type to provide more user friendly syntax - for references using 'from' field Ex: APIIDRef: \n from: name: - my-api" + *AWSResourceReference\ntype to provide more user friendly syntax + for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t + \ name: my-api" properties: from: - description: AWSResourceReference provides all the values necessary - to reference another k8s resource for finding the identifier(Id/ARN/Name) + description: |- + AWSResourceReference provides all the values necessary to reference another + k8s resource for finding the identifier(Id/ARN/Name) properties: name: type: string @@ -71,10 +95,12 @@ spec: tags: description: Tags to assign to the DB subnet group. items: - description: "Metadata assigned to an Amazon RDS resource consisting - of a key-value pair. \n For more information, see Tagging Amazon - RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the Amazon RDS User Guide." + description: |- + Metadata assigned to an Amazon RDS resource consisting of a key-value pair. + + + For more information, see Tagging Amazon RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the Amazon RDS User Guide. properties: key: type: string @@ -90,24 +116,26 @@ spec: description: DBSubnetGroupStatus defines the observed state of DBSubnetGroup properties: ackResourceMetadata: - description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` - member that is used to contain resource sync state, account ownership, + description: |- + All CRs managed by ACK have a common `Status.ACKResourceMetadata` member + that is used to contain resource sync state, account ownership, constructed ARN for the resource properties: arn: - description: 'ARN is the Amazon Resource Name for the resource. - This is a globally-unique identifier and is set only by the - ACK service controller once the controller has orchestrated - the creation of the resource OR when it has verified that an - "adopted" resource (a resource where the ARN annotation was - set by the Kubernetes user on the CR) exists and matches the - supplied CR''s Spec field values. TODO(vijat@): Find a better - strategy for resources that do not have ARN in CreateOutputResponse - https://github.com/aws/aws-controllers-k8s/issues/270' + description: |- + ARN is the Amazon Resource Name for the resource. This is a + globally-unique identifier and is set only by the ACK service controller + once the controller has orchestrated the creation of the resource OR + when it has verified that an "adopted" resource (a resource where the + ARN annotation was set by the Kubernetes user on the CR) exists and + matches the supplied CR's Spec field values. + TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270 type: string ownerAccountID: - description: OwnerAccountID is the AWS Account ID of the account - that owns the backend AWS service API resource. + description: |- + OwnerAccountID is the AWS Account ID of the account that owns the + backend AWS service API resource. type: string region: description: Region is the AWS region in which the resource exists @@ -118,14 +146,16 @@ spec: - region type: object conditions: - description: All CRS managed by ACK have a common `Status.Conditions` - member that contains a collection of `ackv1alpha1.Condition` objects - that describe the various terminal states of the CR and its backend - AWS service API resource + description: |- + All CRS managed by ACK have a common `Status.Conditions` member that + contains a collection of `ackv1alpha1.Condition` objects that describe + the various terminal states of the CR and its backend AWS service API + resource items: - description: Condition is the common struct used by all CRDs managed - by ACK service controllers to indicate terminal states of the - CR and its backend AWS service API resource + description: |- + Condition is the common struct used by all CRDs managed by ACK service + controllers to indicate terminal states of the CR and its backend AWS + service API resource properties: lastTransitionTime: description: Last time the condition transitioned from one status @@ -156,13 +186,17 @@ spec: subnets: description: Contains a list of Subnet elements. items: - description: This data type is used as a response element for the - DescribeDBSubnetGroups operation. + description: |- + This data type is used as a response element for the DescribeDBSubnetGroups + operation. properties: subnetAvailabilityZone: - description: "Contains Availability Zone information. \n This - data type is used as an element in the OrderableDBInstanceOption - data type." + description: |- + Contains Availability Zone information. + + + This data type is used as an element in the OrderableDBInstanceOption data + type. properties: name: type: string @@ -170,10 +204,13 @@ spec: subnetIdentifier: type: string subnetOutpost: - description: "A data type that represents an Outpost. \n 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." + description: |- + 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. properties: arn: type: string @@ -183,11 +220,25 @@ spec: type: object type: array supportedNetworkTypes: - description: "The network type of the DB subnet group. \n Valid values: - \n * IPV4 \n * DUAL \n A DBSubnetGroup can support only the IPv4 - protocol or the IPv4 and the IPv6 protocols (DUAL). \n For more - information, see Working with a DB instance in a VPC (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) - in the Amazon RDS User Guide." + description: |- + The network type of the DB subnet group. + + + Valid values: + + + * IPV4 + + + * DUAL + + + A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 + protocols (DUAL). + + + For more information, see Working with a DB instance in a VPC (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) + in the Amazon RDS User Guide. items: type: string type: array diff --git a/config/crd/bases/rds.services.k8s.aws_globalclusters.yaml b/config/crd/bases/rds.services.k8s.aws_globalclusters.yaml index 6576ae8..394551e 100644 --- a/config/crd/bases/rds.services.k8s.aws_globalclusters.yaml +++ b/config/crd/bases/rds.services.k8s.aws_globalclusters.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: globalclusters.rds.services.k8s.aws spec: group: rds.services.k8s.aws @@ -21,30 +20,39 @@ spec: description: GlobalCluster is the Schema for the GlobalClusters API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: - description: "GlobalClusterSpec defines the desired state of GlobalCluster. - \n A data type representing an Aurora global database." + description: |- + GlobalClusterSpec defines the desired state of GlobalCluster. + + + A data type representing an Aurora global database. properties: databaseName: - description: The name for your database of up to 64 alphanumeric characters. - If you do not provide a name, Amazon Aurora will not create a database - in the global database cluster you are creating. + description: |- + The name for your database of up to 64 alphanumeric characters. If you do + not provide a name, Amazon Aurora will not create a database in the global + database cluster you are creating. type: string deletionProtection: - description: The deletion protection setting for the new global database. - The global database can't be deleted when deletion protection is - enabled. + description: |- + The deletion protection setting for the new global database. The global database + can't be deleted when deletion protection is enabled. type: boolean engine: description: The name of the database engine to be used for this DB @@ -57,8 +65,9 @@ spec: description: The cluster identifier of the new global database cluster. type: string sourceDBClusterIdentifier: - description: The Amazon Resource Name (ARN) to use as the primary - cluster of the global database. This parameter is optional. + description: |- + The Amazon Resource Name (ARN) to use as the primary cluster of the global + database. This parameter is optional. type: string storageEncrypted: description: The storage encryption setting for the new global database @@ -69,24 +78,26 @@ spec: description: GlobalClusterStatus defines the observed state of GlobalCluster properties: ackResourceMetadata: - description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` - member that is used to contain resource sync state, account ownership, + description: |- + All CRs managed by ACK have a common `Status.ACKResourceMetadata` member + that is used to contain resource sync state, account ownership, constructed ARN for the resource properties: arn: - description: 'ARN is the Amazon Resource Name for the resource. - This is a globally-unique identifier and is set only by the - ACK service controller once the controller has orchestrated - the creation of the resource OR when it has verified that an - "adopted" resource (a resource where the ARN annotation was - set by the Kubernetes user on the CR) exists and matches the - supplied CR''s Spec field values. TODO(vijat@): Find a better - strategy for resources that do not have ARN in CreateOutputResponse - https://github.com/aws/aws-controllers-k8s/issues/270' + description: |- + ARN is the Amazon Resource Name for the resource. This is a + globally-unique identifier and is set only by the ACK service controller + once the controller has orchestrated the creation of the resource OR + when it has verified that an "adopted" resource (a resource where the + ARN annotation was set by the Kubernetes user on the CR) exists and + matches the supplied CR's Spec field values. + TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270 type: string ownerAccountID: - description: OwnerAccountID is the AWS Account ID of the account - that owns the backend AWS service API resource. + description: |- + OwnerAccountID is the AWS Account ID of the account that owns the + backend AWS service API resource. type: string region: description: Region is the AWS region in which the resource exists @@ -97,14 +108,16 @@ spec: - region type: object conditions: - description: All CRS managed by ACK have a common `Status.Conditions` - member that contains a collection of `ackv1alpha1.Condition` objects - that describe the various terminal states of the CR and its backend - AWS service API resource + description: |- + All CRS managed by ACK have a common `Status.Conditions` member that + contains a collection of `ackv1alpha1.Condition` objects that describe + the various terminal states of the CR and its backend AWS service API + resource items: - description: Condition is the common struct used by all CRDs managed - by ACK service controllers to indicate terminal states of the - CR and its backend AWS service API resource + description: |- + Condition is the common struct used by all CRDs managed by ACK service + controllers to indicate terminal states of the CR and its backend AWS + service API resource properties: lastTransitionTime: description: Last time the condition transitioned from one status @@ -130,10 +143,11 @@ spec: type: object type: array failoverState: - description: A data object containing all properties for the current - state of an in-process or pending failover process for this Aurora - global database. This object is empty unless the FailoverGlobalCluster - API operation has been called on this Aurora global database (GlobalCluster). + description: |- + A data object containing all properties for the current state of an in-process + or pending failover process for this Aurora global database. This object + is empty unless the FailoverGlobalCluster API operation has been called on + this Aurora global database (GlobalCluster). properties: fromDBClusterARN: type: string @@ -146,8 +160,9 @@ spec: description: The list of primary and secondary clusters within the global database cluster. items: - description: A data structure with information about any primary - and secondary clusters associated with an Aurora global database. + description: |- + A data structure with information about any primary and secondary clusters + associated with an Aurora global database. properties: dbClusterARN: type: string @@ -162,10 +177,11 @@ spec: type: object type: array globalClusterResourceID: - description: The Amazon Web Services Region-unique, immutable identifier - for the global database cluster. This identifier is found in Amazon - Web Services CloudTrail log entries whenever the Amazon Web Services - KMS key for the DB cluster is accessed. + description: |- + The Amazon Web Services Region-unique, immutable identifier for the global + database cluster. This identifier is found in Amazon Web Services CloudTrail + log entries whenever the Amazon Web Services KMS key for the DB cluster is + accessed. type: string status: description: Specifies the current state of this global database cluster. diff --git a/config/crd/common/bases/services.k8s.aws_adoptedresources.yaml b/config/crd/common/bases/services.k8s.aws_adoptedresources.yaml index 7dca541..65eff73 100644 --- a/config/crd/common/bases/services.k8s.aws_adoptedresources.yaml +++ b/config/crd/common/bases/services.k8s.aws_adoptedresources.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: adoptedresources.services.k8s.aws spec: group: services.k8s.aws @@ -21,14 +20,19 @@ spec: description: AdoptedResource is the schema for the AdoptedResource API. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -42,126 +46,149 @@ spec: additionalKeys: additionalProperties: type: string - description: AdditionalKeys represents any additional arbitrary - identifiers used when describing the target resource. + description: |- + AdditionalKeys represents any additional arbitrary identifiers used when + describing the target resource. type: object arn: - description: ARN is the AWS Resource Name for the resource. It - is a globally unique identifier. + description: |- + ARN is the AWS Resource Name for the resource. It is a globally + unique identifier. type: string nameOrID: - description: NameOrId is a user-supplied string identifier for - the resource. It may or may not be globally unique, depending - on the type of resource. + description: |- + NameOrId is a user-supplied string identifier for the resource. It may + or may not be globally unique, depending on the type of resource. type: string type: object kubernetes: - description: ResourceWithMetadata provides the values necessary to - create a Kubernetes resource and override any of its metadata values. + description: |- + ResourceWithMetadata provides the values necessary to create a + Kubernetes resource and override any of its metadata values. properties: group: type: string kind: type: string metadata: - description: "ObjectMeta is metadata that all persisted resources - must have, which includes all objects users must create. It - is not possible to use `metav1.ObjectMeta` inside spec, as the - controller-gen automatically converts this to an arbitrary string-string - map. https://github.com/kubernetes-sigs/controller-tools/issues/385 - \n Active discussion about inclusion of this field in the spec - is happening in this PR: https://github.com/kubernetes-sigs/controller-tools/pull/395 - \n Until this is allowed, or if it never is, we will produce - a subset of the object meta that contains only the fields which - the user is allowed to modify in the metadata." + description: |- + ObjectMeta is metadata that all persisted resources must have, which includes all objects + users must create. + It is not possible to use `metav1.ObjectMeta` inside spec, as the controller-gen + automatically converts this to an arbitrary string-string map. + https://github.com/kubernetes-sigs/controller-tools/issues/385 + + + Active discussion about inclusion of this field in the spec is happening in this PR: + https://github.com/kubernetes-sigs/controller-tools/pull/395 + + + Until this is allowed, or if it never is, we will produce a subset of the object meta + that contains only the fields which the user is allowed to modify in the metadata. properties: annotations: additionalProperties: type: string - description: 'Annotations is an unstructured key value map - stored with a resource that may be set by external tools - to store and retrieve arbitrary metadata. They are not queryable - and should be preserved when modifying objects. More info: - http://kubernetes.io/docs/user-guide/annotations' + description: |- + Annotations is an unstructured key value map stored with a resource that may be + set by external tools to store and retrieve arbitrary metadata. They are not + queryable and should be preserved when modifying objects. + More info: http://kubernetes.io/docs/user-guide/annotations type: object generateName: - description: "GenerateName is an optional prefix, used by - the server, to generate a unique name ONLY IF the Name field - has not been provided. If this field is used, the name returned - to the client will be different than the name passed. This - value will also be combined with a unique suffix. The provided - value has the same validation rules as the Name field, and - may be truncated by the length of the suffix required to - make the value unique on the server. \n If this field is - specified and the generated name exists, the server will - NOT return a 409 - instead, it will either return 201 Created - or 500 with Reason ServerTimeout indicating a unique name - could not be found in the time allotted, and the client - should retry (optionally after the time indicated in the - Retry-After header). \n Applied only if Name is not specified. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency" + description: |- + GenerateName is an optional prefix, used by the server, to generate a unique + name ONLY IF the Name field has not been provided. + If this field is used, the name returned to the client will be different + than the name passed. This value will also be combined with a unique suffix. + The provided value has the same validation rules as the Name field, + and may be truncated by the length of the suffix required to make the value + unique on the server. + + + If this field is specified and the generated name exists, the server will + NOT return a 409 - instead, it will either return 201 Created or 500 with Reason + ServerTimeout indicating a unique name could not be found in the time allotted, and the client + should retry (optionally after the time indicated in the Retry-After header). + + + Applied only if Name is not specified. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency type: string labels: additionalProperties: type: string - description: 'Map of string keys and values that can be used - to organize and categorize (scope and select) objects. May - match selectors of replication controllers and services. - More info: http://kubernetes.io/docs/user-guide/labels' + description: |- + Map of string keys and values that can be used to organize and categorize + (scope and select) objects. May match selectors of replication controllers + and services. + More info: http://kubernetes.io/docs/user-guide/labels type: object name: - description: 'Name must be unique within a namespace. Is required - when creating resources, although some resources may allow - a client to request the generation of an appropriate name - automatically. Name is primarily intended for creation idempotence - and configuration definition. Cannot be updated. More info: - http://kubernetes.io/docs/user-guide/identifiers#names' + description: |- + Name must be unique within a namespace. Is required when creating resources, although + some resources may allow a client to request the generation of an appropriate name + automatically. Name is primarily intended for creation idempotence and configuration + definition. + Cannot be updated. + More info: http://kubernetes.io/docs/user-guide/identifiers#names type: string namespace: - description: "Namespace defines the space within each name - must be unique. An empty namespace is equivalent to the - \"default\" namespace, but \"default\" is the canonical - representation. Not all objects are required to be scoped - to a namespace - the value of this field for those objects - will be empty. \n Must be a DNS_LABEL. Cannot be updated. - More info: http://kubernetes.io/docs/user-guide/namespaces" + description: |- + Namespace defines the space within each name must be unique. An empty namespace is + equivalent to the "default" namespace, but "default" is the canonical representation. + Not all objects are required to be scoped to a namespace - the value of this field for + those objects will be empty. + + + Must be a DNS_LABEL. + Cannot be updated. + More info: http://kubernetes.io/docs/user-guide/namespaces type: string ownerReferences: - description: List of objects depended by this object. If ALL - objects in the list have been deleted, this object will - be garbage collected. If this object is managed by a controller, - then an entry in this list will point to this controller, - with the controller field set to true. There cannot be more - than one managing controller. + description: |- + List of objects depended by this object. If ALL objects in the list have + been deleted, this object will be garbage collected. If this object is managed by a controller, + then an entry in this list will point to this controller, with the controller field set to true. + There cannot be more than one managing controller. items: - description: OwnerReference contains enough information - to let you identify an owning object. An owning object - must be in the same namespace as the dependent, or be - cluster-scoped, so there is no namespace field. + description: |- + OwnerReference contains enough information to let you identify an owning + object. An owning object must be in the same namespace as the dependent, or + be cluster-scoped, so there is no namespace field. properties: apiVersion: description: API version of the referent. type: string blockOwnerDeletion: - description: If true, AND if the owner has the "foregroundDeletion" - finalizer, then the owner cannot be deleted from the - key-value store until this reference is removed. Defaults - to false. To set this field, a user needs "delete" - permission of the owner, otherwise 422 (Unprocessable - Entity) will be returned. + description: |- + If true, AND if the owner has the "foregroundDeletion" finalizer, then + the owner cannot be deleted from the key-value store until this + reference is removed. + See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion + for how the garbage collector interacts with this field and enforces the foreground deletion. + Defaults to false. + To set this field, a user needs "delete" permission of the owner, + otherwise 422 (Unprocessable Entity) will be returned. type: boolean controller: description: If true, this reference points to the managing controller. type: boolean kind: - description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind of the referent. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string name: - description: 'Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names' + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names type: string uid: - description: 'UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' + description: |- + UID of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids type: string required: - apiVersion @@ -185,13 +212,14 @@ spec: AdoptedResource. properties: conditions: - description: A collection of `ackv1alpha1.Condition` objects that - describe the various terminal states of the adopted resource CR - and its target custom resource + description: |- + A collection of `ackv1alpha1.Condition` objects that describe the various + terminal states of the adopted resource CR and its target custom resource items: - description: Condition is the common struct used by all CRDs managed - by ACK service controllers to indicate terminal states of the - CR and its backend AWS service API resource + description: |- + Condition is the common struct used by all CRDs managed by ACK service + controllers to indicate terminal states of the CR and its backend AWS + service API resource properties: lastTransitionTime: description: Last time the condition transitioned from one status diff --git a/config/crd/common/bases/services.k8s.aws_fieldexports.yaml b/config/crd/common/bases/services.k8s.aws_fieldexports.yaml index 4a7ab61..4d3a8f1 100644 --- a/config/crd/common/bases/services.k8s.aws_fieldexports.yaml +++ b/config/crd/common/bases/services.k8s.aws_fieldexports.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: fieldexports.services.k8s.aws spec: group: services.k8s.aws @@ -21,14 +20,19 @@ spec: description: FieldExport is the schema for the FieldExport API. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -36,15 +40,17 @@ spec: description: FieldExportSpec defines the desired state of the FieldExport. properties: from: - description: ResourceFieldSelector provides the values necessary to - identify an individual field on an individual K8s resource. + description: |- + ResourceFieldSelector provides the values necessary to identify an individual + field on an individual K8s resource. properties: path: type: string resource: - description: NamespacedResource provides all the values necessary - to identify an ACK resource of a given type (within the same - namespace as the custom resource containing this type). + description: |- + NamespacedResource provides all the values necessary to identify an ACK + resource of a given type (within the same namespace as the custom resource + containing this type). properties: group: type: string @@ -62,16 +68,18 @@ spec: - resource type: object to: - description: FieldExportTarget provides the values necessary to identify - the output path for a field export. + description: |- + FieldExportTarget provides the values necessary to identify the + output path for a field export. properties: key: description: Key overrides the default value (`.`) for the FieldExport target type: string kind: - description: FieldExportOutputType represents all types that can - be produced by a field export operation + description: |- + FieldExportOutputType represents all types that can be produced by a field + export operation enum: - configmap - secret @@ -94,12 +102,14 @@ spec: description: FieldExportStatus defines the observed status of the FieldExport. properties: conditions: - description: A collection of `ackv1alpha1.Condition` objects that - describe the various recoverable states of the field CR + description: |- + A collection of `ackv1alpha1.Condition` objects that describe the various + recoverable states of the field CR items: - description: Condition is the common struct used by all CRDs managed - by ACK service controllers to indicate terminal states of the - CR and its backend AWS service API resource + description: |- + Condition is the common struct used by all CRDs managed by ACK service + controllers to indicate terminal states of the CR and its backend AWS + service API resource properties: lastTransitionTime: description: Last time the condition transitioned from one status diff --git a/config/rbac/cluster-role-controller.yaml b/config/rbac/cluster-role-controller.yaml index c5b17c8..19d3cb7 100644 --- a/config/rbac/cluster-role-controller.yaml +++ b/config/rbac/cluster-role-controller.yaml @@ -2,7 +2,6 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - creationTimestamp: null name: ack-rds-controller rules: - apiGroups: diff --git a/go.mod b/go.mod index 5808ec3..4cd511e 100644 --- a/go.mod +++ b/go.mod @@ -7,15 +7,15 @@ toolchain go1.21.5 require ( github.com/aws-controllers-k8s/ec2-controller v1.1.2 github.com/aws-controllers-k8s/kms-controller v1.0.8 - github.com/aws-controllers-k8s/runtime v0.29.2 + github.com/aws-controllers-k8s/runtime v0.30.0 github.com/aws/aws-sdk-go v1.49.0 - github.com/go-logr/logr v1.2.4 + github.com/go-logr/logr v1.4.1 github.com/samber/lo v1.37.0 github.com/spf13/pflag v1.0.5 - k8s.io/api v0.28.3 - k8s.io/apimachinery v0.28.3 - k8s.io/client-go v0.28.3 - sigs.k8s.io/controller-runtime v0.16.3 + k8s.io/api v0.29.0 + k8s.io/apimachinery v0.29.0 + k8s.io/client-go v0.29.0 + sigs.k8s.io/controller-runtime v0.17.0 ) require ( @@ -24,9 +24,9 @@ require ( github.com/cespare/xxhash/v2 v2.2.0 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/emicklei/go-restful/v3 v3.11.0 // indirect - github.com/evanphx/json-patch/v5 v5.6.0 // indirect - github.com/fsnotify/fsnotify v1.6.0 // indirect - github.com/go-logr/zapr v1.2.4 // indirect + github.com/evanphx/json-patch/v5 v5.8.0 // indirect + github.com/fsnotify/fsnotify v1.7.0 // indirect + github.com/go-logr/zapr v1.3.0 // indirect github.com/go-openapi/jsonpointer v0.19.6 // indirect github.com/go-openapi/jsonreference v0.20.2 // indirect github.com/go-openapi/swag v0.22.3 // indirect @@ -34,7 +34,7 @@ require ( github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.3 // indirect github.com/google/gnostic-models v0.6.8 // indirect - github.com/google/go-cmp v0.5.9 // indirect + github.com/google/go-cmp v0.6.0 // indirect github.com/google/gofuzz v1.2.0 // indirect github.com/google/uuid v1.3.0 // indirect github.com/imdario/mergo v0.3.12 // indirect @@ -45,36 +45,36 @@ require ( github.com/josharian/intern v1.0.0 // indirect github.com/json-iterator/go v1.1.12 // indirect github.com/mailru/easyjson v0.7.7 // indirect - github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect + github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/pkg/errors v0.9.1 // indirect - github.com/prometheus/client_golang v1.16.0 // indirect - github.com/prometheus/client_model v0.4.0 // indirect - github.com/prometheus/common v0.44.0 // indirect - github.com/prometheus/procfs v0.10.1 // indirect + github.com/prometheus/client_golang v1.18.0 // indirect + github.com/prometheus/client_model v0.5.0 // indirect + github.com/prometheus/common v0.45.0 // indirect + github.com/prometheus/procfs v0.12.0 // indirect go.uber.org/multierr v1.11.0 // indirect go.uber.org/zap v1.26.0 // indirect golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect - golang.org/x/net v0.17.0 // indirect - golang.org/x/oauth2 v0.8.0 // indirect - golang.org/x/sys v0.13.0 // indirect - golang.org/x/term v0.13.0 // indirect - golang.org/x/text v0.13.0 // indirect + golang.org/x/net v0.19.0 // indirect + golang.org/x/oauth2 v0.12.0 // indirect + golang.org/x/sys v0.16.0 // indirect + golang.org/x/term v0.15.0 // indirect + golang.org/x/text v0.14.0 // indirect golang.org/x/time v0.3.0 // indirect gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect google.golang.org/appengine v1.6.7 // indirect - google.golang.org/protobuf v1.30.0 // indirect + google.golang.org/protobuf v1.31.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect - k8s.io/apiextensions-apiserver v0.28.3 // indirect - k8s.io/component-base v0.28.3 // indirect - k8s.io/klog/v2 v2.100.1 // indirect - k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect - k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect + k8s.io/apiextensions-apiserver v0.29.0 // indirect + k8s.io/component-base v0.29.0 // indirect + k8s.io/klog/v2 v2.110.1 // indirect + k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 // indirect + k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect - sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect - sigs.k8s.io/yaml v1.3.0 // indirect + sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect + sigs.k8s.io/yaml v1.4.0 // indirect ) diff --git a/go.sum b/go.sum index 58c2f70..e38f61d 100644 --- a/go.sum +++ b/go.sum @@ -2,11 +2,10 @@ github.com/aws-controllers-k8s/ec2-controller v1.1.2 h1:Bry62L279S7mJofk0sS4o7T7 github.com/aws-controllers-k8s/ec2-controller v1.1.2/go.mod h1:XZOZcSk0tzplY+A0dADqD4NK4a8g8Jqwf/Ouv2Sz/eQ= github.com/aws-controllers-k8s/kms-controller v1.0.8 h1:nDPYQhsgD2s14rEMNmGCwkm+e0Emjo/Usl3is7e9EFk= github.com/aws-controllers-k8s/kms-controller v1.0.8/go.mod h1:HjSBjtiljNL1yFzrOizxeQe2+88tW3mHD5fnEGwVYGE= -github.com/aws-controllers-k8s/runtime v0.29.2 h1:t6wwoKqFmtbblMcwFivpWp1FZa0gkczoUsk+maIsiRA= -github.com/aws-controllers-k8s/runtime v0.29.2/go.mod h1:mZa9l+/l+tlbxWVmMWWbUC3oAHUbeTzlI7xTOMdYHpA= +github.com/aws-controllers-k8s/runtime v0.30.0 h1:AibYRdi/7xUA3t8BA0u8g+J+OioaTAT6R4Vq8hxLiYw= +github.com/aws-controllers-k8s/runtime v0.30.0/go.mod h1:Pv1ozlUaO11KO2mwPN/HzhAtZ70ZDE9UP24mjsbkul0= github.com/aws/aws-sdk-go v1.49.0 h1:g9BkW1fo9GqKfwg2+zCD+TW/D36Ux+vtfJ8guF4AYmY= github.com/aws/aws-sdk-go v1.49.0/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= -github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/cenkalti/backoff/v4 v4.2.1 h1:y4OZtCnogmCPw98Zjyt5a6+QwPLGkiQsYW5oUqylYbM= @@ -21,15 +20,15 @@ github.com/emicklei/go-restful/v3 v3.11.0 h1:rAQeMHw1c7zTmncogyy8VvRZwtkmkZ4FxER github.com/emicklei/go-restful/v3 v3.11.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= github.com/evanphx/json-patch v5.6.0+incompatible h1:jBYDEEiFBPxA0v50tFdvOzQQTCvpL6mnFh5mB2/l16U= github.com/evanphx/json-patch v5.6.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJCLunww= -github.com/evanphx/json-patch/v5 v5.6.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= -github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= -github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= -github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= -github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/zapr v1.2.4 h1:QHVo+6stLbfJmYGkQ7uGHUCu5hnAFAj6mDe6Ea0SeOo= -github.com/go-logr/zapr v1.2.4/go.mod h1:FyHWQIzQORZ0QVE1BtVHv3cKtNLuXsbNLtpuhNapBOA= +github.com/evanphx/json-patch/v5 v5.8.0 h1:lRj6N9Nci7MvzrXuX6HFzU8XjmhPiXPlsKEy1u0KQro= +github.com/evanphx/json-patch/v5 v5.8.0/go.mod h1:VNkHZ/282BpEyt/tObQO8s5CMPmYYq14uClGH4abBuQ= +github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= +github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= +github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ= +github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/zapr v1.3.0 h1:XGdV8XW8zdwFiwOA2Dryh1gj2KRQyOOoNmBy4EplIcQ= +github.com/go-logr/zapr v1.3.0/go.mod h1:YKepepNBd1u/oyhd/yQmtjVXmm9uML4IXUgMOwR8/Gg= github.com/go-openapi/jsonpointer v0.19.6 h1:eCs3fxoIi3Wh6vtgmLTOjdhSpiqphQ+DaPn38N2ZdrE= github.com/go-openapi/jsonpointer v0.19.6/go.mod h1:osyAmYz/mB/C3I+WsTTSgw1ONzaLJoLCyoi6/zppojs= github.com/go-openapi/jsonreference v0.20.2 h1:3sVjiK66+uXK/6oQ8xgcRKcFgQ5KXa2KvnJRumpMGbE= @@ -42,7 +41,6 @@ github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= @@ -51,8 +49,9 @@ github.com/google/gnostic-models v0.6.8 h1:yo/ABAfM5IMRsS1VnXjTBvUb61tFIHozhlYvR github.com/google/gnostic-models v0.6.8/go.mod h1:5n7qKqH0f5wFt+aWF8CW6pZLLNOfYuF5OpfBSENuI8U= github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= @@ -68,7 +67,6 @@ github.com/itchyny/timefmt-go v0.1.3 h1:7M3LGVDsqcd0VZH2U+x393obrzZisp7C0uEe921i github.com/itchyny/timefmt-go v0.1.3/go.mod h1:0osSSCQSASBJMsIZnhAaF1C2fCBTJZXrnj37mG8/c+A= github.com/jaypipes/envutil v1.0.0 h1:u6Vwy9HwruFihoZrL0bxDLCa/YNadGVwKyPElNmZWow= github.com/jaypipes/envutil v1.0.0/go.mod h1:vgIRDly+xgBq0eeZRcflOHMMobMwgC6MkMbxo/Nw65M= -github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -79,7 +77,6 @@ github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnr github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= @@ -91,8 +88,8 @@ github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0 github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= -github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= -github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= +github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 h1:jWpvCLoY8Z/e3VKvlsiIGKtc+UG6U5vzxaoagmhXfyg= +github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0/go.mod h1:QUyp042oQthUoa9bqDv0ER0wrtXnBruoNd7aNjkbP+k= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= @@ -100,23 +97,22 @@ github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9G github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= -github.com/onsi/ginkgo/v2 v2.11.0 h1:WgqUCUt/lT6yXoQ8Wef0fsNn5cAuMK7+KT9UFRz2tcU= -github.com/onsi/ginkgo/v2 v2.11.0/go.mod h1:ZhrRA5XmEE3x3rhlzamx/JJvujdZoJ2uvgI7kR0iZvM= -github.com/onsi/gomega v1.27.10 h1:naR28SdDFlqrG6kScpT8VWpu1xWY5nJRCF3XaYyBjhI= -github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/onsi/ginkgo/v2 v2.14.0 h1:vSmGj2Z5YPb9JwCWT6z6ihcUvDhuXLc3sJiqd3jMKAY= +github.com/onsi/ginkgo/v2 v2.14.0/go.mod h1:JkUdW7JkN0V6rFvsHcJ478egV3XH9NxpD27Hal/PhZw= +github.com/onsi/gomega v1.30.0 h1:hvMK7xYz4D3HapigLTeGdId/NcfQx1VHMJc60ew99+8= +github.com/onsi/gomega v1.30.0/go.mod h1:9sxs+SwGrKI0+PWe4Fxa9tFQQBG5xSsSbMXOI8PPpoQ= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_golang v1.16.0 h1:yk/hx9hDbrGHovbci4BY+pRMfSuuat626eFsHb7tmT8= -github.com/prometheus/client_golang v1.16.0/go.mod h1:Zsulrv/L9oM40tJ7T815tM89lFEugiJ9HzIqaAx4LKc= -github.com/prometheus/client_model v0.4.0 h1:5lQXD3cAg1OXBf4Wq03gTrXHeaV0TQvGfUooCfx1yqY= -github.com/prometheus/client_model v0.4.0/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU= -github.com/prometheus/common v0.44.0 h1:+5BrQJwiBB9xsMygAB3TNvpQKOwlkc25LbISbrdOOfY= -github.com/prometheus/common v0.44.0/go.mod h1:ofAIvZbQ1e/nugmZGz4/qCb9Ap1VoSTIO7x0VV9VvuY= -github.com/prometheus/procfs v0.10.1 h1:kYK1Va/YMlutzCGazswoHKo//tZVlFpKYh+PymziUAg= -github.com/prometheus/procfs v0.10.1/go.mod h1:nwNm2aOCAYw8uTR/9bWRREkZFxAUcWzPHWJq+XBB/FM= +github.com/prometheus/client_golang v1.18.0 h1:HzFfmkOzH5Q8L8G+kSJKUx5dtG87sewO+FoDDqP5Tbk= +github.com/prometheus/client_golang v1.18.0/go.mod h1:T+GXkCk5wSJyOqMIzVgvvjFDlkOQntgjkJWKrN5txjA= +github.com/prometheus/client_model v0.5.0 h1:VQw1hfvPvk3Uv6Qf29VrPF32JB6rtbgI6cYPYQjL0Qw= +github.com/prometheus/client_model v0.5.0/go.mod h1:dTiFglRmd66nLR9Pv9f0mZi7B7fk5Pm3gvsjB5tr+kI= +github.com/prometheus/common v0.45.0 h1:2BGz0eBc2hdMDLnO/8n0jeB3oPrt2D08CekT0lneoxM= +github.com/prometheus/common v0.45.0/go.mod h1:YJmSTw9BoKxJplESWWxlbyttQR4uaEcGyv9MZjVOJsY= +github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo= +github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo= github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= github.com/samber/lo v1.37.0 h1:XjVcB8g6tgUp8rsPsJ2CvhClfImrpL04YpQHXeHPhRw= @@ -128,23 +124,17 @@ github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSS github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8= -github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= -go.uber.org/goleak v1.2.1 h1:NBol2c7O1ZokfZ0LEU9K6Whx/KnwvepVetCUhtKja4A= -go.uber.org/goleak v1.2.1/go.mod h1:qlT2yGI9QafXHhZZLxlSuNsMw3FFLxBr+tBRlmO1xH4= -go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= +go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= +go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= -go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg= go.uber.org/zap v1.26.0 h1:sI7k6L95XOKS281NhVKOFCUNIvv9e0w4BF8N3u+tCRo= go.uber.org/zap v1.26.0/go.mod h1:dtElttAiwGvoJ/vj4IwHBS/gXsEu/pZ50mUIRWuG0so= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= @@ -152,55 +142,42 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e h1:+WEEuIdZHnUeJJmEUjyYC2gfUMj69yZXw17EnHg/otA= golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e/go.mod h1:Kr81I6Kryrl9sr8s2FK3vxD90NdsKWRuOIl2O4CvYbA= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= -golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= -golang.org/x/oauth2 v0.8.0 h1:6dkIjl3j3LtZ/O3sTgZTMsLKSftL/B8Zgq4huOIIUu8= -golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c= +golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= +golang.org/x/oauth2 v0.12.0 h1:smVPGxink+n1ZI5pkQa8y6fZT0RW0MgCO5bFpepy4B4= +golang.org/x/oauth2 v0.12.0/go.mod h1:A74bZ3aGXgCY0qaIC9Ahg6Lglin4AMAco8cIv9baba4= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= -golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek= -golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= +golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= +golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4= +golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= -golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.9.3 h1:Gn1I8+64MsuTb/HpH+LmQtNas23LhUVr3rYZ0eKuaMM= -golang.org/x/tools v0.9.3/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= +golang.org/x/tools v0.16.1 h1:TLyB3WofjdOEepBHAU20JdNC1Zbg87elYofWYAY5oZA= +golang.org/x/tools v0.16.1/go.mod h1:kYVVN6I1mBNoB1OX+noeBjbRk4IUEPa7JJ+TJMEooJ0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -211,10 +188,9 @@ google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6 google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng= -google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= +google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= @@ -227,27 +203,27 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -k8s.io/api v0.28.3 h1:Gj1HtbSdB4P08C8rs9AR94MfSGpRhJgsS+GF9V26xMM= -k8s.io/api v0.28.3/go.mod h1:MRCV/jr1dW87/qJnZ57U5Pak65LGmQVkKTzf3AtKFHc= -k8s.io/apiextensions-apiserver v0.28.3 h1:Od7DEnhXHnHPZG+W9I97/fSQkVpVPQx2diy+2EtmY08= -k8s.io/apiextensions-apiserver v0.28.3/go.mod h1:NE1XJZ4On0hS11aWWJUTNkmVB03j9LM7gJSisbRt8Lc= -k8s.io/apimachinery v0.28.3 h1:B1wYx8txOaCQG0HmYF6nbpU8dg6HvA06x5tEffvOe7A= -k8s.io/apimachinery v0.28.3/go.mod h1:uQTKmIqs+rAYaq+DFaoD2X7pcjLOqbQX2AOiO0nIpb8= -k8s.io/client-go v0.28.3 h1:2OqNb72ZuTZPKCl+4gTKvqao0AMOl9f3o2ijbAj3LI4= -k8s.io/client-go v0.28.3/go.mod h1:LTykbBp9gsA7SwqirlCXBWtK0guzfhpoW4qSm7i9dxo= -k8s.io/component-base v0.28.3 h1:rDy68eHKxq/80RiMb2Ld/tbH8uAE75JdCqJyi6lXMzI= -k8s.io/component-base v0.28.3/go.mod h1:fDJ6vpVNSk6cRo5wmDa6eKIG7UlIQkaFmZN2fYgIUD8= -k8s.io/klog/v2 v2.100.1 h1:7WCHKK6K8fNhTqfBhISHQ97KrnJNFZMcQvKp7gP/tmg= -k8s.io/klog/v2 v2.100.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= -k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 h1:LyMgNKD2P8Wn1iAwQU5OhxCKlKJy0sHc+PcDwFB24dQ= -k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9/go.mod h1:wZK2AVp1uHCp4VamDVgBP2COHZjqD1T68Rf0CM3YjSM= -k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 h1:qY1Ad8PODbnymg2pRbkyMT/ylpTrCM8P2RJ0yroCyIk= -k8s.io/utils v0.0.0-20230406110748-d93618cff8a2/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -sigs.k8s.io/controller-runtime v0.16.3 h1:2TuvuokmfXvDUamSx1SuAOO3eTyye+47mJCigwG62c4= -sigs.k8s.io/controller-runtime v0.16.3/go.mod h1:j7bialYoSn142nv9sCOJmQgDXQXxnroFU4VnX/brVJ0= +k8s.io/api v0.29.0 h1:NiCdQMY1QOp1H8lfRyeEf8eOwV6+0xA6XEE44ohDX2A= +k8s.io/api v0.29.0/go.mod h1:sdVmXoz2Bo/cb77Pxi71IPTSErEW32xa4aXwKH7gfBA= +k8s.io/apiextensions-apiserver v0.29.0 h1:0VuspFG7Hj+SxyF/Z/2T0uFbI5gb5LRgEyUVE3Q4lV0= +k8s.io/apiextensions-apiserver v0.29.0/go.mod h1:TKmpy3bTS0mr9pylH0nOt/QzQRrW7/h7yLdRForMZwc= +k8s.io/apimachinery v0.29.0 h1:+ACVktwyicPz0oc6MTMLwa2Pw3ouLAfAon1wPLtG48o= +k8s.io/apimachinery v0.29.0/go.mod h1:eVBxQ/cwiJxH58eK/jd/vAk4mrxmVlnpBH5J2GbMeis= +k8s.io/client-go v0.29.0 h1:KmlDtFcrdUzOYrBhXHgKw5ycWzc3ryPX5mQe0SkG3y8= +k8s.io/client-go v0.29.0/go.mod h1:yLkXH4HKMAywcrD82KMSmfYg2DlE8mepPR4JGSo5n38= +k8s.io/component-base v0.29.0 h1:T7rjd5wvLnPBV1vC4zWd/iWRbV8Mdxs+nGaoaFzGw3s= +k8s.io/component-base v0.29.0/go.mod h1:sADonFTQ9Zc9yFLghpDpmNXEdHyQmFIGbiuZbqAXQ1M= +k8s.io/klog/v2 v2.110.1 h1:U/Af64HJf7FcwMcXyKm2RPM22WZzyR7OSpYj5tg3cL0= +k8s.io/klog/v2 v2.110.1/go.mod h1:YGtd1984u+GgbuZ7e08/yBuAfKLSO0+uR1Fhi6ExXjo= +k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 h1:aVUu9fTY98ivBPKR9Y5w/AuzbMm96cd3YHRTU83I780= +k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00/go.mod h1:AsvuZPBlUDVuCdzJ87iajxtXuR9oktsTctW/R9wwouA= +k8s.io/utils v0.0.0-20230726121419-3b25d923346b h1:sgn3ZU783SCgtaSJjpcVVlRqd6GSnlTLKgpAAttJvpI= +k8s.io/utils v0.0.0-20230726121419-3b25d923346b/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= +sigs.k8s.io/controller-runtime v0.17.0 h1:fjJQf8Ukya+VjogLO6/bNX9HE6Y2xpsO5+fyS26ur/s= +sigs.k8s.io/controller-runtime v0.17.0/go.mod h1:+MngTvIQQQhfXtwfdGw/UOQ/aIaqsYywfCINOtwMO/s= sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo= sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0= -sigs.k8s.io/structured-merge-diff/v4 v4.2.3 h1:PRbqxJClWWYMNV1dhaG4NsibJbArud9kFxnAMREiWFE= -sigs.k8s.io/structured-merge-diff/v4 v4.2.3/go.mod h1:qjx8mGObPmV2aSZepjQjbmb2ihdVs8cGKBraizNC69E= -sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= -sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= +sigs.k8s.io/structured-merge-diff/v4 v4.4.1 h1:150L+0vs/8DA78h1u02ooW1/fFq/Lwr+sGiqlzvrtq4= +sigs.k8s.io/structured-merge-diff/v4 v4.4.1/go.mod h1:N8hJocpFajUSSeSJ9bOZ77VzejKZaXsTtZo4/u7Io08= +sigs.k8s.io/yaml v1.4.0 h1:Mk1wCc2gy/F0THH0TAp1QYyJNzRm2KCLy3o5ASXVI5E= +sigs.k8s.io/yaml v1.4.0/go.mod h1:Ejl7/uTz7PSA4eKMyQCUTnhZYNmLIl+5c2lQPGR2BPY= diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 7475dd8..a750dc9 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 name: rds-chart description: A Helm chart for the ACK service controller for Amazon Relational Database Service (RDS) -version: 1.1.10 -appVersion: 1.1.10 +version: 1.1.11 +appVersion: 1.1.11 home: https://github.com/aws-controllers-k8s/rds-controller icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png sources: diff --git a/helm/crds/rds.services.k8s.aws_dbclusterparametergroups.yaml b/helm/crds/rds.services.k8s.aws_dbclusterparametergroups.yaml index 1f1be89..956cb08 100644 --- a/helm/crds/rds.services.k8s.aws_dbclusterparametergroups.yaml +++ b/helm/crds/rds.services.k8s.aws_dbclusterparametergroups.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: dbclusterparametergroups.rds.services.k8s.aws spec: group: rds.services.k8s.aws @@ -22,72 +21,146 @@ spec: API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: - description: "DBClusterParameterGroupSpec defines the desired state of - DBClusterParameterGroup. \n Contains the details of an Amazon RDS DB - cluster parameter group. \n This data type is used as a response element - in the DescribeDBClusterParameterGroups action." + description: |- + DBClusterParameterGroupSpec defines the desired state of DBClusterParameterGroup. + + + Contains the details of an Amazon RDS DB cluster parameter group. + + + This data type is used as a response element in the DescribeDBClusterParameterGroups + action. properties: description: description: The description for the DB cluster parameter group. type: string family: - description: "The DB cluster parameter group family name. A DB cluster - parameter group can be associated with one and only one DB cluster - parameter group family, and can be applied only to a DB cluster - running a database engine and engine version compatible with that - DB cluster parameter group family. \n # Aurora MySQL \n Example: - aurora5.6, aurora-mysql5.7, aurora-mysql8.0 \n # Aurora PostgreSQL - \n Example: aurora-postgresql9.6 \n # RDS for MySQL \n Example: - mysql8.0 \n # RDS for PostgreSQL \n Example: postgres12 \n To list - all of the available parameter group families for a DB engine, use - the following command: \n aws rds describe-db-engine-versions --query - \"DBEngineVersions[].DBParameterGroupFamily\" --engine - \n For example, to list all of the available parameter group families - for the Aurora PostgreSQL DB engine, use the following command: - \n aws rds describe-db-engine-versions --query \"DBEngineVersions[].DBParameterGroupFamily\" - --engine aurora-postgresql \n The output contains duplicates. \n - The following are the valid DB engine values: \n - aurora (for MySQL - 5.6-compatible Aurora) \n - aurora-mysql (for MySQL 5.7-compatible - and MySQL 8.0-compatible Aurora) \n - aurora-postgresql \n - mysql - \n - postgres" + description: |- + The DB cluster parameter group family name. A DB cluster parameter group + can be associated with one and only one DB cluster parameter group family, + and can be applied only to a DB cluster running a database engine and engine + version compatible with that DB cluster parameter group family. + + + # Aurora MySQL + + + Example: aurora5.6, aurora-mysql5.7, aurora-mysql8.0 + + + # Aurora PostgreSQL + + + Example: aurora-postgresql9.6 + + + # RDS for MySQL + + + Example: mysql8.0 + + + # RDS for PostgreSQL + + + Example: postgres12 + + + To list all of the available parameter group families for a DB engine, use + the following command: + + + aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" + --engine + + + For example, to list all of the available parameter group families for the + Aurora PostgreSQL DB engine, use the following command: + + + aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" + --engine aurora-postgresql + + + The output contains duplicates. + + + The following are the valid DB engine values: + + + - aurora (for MySQL 5.6-compatible Aurora) + + + - aurora-mysql (for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora) + + + - aurora-postgresql + + + - mysql + + + - postgres type: string name: - description: "The name of the DB cluster parameter group. \n Constraints: - \n - Must not match the name of an existing DB cluster parameter - group. \n This value is stored as a lowercase string." + description: |- + The name of the DB cluster parameter group. + + + Constraints: + + + - Must not match the name of an existing DB cluster parameter group. + + + This value is stored as a lowercase string. type: string parameterOverrides: additionalProperties: type: string type: object parameters: - description: "A list of parameters in the DB cluster parameter group - to modify. \n Valid Values (for the application method): immediate - | pending-reboot \n You can use the immediate value with dynamic - parameters only. You can use the pending-reboot value for both dynamic - and static parameters. \n When the application method is immediate, - changes to dynamic parameters are applied immediately to the DB - clusters associated with the parameter group. When the application - method is pending-reboot, changes to dynamic and static parameters - are applied after a reboot without failover to the DB clusters associated - with the parameter group." + description: |- + A list of parameters in the DB cluster parameter group to modify. + + + Valid Values (for the application method): immediate | pending-reboot + + + You can use the immediate value with dynamic parameters only. You can use + the pending-reboot value for both dynamic and static parameters. + + + When the application method is immediate, changes to dynamic parameters are + applied immediately to the DB clusters associated with the parameter group. + When the application method is pending-reboot, changes to dynamic and static + parameters are applied after a reboot without failover to the DB clusters + associated with the parameter group. items: - description: "This data type is used as a request parameter in the - ModifyDBParameterGroup and ResetDBParameterGroup actions. \n This - data type is used as a response element in the DescribeEngineDefaultParameters - and DescribeDBParameters actions." + description: |- + This data type is used as a request parameter in the ModifyDBParameterGroup + and ResetDBParameterGroup actions. + + + This data type is used as a response element in the DescribeEngineDefaultParameters + and DescribeDBParameters actions. properties: allowedValues: type: string @@ -118,10 +191,12 @@ spec: tags: description: Tags to assign to the DB cluster parameter group. items: - description: "Metadata assigned to an Amazon RDS resource consisting - of a key-value pair. \n For more information, see Tagging Amazon - RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the Amazon RDS User Guide." + description: |- + Metadata assigned to an Amazon RDS resource consisting of a key-value pair. + + + For more information, see Tagging Amazon RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the Amazon RDS User Guide. properties: key: type: string @@ -139,24 +214,26 @@ spec: of DBClusterParameterGroup properties: ackResourceMetadata: - description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` - member that is used to contain resource sync state, account ownership, + description: |- + All CRs managed by ACK have a common `Status.ACKResourceMetadata` member + that is used to contain resource sync state, account ownership, constructed ARN for the resource properties: arn: - description: 'ARN is the Amazon Resource Name for the resource. - This is a globally-unique identifier and is set only by the - ACK service controller once the controller has orchestrated - the creation of the resource OR when it has verified that an - "adopted" resource (a resource where the ARN annotation was - set by the Kubernetes user on the CR) exists and matches the - supplied CR''s Spec field values. TODO(vijat@): Find a better - strategy for resources that do not have ARN in CreateOutputResponse - https://github.com/aws/aws-controllers-k8s/issues/270' + description: |- + ARN is the Amazon Resource Name for the resource. This is a + globally-unique identifier and is set only by the ACK service controller + once the controller has orchestrated the creation of the resource OR + when it has verified that an "adopted" resource (a resource where the + ARN annotation was set by the Kubernetes user on the CR) exists and + matches the supplied CR's Spec field values. + TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270 type: string ownerAccountID: - description: OwnerAccountID is the AWS Account ID of the account - that owns the backend AWS service API resource. + description: |- + OwnerAccountID is the AWS Account ID of the account that owns the + backend AWS service API resource. type: string region: description: Region is the AWS region in which the resource exists @@ -167,14 +244,16 @@ spec: - region type: object conditions: - description: All CRS managed by ACK have a common `Status.Conditions` - member that contains a collection of `ackv1alpha1.Condition` objects - that describe the various terminal states of the CR and its backend - AWS service API resource + description: |- + All CRS managed by ACK have a common `Status.Conditions` member that + contains a collection of `ackv1alpha1.Condition` objects that describe + the various terminal states of the CR and its backend AWS service API + resource items: - description: Condition is the common struct used by all CRDs managed - by ACK service controllers to indicate terminal states of the - CR and its backend AWS service API resource + description: |- + Condition is the common struct used by all CRDs managed by ACK service + controllers to indicate terminal states of the CR and its backend AWS + service API resource properties: lastTransitionTime: description: Last time the condition transitioned from one status @@ -203,10 +282,13 @@ spec: description: Provides a list of parameters for the DB cluster parameter group. items: - description: "This data type is used as a request parameter in the - ModifyDBParameterGroup and ResetDBParameterGroup actions. \n This - data type is used as a response element in the DescribeEngineDefaultParameters - and DescribeDBParameters actions." + description: |- + This data type is used as a request parameter in the ModifyDBParameterGroup + and ResetDBParameterGroup actions. + + + This data type is used as a response element in the DescribeEngineDefaultParameters + and DescribeDBParameters actions. properties: allowedValues: type: string diff --git a/helm/crds/rds.services.k8s.aws_dbclusters.yaml b/helm/crds/rds.services.k8s.aws_dbclusters.yaml index b4e1e37..063a5fc 100644 --- a/helm/crds/rds.services.k8s.aws_dbclusters.yaml +++ b/helm/crds/rds.services.k8s.aws_dbclusters.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: dbclusters.rds.services.k8s.aws spec: group: rds.services.k8s.aws @@ -21,141 +20,244 @@ spec: description: DBCluster is the Schema for the DBClusters API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: - description: "DBClusterSpec defines the desired state of DBCluster. \n + description: |- + DBClusterSpec defines the desired state of DBCluster. + + Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB cluster. - \n For an Amazon Aurora DB cluster, this data type is used as a response - element in the operations CreateDBCluster, DeleteDBCluster, DescribeDBClusters, - FailoverDBCluster, ModifyDBCluster, PromoteReadReplicaDBCluster, RestoreDBClusterFromS3, - RestoreDBClusterFromSnapshot, RestoreDBClusterToPointInTime, StartDBCluster, - and StopDBCluster. \n For a Multi-AZ DB cluster, this data type is used - as a response element in the operations CreateDBCluster, DeleteDBCluster, - DescribeDBClusters, FailoverDBCluster, ModifyDBCluster, RebootDBCluster, - RestoreDBClusterFromSnapshot, and RestoreDBClusterToPointInTime. \n - For more information on Amazon Aurora DB clusters, see What is Amazon - Aurora? (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) - in the Amazon Aurora User Guide. \n For more information on Multi-AZ - DB clusters, see Multi-AZ deployments with two readable standby DB instances - (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) - in the Amazon RDS User Guide." + + + For an Amazon Aurora DB cluster, this data type is used as a response element + in the operations CreateDBCluster, DeleteDBCluster, DescribeDBClusters, FailoverDBCluster, + ModifyDBCluster, PromoteReadReplicaDBCluster, RestoreDBClusterFromS3, RestoreDBClusterFromSnapshot, + RestoreDBClusterToPointInTime, StartDBCluster, and StopDBCluster. + + + For a Multi-AZ DB cluster, this data type is used as a response element in + the operations CreateDBCluster, DeleteDBCluster, DescribeDBClusters, FailoverDBCluster, + ModifyDBCluster, RebootDBCluster, RestoreDBClusterFromSnapshot, and RestoreDBClusterToPointInTime. + + + For more information on Amazon Aurora DB clusters, see What is Amazon Aurora? + (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) + in the Amazon Aurora User Guide. + + + For more information on Multi-AZ DB clusters, see Multi-AZ deployments with + two readable standby DB instances (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) + in the Amazon RDS User Guide. properties: allocatedStorage: - description: "The amount of storage in gibibytes (GiB) to allocate - to each DB instance in the Multi-AZ DB cluster. \n This setting - is required to create a Multi-AZ DB cluster. \n Valid for: Multi-AZ - DB clusters only" + description: |- + The amount of storage in gibibytes (GiB) to allocate to each DB instance + in the Multi-AZ DB cluster. + + + This setting is required to create a Multi-AZ DB cluster. + + + Valid for: Multi-AZ DB clusters only format: int64 type: integer autoMinorVersionUpgrade: - description: "A value that indicates whether minor engine upgrades - are applied automatically to the DB cluster during the maintenance - window. By default, minor engine upgrades are applied automatically. - \n Valid for: Multi-AZ DB clusters only" + description: |- + A value that indicates whether minor engine upgrades are applied automatically + to the DB cluster during the maintenance window. By default, minor engine + upgrades are applied automatically. + + + Valid for: Multi-AZ DB clusters only type: boolean availabilityZones: - description: "A list of Availability Zones (AZs) where DB instances - in the DB cluster can be created. \n For information on Amazon Web - Services Regions and Availability Zones, see Choosing the Regions - and Availability Zones (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html) - in the Amazon Aurora User Guide. \n Valid for: Aurora DB clusters - only" + description: |- + A list of Availability Zones (AZs) where DB instances in the DB cluster can + be created. + + + For information on Amazon Web Services Regions and Availability Zones, see + Choosing the Regions and Availability Zones (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html) + in the Amazon Aurora User Guide. + + + Valid for: Aurora DB clusters only items: type: string type: array backtrackWindow: - description: "The target backtrack window, in seconds. To disable - backtracking, set this value to 0. \n Default: 0 \n Constraints: - \n - If specified, this value must be set to a number from 0 to - 259,200 (72 hours). \n Valid for: Aurora MySQL DB clusters only" + description: |- + The target backtrack window, in seconds. To disable backtracking, set this + value to 0. + + + Default: 0 + + + Constraints: + + + - If specified, this value must be set to a number from 0 to 259,200 (72 + hours). + + + Valid for: Aurora MySQL DB clusters only format: int64 type: integer backupRetentionPeriod: - description: "The number of days for which automated backups are retained. - \n Default: 1 \n Constraints: \n - Must be a value from 1 to 35 - \n Valid for: Aurora DB clusters and Multi-AZ DB clusters" + description: |- + The number of days for which automated backups are retained. + + + Default: 1 + + + Constraints: + + + - Must be a value from 1 to 35 + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters format: int64 type: integer characterSetName: - description: "A value that indicates that the DB cluster should be - associated with the specified CharacterSet. \n Valid for: Aurora - DB clusters only" + description: |- + A value that indicates that the DB cluster should be associated with the + specified CharacterSet. + + + Valid for: Aurora DB clusters only type: string copyTagsToSnapshot: - description: "A value that indicates whether to copy all tags from - the DB cluster to snapshots of the DB cluster. The default is not - to copy them. \n Valid for: Aurora DB clusters and Multi-AZ DB clusters" + description: |- + A value that indicates whether to copy all tags from the DB cluster to snapshots + of the DB cluster. The default is not to copy them. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: boolean databaseName: - description: "The name for your database of up to 64 alphanumeric - characters. If you do not provide a name, Amazon RDS doesn't create - a database in the DB cluster you are creating. \n Valid for: Aurora - DB clusters and Multi-AZ DB clusters" + description: |- + The name for your database of up to 64 alphanumeric characters. If you do + not provide a name, Amazon RDS doesn't create a database in the DB cluster + you are creating. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string dbClusterIdentifier: - description: "The DB cluster identifier. This parameter is stored - as a lowercase string. \n Constraints: \n - Must contain from 1 - to 63 letters, numbers, or hyphens. \n - First character must be - a letter. \n - Can't end with a hyphen or contain two consecutive - hyphens. \n Example: my-cluster1 \n Valid for: Aurora DB clusters - and Multi-AZ DB clusters" + description: |- + The DB cluster identifier. This parameter is stored as a lowercase string. + + + Constraints: + + + - Must contain from 1 to 63 letters, numbers, or hyphens. + + + - First character must be a letter. + + + - Can't end with a hyphen or contain two consecutive hyphens. + + + Example: my-cluster1 + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string dbClusterInstanceClass: - description: "The compute and memory capacity of each DB instance - in the Multi-AZ DB cluster, for example db.m6gd.xlarge. Not all - DB instance classes are available in all Amazon Web Services Regions, - or for all database engines. \n For the full list of DB instance - classes and availability for your engine, see DB instance class - (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) - in the Amazon RDS User Guide. \n This setting is required to create - a Multi-AZ DB cluster. \n Valid for: Multi-AZ DB clusters only" + description: |- + The compute and memory capacity of each DB instance in the Multi-AZ DB cluster, + for example db.m6gd.xlarge. Not all DB instance classes are available in + all Amazon Web Services Regions, or for all database engines. + + + For the full list of DB instance classes and availability for your engine, + see DB instance class (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + in the Amazon RDS User Guide. + + + This setting is required to create a Multi-AZ DB cluster. + + + Valid for: Multi-AZ DB clusters only type: string dbClusterParameterGroupName: - description: "The name of the DB cluster parameter group to associate - with this DB cluster. If you do not specify a value, then the default - DB cluster parameter group for the specified DB engine and version - is used. \n Constraints: \n - If supplied, must match the name of - an existing DB cluster parameter group. \n Valid for: Aurora DB - clusters and Multi-AZ DB clusters" + description: |- + The name of the DB cluster parameter group to associate with this DB cluster. + If you do not specify a value, then the default DB cluster parameter group + for the specified DB engine and version is used. + + + Constraints: + + + - If supplied, must match the name of an existing DB cluster parameter + group. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string dbClusterParameterGroupRef: description: "AWSResourceReferenceWrapper provides a wrapper around - *AWSResourceReference type to provide more user friendly syntax - for references using 'from' field Ex: APIIDRef: \n from: name: my-api" + *AWSResourceReference\ntype to provide more user friendly syntax + for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t + \ name: my-api" properties: from: - description: AWSResourceReference provides all the values necessary - to reference another k8s resource for finding the identifier(Id/ARN/Name) + description: |- + AWSResourceReference provides all the values necessary to reference another + k8s resource for finding the identifier(Id/ARN/Name) properties: name: type: string type: object type: object dbSubnetGroupName: - description: "A DB subnet group to associate with this DB cluster. - \n This setting is required to create a Multi-AZ DB cluster. \n - Constraints: Must match the name of an existing DBSubnetGroup. Must - not be default. \n Example: mydbsubnetgroup \n Valid for: Aurora - DB clusters and Multi-AZ DB clusters" + description: |- + A DB subnet group to associate with this DB cluster. + + + This setting is required to create a Multi-AZ DB cluster. + + + Constraints: Must match the name of an existing DBSubnetGroup. Must not be + default. + + + Example: mydbsubnetgroup + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string dbSubnetGroupRef: description: "AWSResourceReferenceWrapper provides a wrapper around - *AWSResourceReference type to provide more user friendly syntax - for references using 'from' field Ex: APIIDRef: \n from: name: my-api" + *AWSResourceReference\ntype to provide more user friendly syntax + for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t + \ name: my-api" properties: from: - description: AWSResourceReference provides all the values necessary - to reference another k8s resource for finding the identifier(Id/ARN/Name) + description: |- + AWSResourceReference provides all the values necessary to reference another + k8s resource for finding the identifier(Id/ARN/Name) properties: name: type: string @@ -165,199 +267,377 @@ spec: description: Reserved for future use. type: string deletionProtection: - description: "A value that indicates whether the DB cluster has deletion - protection enabled. The database can't be deleted when deletion - protection is enabled. By default, deletion protection isn't enabled. - \n Valid for: Aurora DB clusters and Multi-AZ DB clusters" + description: |- + A value that indicates whether the DB cluster has deletion protection enabled. + The database can't be deleted when deletion protection is enabled. By default, + deletion protection isn't enabled. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: boolean destinationRegion: description: DestinationRegion is used for presigning the request to a given region. type: string domain: - description: "The Active Directory directory ID to create the DB cluster - in. \n For Amazon Aurora DB clusters, Amazon RDS can use Kerberos - authentication to authenticate users that connect to the DB cluster. - \n For more information, see Kerberos authentication (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html) - in the Amazon Aurora User Guide. \n Valid for: Aurora DB clusters - only" + description: |- + The Active Directory directory ID to create the DB cluster in. + + + For Amazon Aurora DB clusters, Amazon RDS can use Kerberos authentication + to authenticate users that connect to the DB cluster. + + + For more information, see Kerberos authentication (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html) + in the Amazon Aurora User Guide. + + + Valid for: Aurora DB clusters only type: string domainIAMRoleName: - description: "Specify the name of the IAM role to be used when making - API calls to the Directory Service. \n Valid for: Aurora DB clusters - only" + description: |- + Specify the name of the IAM role to be used when making API calls to the + Directory Service. + + + Valid for: Aurora DB clusters only type: string enableCloudwatchLogsExports: - description: "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 - being used. \n # RDS for MySQL \n Possible values are error, general, - and slowquery. \n # RDS for PostgreSQL \n Possible values are postgresql - and upgrade. \n # Aurora MySQL \n Possible values are audit, error, - general, and slowquery. \n # Aurora PostgreSQL \n Possible value - is postgresql. \n For more information about exporting CloudWatch - Logs for Amazon RDS, 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 RDS User Guide. \n For more information about exporting - CloudWatch Logs for Amazon Aurora, see Publishing Database Logs - to Amazon CloudWatch Logs (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) - in the Amazon Aurora User Guide. \n Valid for: Aurora DB clusters - and Multi-AZ DB clusters" + description: |- + 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 being used. + + + # RDS for MySQL + + + Possible values are error, general, and slowquery. + + + # RDS for PostgreSQL + + + Possible values are postgresql and upgrade. + + + # Aurora MySQL + + + Possible values are audit, error, general, and slowquery. + + + # Aurora PostgreSQL + + + Possible value is postgresql. + + + For more information about exporting CloudWatch Logs for Amazon RDS, 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 RDS User Guide. + + + For more information about exporting CloudWatch Logs for Amazon Aurora, see + Publishing Database Logs to Amazon CloudWatch Logs (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) + in the Amazon Aurora User Guide. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters items: type: string type: array enableGlobalWriteForwarding: - description: "A value that indicates whether to enable this DB cluster - to forward write operations to the primary cluster of an Aurora - global database (GlobalCluster). By default, write operations are - not allowed on Aurora DB clusters that are secondary clusters in - an Aurora global database. \n You can set this value only on Aurora - DB clusters that are members of an Aurora global database. With - this parameter enabled, a secondary cluster can forward writes to - the current primary cluster and the resulting changes are replicated - back to this cluster. For the primary DB cluster of an Aurora global - database, this value is used immediately if the primary is demoted - by the FailoverGlobalCluster API operation, but it does nothing - until then. \n Valid for: Aurora DB clusters only" + description: |- + A value that indicates whether to enable this DB cluster to forward write + operations to the primary cluster of an Aurora global database (GlobalCluster). + By default, write operations are not allowed on Aurora DB clusters that are + secondary clusters in an Aurora global database. + + + You can set this value only on Aurora DB clusters that are members of an + Aurora global database. With this parameter enabled, a secondary cluster + can forward writes to the current primary cluster and the resulting changes + are replicated back to this cluster. For the primary DB cluster of an Aurora + global database, this value is used immediately if the primary is demoted + by the FailoverGlobalCluster API operation, but it does nothing until then. + + + Valid for: Aurora DB clusters only type: boolean enableHTTPEndpoint: - description: "A value that indicates whether to enable the HTTP endpoint - for an Aurora Serverless v1 DB cluster. By default, the HTTP endpoint - is disabled. \n When enabled, the HTTP endpoint provides a connectionless - web service API for running SQL queries on the Aurora Serverless - v1 DB cluster. You can also query your database from inside the - RDS console with the query editor. \n For more information, see - Using the Data API for Aurora Serverless v1 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html) - in the Amazon Aurora User Guide. \n Valid for: Aurora DB clusters - only" + description: |- + A value that indicates whether to enable the HTTP endpoint for an Aurora + Serverless v1 DB cluster. By default, the HTTP endpoint is disabled. + + + When enabled, the HTTP endpoint provides a connectionless web service API + for running SQL queries on the Aurora Serverless v1 DB cluster. You can also + query your database from inside the RDS console with the query editor. + + + For more information, see Using the Data API for Aurora Serverless v1 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html) + in the Amazon Aurora User Guide. + + + Valid for: Aurora DB clusters only type: boolean enableIAMDatabaseAuthentication: - description: "A value that indicates whether to enable mapping of - Amazon Web Services Identity and Access Management (IAM) accounts - to database accounts. By default, mapping isn't enabled. \n For - more information, see IAM Database Authentication (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html) - in the Amazon Aurora User Guide. \n Valid for: Aurora DB clusters - only" + description: |- + A value that indicates whether to enable mapping of Amazon Web Services Identity + and Access Management (IAM) accounts to database accounts. By default, mapping + isn't enabled. + + + For more information, see IAM Database Authentication (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html) + in the Amazon Aurora User Guide. + + + Valid for: Aurora DB clusters only type: boolean enablePerformanceInsights: - description: "A value that indicates whether to turn on Performance - Insights for the DB cluster. \n For more information, see Using - Amazon Performance Insights (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) - in the Amazon RDS User Guide. \n Valid for: Multi-AZ DB clusters - only" + description: |- + A value that indicates whether to turn on Performance Insights for the DB + cluster. + + + For more information, see Using Amazon Performance Insights (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) + in the Amazon RDS User Guide. + + + Valid for: Multi-AZ DB clusters only type: boolean engine: - description: "The name of the database engine to be used for this - DB cluster. \n Valid Values: \n - aurora-mysql \n - aurora-postgresql - \n - mysql \n - postgres \n Valid for: Aurora DB clusters and Multi-AZ - DB clusters" + description: |- + The name of the database engine to be used for this DB cluster. + + + Valid Values: + + + - aurora-mysql + + + - aurora-postgresql + + + - mysql + + + - postgres + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string engineMode: - description: "The DB engine mode of the DB cluster, either provisioned - or serverless. \n The serverless engine mode only applies for Aurora - Serverless v1 DB clusters. \n Limitations and requirements apply - to some DB engine modes. For more information, see the following - sections in the Amazon Aurora User Guide: \n - Limitations of Aurora - Serverless v1 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html#aurora-serverless.limitations) - \n - Requirements for Aurora Serverless v2 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.requirements.html) - \n - Limitations of parallel query (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-mysql-parallel-query.html#aurora-mysql-parallel-query-limitations) - \n - Limitations of Aurora global databases (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html#aurora-global-database.limitations) - \n Valid for: Aurora DB clusters only" + description: |- + The DB engine mode of the DB cluster, either provisioned or serverless. + + + The serverless engine mode only applies for Aurora Serverless v1 DB clusters. + + + Limitations and requirements apply to some DB engine modes. For more information, + see the following sections in the Amazon Aurora User Guide: + + + - Limitations of Aurora Serverless v1 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html#aurora-serverless.limitations) + + + - Requirements for Aurora Serverless v2 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.requirements.html) + + + - Limitations of parallel query (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-mysql-parallel-query.html#aurora-mysql-parallel-query-limitations) + + + - Limitations of Aurora global databases (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html#aurora-global-database.limitations) + + + Valid for: Aurora DB clusters only type: string engineVersion: - description: "The version number of the database engine to use. \n - To list all of the available engine versions for Aurora MySQL version - 2 (5.7-compatible) and version 3 (MySQL 8.0-compatible), use the - following command: \n aws rds describe-db-engine-versions --engine - aurora-mysql --query \"DBEngineVersions[].EngineVersion\" \n You - can supply either 5.7 or 8.0 to use the default engine version for - Aurora MySQL version 2 or version 3, respectively. \n To list all - of the available engine versions for Aurora PostgreSQL, use the - following command: \n aws rds describe-db-engine-versions --engine - aurora-postgresql --query \"DBEngineVersions[].EngineVersion\" \n - To list all of the available engine versions for RDS for MySQL, - use the following command: \n aws rds describe-db-engine-versions - --engine mysql --query \"DBEngineVersions[].EngineVersion\" \n To - list all of the available engine versions for RDS for PostgreSQL, - use the following command: \n aws rds describe-db-engine-versions - --engine postgres --query \"DBEngineVersions[].EngineVersion\" \n - # Aurora MySQL \n For information, see Database engine updates for - Amazon Aurora MySQL (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html) - in the Amazon Aurora User Guide. \n # Aurora PostgreSQL \n For information, - see Amazon Aurora PostgreSQL releases and engine versions (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updates.20180305.html) - in the Amazon Aurora User Guide. \n # MySQL \n For information, - see Amazon RDS for MySQL (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt) - in the Amazon RDS User Guide. \n # PostgreSQL \n For information, - see Amazon RDS for PostgreSQL (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts) - in the Amazon RDS User Guide. \n Valid for: Aurora DB clusters and - Multi-AZ DB clusters" + description: |- + The version number of the database engine to use. + + + To list all of the available engine versions for Aurora MySQL version 2 (5.7-compatible) + and version 3 (MySQL 8.0-compatible), use the following command: + + + aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[].EngineVersion" + + + You can supply either 5.7 or 8.0 to use the default engine version for Aurora + MySQL version 2 or version 3, respectively. + + + To list all of the available engine versions for Aurora PostgreSQL, use the + following command: + + + aws rds describe-db-engine-versions --engine aurora-postgresql --query "DBEngineVersions[].EngineVersion" + + + To list all of the available engine versions for RDS for MySQL, use the following + command: + + + aws rds describe-db-engine-versions --engine mysql --query "DBEngineVersions[].EngineVersion" + + + To list all of the available engine versions for RDS for PostgreSQL, use + the following command: + + + aws rds describe-db-engine-versions --engine postgres --query "DBEngineVersions[].EngineVersion" + + + # Aurora MySQL + + + For information, see Database engine updates for Amazon Aurora MySQL (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html) + in the Amazon Aurora User Guide. + + + # Aurora PostgreSQL + + + For information, see Amazon Aurora PostgreSQL releases and engine versions + (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updates.20180305.html) + in the Amazon Aurora User Guide. + + + # MySQL + + + For information, see Amazon RDS for MySQL (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt) + in the Amazon RDS User Guide. + + + # PostgreSQL + + + For information, see Amazon RDS for PostgreSQL (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts) + in the Amazon RDS User Guide. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string globalClusterIdentifier: - description: "The global cluster ID of an Aurora cluster that becomes - the primary cluster in the new global database cluster. \n Valid - for: Aurora DB clusters only" + description: |- + The global cluster ID of an Aurora cluster that becomes the primary cluster + in the new global database cluster. + + + Valid for: Aurora DB clusters only type: string iops: - description: "The amount of Provisioned IOPS (input/output operations - per second) to be initially allocated for each DB instance in the - Multi-AZ DB cluster. \n For information about valid IOPS values, - see Provisioned IOPS storage (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS) - in the Amazon RDS User Guide. \n This setting is required to create - a Multi-AZ DB cluster. \n Constraints: Must be a multiple between - .5 and 50 of the storage amount for the DB cluster. \n Valid for: - Multi-AZ DB clusters only" + description: |- + The amount of Provisioned IOPS (input/output operations per second) to be + initially allocated for each DB instance in the Multi-AZ DB cluster. + + + For information about valid IOPS values, see Provisioned IOPS storage (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS) + in the Amazon RDS User Guide. + + + This setting is required to create a Multi-AZ DB cluster. + + + Constraints: Must be a multiple between .5 and 50 of the storage amount for + the DB cluster. + + + Valid for: Multi-AZ DB clusters only format: int64 type: integer kmsKeyID: - description: "The Amazon Web Services KMS key identifier for an encrypted - DB cluster. \n The Amazon Web Services KMS key identifier is the - key ARN, key ID, alias ARN, or alias name for the KMS key. To use - a KMS key in a different Amazon Web Services account, specify the - key ARN or alias ARN. \n When a KMS key isn't specified in KmsKeyId: - \n - If ReplicationSourceIdentifier identifies an encrypted source, - then Amazon RDS will use the KMS key used to encrypt the source. - Otherwise, Amazon RDS will use your default KMS key. \n - If the - StorageEncrypted parameter is enabled and ReplicationSourceIdentifier - isn't specified, then Amazon RDS will use your default KMS key. - \n There is a default KMS key for your Amazon Web Services account. - Your Amazon Web Services account has a different default KMS key - for each Amazon Web Services Region. \n If you create a read replica - of an encrypted DB cluster in another Amazon Web Services Region, - you must set KmsKeyId to a KMS key identifier that is valid in the - destination Amazon Web Services Region. This KMS key is used to - encrypt the read replica in that Amazon Web Services Region. \n - Valid for: Aurora DB clusters and Multi-AZ DB clusters" + description: |- + The Amazon Web Services KMS key identifier for an encrypted DB cluster. + + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. To use a KMS key in a different Amazon + Web Services account, specify the key ARN or alias ARN. + + + When a KMS key isn't specified in KmsKeyId: + + + - If ReplicationSourceIdentifier identifies an encrypted source, then + Amazon RDS will use the KMS key used to encrypt the source. Otherwise, + Amazon RDS will use your default KMS key. + + + - If the StorageEncrypted parameter is enabled and ReplicationSourceIdentifier + isn't specified, then Amazon RDS will use your default KMS key. + + + There is a default KMS key for your Amazon Web Services account. Your Amazon + Web Services account has a different default KMS key for each Amazon Web + Services Region. + + + If you create a read replica of an encrypted DB cluster in another Amazon + Web Services Region, you must set KmsKeyId to a KMS key identifier that is + valid in the destination Amazon Web Services Region. This KMS key is used + to encrypt the read replica in that Amazon Web Services Region. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string kmsKeyRef: description: "AWSResourceReferenceWrapper provides a wrapper around - *AWSResourceReference type to provide more user friendly syntax - for references using 'from' field Ex: APIIDRef: \n from: name: my-api" + *AWSResourceReference\ntype to provide more user friendly syntax + for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t + \ name: my-api" properties: from: - description: AWSResourceReference provides all the values necessary - to reference another k8s resource for finding the identifier(Id/ARN/Name) + description: |- + AWSResourceReference provides all the values necessary to reference another + k8s resource for finding the identifier(Id/ARN/Name) properties: name: type: string type: object type: object manageMasterUserPassword: - description: "A value that indicates whether to manage the master - user password with Amazon Web Services Secrets Manager. \n For more - information, see Password management with Amazon Web Services Secrets + description: |- + A value that indicates whether to manage the master user password with Amazon + Web Services Secrets Manager. + + + For more information, see Password management with Amazon Web Services Secrets Manager (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the Amazon RDS User Guide and Password management with Amazon - Web Services Secrets Manager (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) - in the Amazon Aurora User Guide. \n Constraints: \n - Can't manage - the master user password with Amazon Web Services Secrets Manager - if MasterUserPassword is specified. \n Valid for: Aurora DB clusters - and Multi-AZ DB clusters" + in the Amazon RDS User Guide and Password management with Amazon Web Services + Secrets Manager (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) + in the Amazon Aurora User Guide. + + + Constraints: + + + - Can't manage the master user password with Amazon Web Services Secrets + Manager if MasterUserPassword is specified. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: boolean masterUserPassword: - description: "The password for the master database user. This password - can contain any printable ASCII character except \"/\", \"\"\", - or \"@\". \n Constraints: \n - Must contain from 8 to 41 characters. - \n - Can't be specified if ManageMasterUserPassword is turned on. - \n Valid for: Aurora DB clusters and Multi-AZ DB clusters" + description: |- + The password for the master database user. This password can contain any + printable ASCII character except "/", """, or "@". + + + Constraints: + + + - Must contain from 8 to 41 characters. + + + - Can't be specified if ManageMasterUserPassword is turned on. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters properties: key: description: Key is the key within the secret @@ -375,191 +655,380 @@ spec: type: object x-kubernetes-map-type: atomic masterUserSecretKMSKeyID: - description: "The Amazon Web Services KMS key identifier to encrypt - a secret that is automatically generated and managed in Amazon Web - Services Secrets Manager. \n This setting is valid only if the master - user password is managed by RDS in Amazon Web Services Secrets Manager - for the DB cluster. \n The Amazon Web Services KMS key identifier - is the key ARN, key ID, alias ARN, or alias name for the KMS key. - To use a KMS key in a different Amazon Web Services account, specify - the key ARN or alias ARN. \n If you don't specify MasterUserSecretKmsKeyId, - then the aws/secretsmanager KMS key is used to encrypt the secret. - If the secret is in a different Amazon Web Services account, then - you can't use the aws/secretsmanager KMS key to encrypt the secret, - and you must use a customer managed KMS key. \n There is a default - KMS key for your Amazon Web Services account. Your Amazon Web Services - account has a different default KMS key for each Amazon Web Services - Region. \n Valid for: Aurora DB clusters and Multi-AZ DB clusters" + description: |- + The Amazon Web Services KMS key identifier to encrypt a secret that is automatically + generated and managed in Amazon Web Services Secrets Manager. + + + This setting is valid only if the master user password is managed by RDS + in Amazon Web Services Secrets Manager for the DB cluster. + + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. To use a KMS key in a different Amazon + Web Services account, specify the key ARN or alias ARN. + + + If you don't specify MasterUserSecretKmsKeyId, then the aws/secretsmanager + KMS key is used to encrypt the secret. If the secret is in a different Amazon + Web Services account, then you can't use the aws/secretsmanager KMS key to + encrypt the secret, and you must use a customer managed KMS key. + + + There is a default KMS key for your Amazon Web Services account. Your Amazon + Web Services account has a different default KMS key for each Amazon Web + Services Region. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string masterUserSecretKMSKeyRef: description: "AWSResourceReferenceWrapper provides a wrapper around - *AWSResourceReference type to provide more user friendly syntax - for references using 'from' field Ex: APIIDRef: \n from: name: my-api" + *AWSResourceReference\ntype to provide more user friendly syntax + for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t + \ name: my-api" properties: from: - description: AWSResourceReference provides all the values necessary - to reference another k8s resource for finding the identifier(Id/ARN/Name) + description: |- + AWSResourceReference provides all the values necessary to reference another + k8s resource for finding the identifier(Id/ARN/Name) properties: name: type: string type: object type: object masterUsername: - description: "The name of the master user for the DB cluster. \n Constraints: - \n - Must be 1 to 16 letters or numbers. \n - First character must - be a letter. \n - Can't be a reserved word for the chosen database - engine. \n Valid for: Aurora DB clusters and Multi-AZ DB clusters" + description: |- + The name of the master user for the DB cluster. + + + Constraints: + + + - Must be 1 to 16 letters or numbers. + + + - First character must be a letter. + + + - Can't be a reserved word for the chosen database engine. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string monitoringInterval: - description: "The interval, in seconds, between points when Enhanced - Monitoring metrics are collected for the DB cluster. To turn off - collecting Enhanced Monitoring metrics, specify 0. The default is - 0. \n If MonitoringRoleArn is specified, also set MonitoringInterval - to a value other than 0. \n Valid Values: 0, 1, 5, 10, 15, 30, 60 - \n Valid for: Multi-AZ DB clusters only" + description: |- + The interval, in seconds, between points when Enhanced Monitoring metrics + are collected for the DB cluster. To turn off collecting Enhanced Monitoring + metrics, specify 0. The default is 0. + + + If MonitoringRoleArn is specified, also set MonitoringInterval to a value + other than 0. + + + Valid Values: 0, 1, 5, 10, 15, 30, 60 + + + Valid for: Multi-AZ DB clusters only format: int64 type: integer monitoringRoleARN: - description: "The Amazon Resource Name (ARN) for the IAM role that - permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch - Logs. An example is arn:aws:iam:123456789012:role/emaccess. For - information on creating a monitoring role, see Setting up and enabling + description: |- + The Amazon Resource Name (ARN) for the IAM role that permits RDS to send + Enhanced Monitoring metrics to Amazon CloudWatch Logs. An example is arn:aws:iam:123456789012:role/emaccess. + For information on creating a monitoring role, see Setting up and enabling Enhanced Monitoring (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling) - in the Amazon RDS User Guide. \n If MonitoringInterval is set to - a value other than 0, supply a MonitoringRoleArn value. \n Valid - for: Multi-AZ DB clusters only" + in the Amazon RDS User Guide. + + + If MonitoringInterval is set to a value other than 0, supply a MonitoringRoleArn + value. + + + Valid for: Multi-AZ DB clusters only type: string networkType: - description: "The network type of the DB cluster. \n Valid values: - \n - IPV4 \n - DUAL \n The network type is determined by the DBSubnetGroup - specified for the DB cluster. A DBSubnetGroup can support only the - IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL). \n For - more information, see Working with a DB instance in a VPC (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) - in the Amazon Aurora User Guide. \n Valid for: Aurora DB clusters - only" + description: |- + The network type of the DB cluster. + + + Valid values: + + + - IPV4 + + + - DUAL + + + The network type is determined by the DBSubnetGroup specified for the DB + cluster. A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and + the IPv6 protocols (DUAL). + + + For more information, see Working with a DB instance in a VPC (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) + in the Amazon Aurora User Guide. + + + Valid for: Aurora DB clusters only type: string optionGroupName: - description: "A value that indicates that the DB cluster should be - associated with the specified option group. \n DB clusters are associated - with a default option group that can't be modified." + description: |- + A value that indicates that the DB cluster should be associated with the + specified option group. + + + DB clusters are associated with a default option group that can't be modified. type: string performanceInsightsKMSKeyID: - description: "The Amazon Web Services KMS key identifier for encryption - of Performance Insights data. \n The Amazon Web Services KMS key - identifier is the key ARN, key ID, alias ARN, or alias name for - the KMS key. \n If you don't specify a value for PerformanceInsightsKMSKeyId, - then Amazon RDS uses your default KMS key. There is a default KMS - key for your Amazon Web Services account. Your Amazon Web Services - account has a different default KMS key for each Amazon Web Services - Region. \n Valid for: Multi-AZ DB clusters only" + description: |- + The Amazon Web Services KMS key identifier for encryption of Performance + Insights data. + + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + + + If you don't specify a value for PerformanceInsightsKMSKeyId, then Amazon + RDS uses your default KMS key. There is a default KMS key for your Amazon + Web Services account. Your Amazon Web Services account has a different default + KMS key for each Amazon Web Services Region. + + + Valid for: Multi-AZ DB clusters only type: string performanceInsightsRetentionPeriod: - description: "The number of days to retain Performance Insights data. - The default is 7 days. The following values are valid: \n - 7 \n - - month * 31, where month is a number of months from 1-23 \n - 731 - \n For example, the following values are valid: \n - 93 (3 months - * 31) \n - 341 (11 months * 31) \n - 589 (19 months * 31) \n - 731 - \n If you specify a retention period such as 94, which isn't a valid - value, RDS issues an error. \n Valid for: Multi-AZ DB clusters only" + description: |- + The number of days to retain Performance Insights data. The default is 7 + days. The following values are valid: + + + - 7 + + + - month * 31, where month is a number of months from 1-23 + + + - 731 + + + For example, the following values are valid: + + + - 93 (3 months * 31) + + + - 341 (11 months * 31) + + + - 589 (19 months * 31) + + + - 731 + + + If you specify a retention period such as 94, which isn't a valid value, + RDS issues an error. + + + Valid for: Multi-AZ DB clusters only format: int64 type: integer port: - description: "The port number on which the instances in the DB cluster - accept connections. \n # RDS for MySQL and Aurora MySQL \n Default: - 3306 \n Valid values: 1150-65535 \n # RDS for PostgreSQL and Aurora - PostgreSQL \n Default: 5432 \n Valid values: 1150-65535 \n Valid - for: Aurora DB clusters and Multi-AZ DB clusters" + description: |- + The port number on which the instances in the DB cluster accept connections. + + + # RDS for MySQL and Aurora MySQL + + + Default: 3306 + + + Valid values: 1150-65535 + + + # RDS for PostgreSQL and Aurora PostgreSQL + + + Default: 5432 + + + Valid values: 1150-65535 + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters format: int64 type: integer preSignedURL: - description: "When you are replicating a DB cluster from one Amazon - Web Services GovCloud (US) Region to another, an URL that contains - a Signature Version 4 signed request for the CreateDBCluster operation - to be called in the source Amazon Web Services Region where the - DB cluster is replicated from. Specify PreSignedUrl only when you - are performing cross-Region replication from an encrypted DB cluster. - \n The presigned URL must be a valid request for the CreateDBCluster - API operation that can run in the source Amazon Web Services Region - that contains the encrypted DB cluster to copy. \n The presigned - URL request must contain the following parameter values: \n - KmsKeyId - - The KMS key identifier for the KMS key to use to encrypt the copy - of the DB cluster in the destination Amazon Web Services Region. - This should refer to the same KMS key for both the CreateDBCluster - operation that is called in the destination Amazon Web Services - Region, and the operation contained in the presigned URL. \n - DestinationRegion - - The name of the Amazon Web Services Region that Aurora read replica - will be created in. \n - ReplicationSourceIdentifier - The DB cluster - identifier for the encrypted DB cluster to be copied. This identifier - must be in the Amazon Resource Name (ARN) format for the source - Amazon Web Services Region. For example, if you are copying an encrypted - DB cluster from the us-west-2 Amazon Web Services Region, then your - ReplicationSourceIdentifier would look like Example: arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1. - \n To learn how to generate a Signature Version 4 signed request, - see Authenticating Requests: Using Query Parameters (Amazon Web - Services Signature Version 4) (https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) + description: |- + When you are replicating a DB cluster from one Amazon Web Services GovCloud + (US) Region to another, an URL that contains a Signature Version 4 signed + request for the CreateDBCluster operation to be called in the source Amazon + Web Services Region where the DB cluster is replicated from. Specify PreSignedUrl + only when you are performing cross-Region replication from an encrypted DB + cluster. + + + The presigned URL must be a valid request for the CreateDBCluster API operation + that can run in the source Amazon Web Services Region that contains the encrypted + DB cluster to copy. + + + The presigned URL request must contain the following parameter values: + + + - KmsKeyId - The KMS key identifier for the KMS key to use to encrypt + the copy of the DB cluster in the destination Amazon Web Services Region. + This should refer to the same KMS key for both the CreateDBCluster operation + that is called in the destination Amazon Web Services Region, and the + operation contained in the presigned URL. + + + - DestinationRegion - The name of the Amazon Web Services Region that + Aurora read replica will be created in. + + + - ReplicationSourceIdentifier - The DB cluster identifier for the encrypted + DB cluster to be copied. This identifier must be in the Amazon Resource + Name (ARN) format for the source Amazon Web Services Region. For example, + if you are copying an encrypted DB cluster from the us-west-2 Amazon Web + Services Region, then your ReplicationSourceIdentifier would look like + Example: arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1. + + + To learn how to generate a Signature Version 4 signed request, see Authenticating + Requests: Using Query Parameters (Amazon Web Services Signature Version 4) + (https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) and Signature Version 4 Signing Process (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). - \n If you are using an Amazon Web Services SDK tool or the CLI, - you can specify SourceRegion (or --source-region for the CLI) instead - of specifying PreSignedUrl manually. Specifying SourceRegion autogenerates - a presigned URL that is a valid request for the operation that can - run in the source Amazon Web Services Region. \n Valid for: Aurora - DB clusters only" + + + If you are using an Amazon Web Services SDK tool or the CLI, you can specify + SourceRegion (or --source-region for the CLI) instead of specifying PreSignedUrl + manually. Specifying SourceRegion autogenerates a presigned URL that is a + valid request for the operation that can run in the source Amazon Web Services + Region. + + + Valid for: Aurora DB clusters only type: string preferredBackupWindow: - description: "The daily time range during which automated backups - are created if automated backups are enabled using the BackupRetentionPeriod - parameter. \n The default is a 30-minute window selected at random - from an 8-hour block of time for each Amazon Web Services Region. - To view the time blocks available, see Backup window (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow) - in the Amazon Aurora User Guide. \n Constraints: \n - Must be in - the format hh24:mi-hh24:mi. \n - Must be in Universal Coordinated - Time (UTC). \n - Must not conflict with the preferred maintenance - window. \n - Must be at least 30 minutes. \n Valid for: Aurora DB - clusters and Multi-AZ DB clusters" + description: |- + The daily time range during which automated backups are created if automated + backups are enabled using the BackupRetentionPeriod parameter. + + + The default is a 30-minute window selected at random from an 8-hour block + of time for each Amazon Web Services Region. To view the time blocks available, + see Backup window (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow) + in the Amazon Aurora User Guide. + + + Constraints: + + + - Must be in the format hh24:mi-hh24:mi. + + + - Must be in Universal Coordinated Time (UTC). + + + - Must not conflict with the preferred maintenance window. + + + - Must be at least 30 minutes. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string preferredMaintenanceWindow: - description: "The weekly time range during which system maintenance - can occur, in Universal Coordinated Time (UTC). \n Format: ddd:hh24:mi-ddd:hh24:mi - \n The default is a 30-minute window selected at random from an - 8-hour block of time for each Amazon Web Services Region, occurring - on a random day of the week. To see the time blocks available, see - Adjusting the Preferred DB Cluster Maintenance Window (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora) - in the Amazon Aurora User Guide. \n Valid Days: Mon, Tue, Wed, Thu, - Fri, Sat, Sun. \n Constraints: Minimum 30-minute window. \n Valid - for: Aurora DB clusters and Multi-AZ DB clusters" + description: |- + The weekly time range during which system maintenance can occur, in Universal + Coordinated Time (UTC). + + + Format: ddd:hh24:mi-ddd:hh24:mi + + + The default is a 30-minute window selected at random from an 8-hour block + of time for each Amazon Web Services Region, occurring on a random day of + the week. To see the time blocks available, see Adjusting the Preferred DB + Cluster Maintenance Window (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora) + in the Amazon Aurora User Guide. + + + Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. + + + Constraints: Minimum 30-minute window. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string publiclyAccessible: - description: "A value that indicates whether the DB cluster is publicly - accessible. \n When the DB cluster is publicly accessible, its Domain - Name System (DNS) endpoint resolves to the private IP address from - within the DB cluster's virtual private cloud (VPC). It resolves - to the public IP address from outside of the DB cluster's VPC. Access - to the DB cluster is ultimately controlled by the security group - it uses. That public access isn't permitted if the security group - assigned to the DB cluster doesn't permit it. \n When the DB cluster - isn't publicly accessible, it is an internal DB cluster with a DNS - name that resolves to a private IP address. \n Default: The default - behavior varies depending on whether DBSubnetGroupName is specified. - \n If DBSubnetGroupName isn't specified, and PubliclyAccessible - isn't specified, the following applies: \n - If the default VPC - in the target Region doesn’t have an internet gateway attached to - it, the DB cluster is private. \n - If the default VPC in the target - Region has an internet gateway attached to it, the DB cluster is - public. \n If DBSubnetGroupName is specified, and PubliclyAccessible - isn't specified, the following applies: \n - If the subnets are - part of a VPC that doesn’t have an internet gateway attached to - it, the DB cluster is private. \n - If the subnets are part of a - VPC that has an internet gateway attached to it, the DB cluster - is public. \n Valid for: Multi-AZ DB clusters only" + description: |- + A value that indicates whether the DB cluster is publicly accessible. + + + When the DB cluster is publicly accessible, its Domain Name System (DNS) + endpoint resolves to the private IP address from within the DB cluster's + virtual private cloud (VPC). It resolves to the public IP address from outside + of the DB cluster's VPC. Access to the DB cluster is ultimately controlled + by the security group it uses. That public access isn't permitted if the + security group assigned to the DB cluster doesn't permit it. + + + When the DB cluster isn't publicly accessible, it is an internal DB cluster + with a DNS name that resolves to a private IP address. + + + Default: The default behavior varies depending on whether DBSubnetGroupName + is specified. + + + If DBSubnetGroupName isn't specified, and PubliclyAccessible isn't specified, + the following applies: + + + - If the default VPC in the target Region doesn’t have an internet gateway + attached to it, the DB cluster is private. + + + - If the default VPC in the target Region has an internet gateway attached + to it, the DB cluster is public. + + + If DBSubnetGroupName is specified, and PubliclyAccessible isn't specified, + the following applies: + + + - If the subnets are part of a VPC that doesn’t have an internet gateway + attached to it, the DB cluster is private. + + + - If the subnets are part of a VPC that has an internet gateway attached + to it, the DB cluster is public. + + + Valid for: Multi-AZ DB clusters only type: boolean replicationSourceIdentifier: - description: "The Amazon Resource Name (ARN) of the source DB instance - or DB cluster if this DB cluster is created as a read replica. \n - Valid for: Aurora DB clusters and Multi-AZ DB clusters" + description: |- + The Amazon Resource Name (ARN) of the source DB instance or DB cluster if + this DB cluster is created as a read replica. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string scalingConfiguration: - description: "For DB clusters in serverless DB engine mode, the scaling - properties of the DB cluster. \n Valid for: Aurora DB clusters only" + description: |- + For DB clusters in serverless DB engine mode, the scaling properties of the + DB cluster. + + + Valid for: Aurora DB clusters only properties: autoPause: type: boolean @@ -579,10 +1048,12 @@ spec: type: string type: object serverlessV2ScalingConfiguration: - description: "Contains the scaling configuration of an Aurora Serverless - v2 DB cluster. \n For more information, see Using Amazon Aurora - Serverless v2 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) - in the Amazon Aurora User Guide." + description: |- + Contains the scaling configuration of an Aurora Serverless v2 DB cluster. + + + For more information, see Using Amazon Aurora Serverless v2 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) + in the Amazon Aurora User Guide. properties: maxCapacity: type: number @@ -590,37 +1061,68 @@ spec: type: number type: object snapshotIdentifier: - description: "The identifier for the DB snapshot or DB cluster snapshot - to restore from. \n You can use either the name or the Amazon Resource - Name (ARN) to specify a DB cluster snapshot. However, you can use - only the ARN to specify a DB snapshot. \n Constraints: \n - Must - match the identifier of an existing Snapshot. \n Valid for: Aurora - DB clusters and Multi-AZ DB clusters" + description: |- + The identifier for the DB snapshot or DB cluster snapshot to restore from. + + + You can use either the name or the Amazon Resource Name (ARN) to specify + a DB cluster snapshot. However, you can use only the ARN to specify a DB + snapshot. + + + Constraints: + + + - Must match the identifier of an existing Snapshot. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: string sourceRegion: - description: SourceRegion is the source region where the resource - exists. This is not sent over the wire and is only used for presigning. - This value should always have the same region as the source ARN. + description: |- + SourceRegion is the source region where the resource exists. This is not + sent over the wire and is only used for presigning. This value should always + have the same region as the source ARN. type: string storageEncrypted: - description: "A value that indicates whether the DB cluster is encrypted. - \n Valid for: Aurora DB clusters and Multi-AZ DB clusters" + description: |- + A value that indicates whether the DB cluster is encrypted. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters type: boolean storageType: - description: "Specifies the storage type to be associated with the - DB cluster. \n This setting is required to create a Multi-AZ DB - cluster. \n Valid values: io1 \n When specified, a value for the - Iops parameter is required. \n Default: io1 \n Valid for: Multi-AZ - DB clusters only" + description: |- + Specifies the storage type to be associated with the DB cluster. + + + This setting is required to create a Multi-AZ DB cluster. + + + Valid values: io1 + + + When specified, a value for the Iops parameter is required. + + + Default: io1 + + + Valid for: Multi-AZ DB clusters only type: string tags: - description: "Tags to assign to the DB cluster. \n Valid for: Aurora - DB clusters and Multi-AZ DB clusters" + description: |- + Tags to assign to the DB cluster. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters items: - description: "Metadata assigned to an Amazon RDS resource consisting - of a key-value pair. \n For more information, see Tagging Amazon - RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the Amazon RDS User Guide." + description: |- + Metadata assigned to an Amazon RDS resource consisting of a key-value pair. + + + For more information, see Tagging Amazon RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the Amazon RDS User Guide. properties: key: type: string @@ -629,22 +1131,25 @@ spec: type: object type: array vpcSecurityGroupIDs: - description: "A list of EC2 VPC security groups to associate with - this DB cluster. \n Valid for: Aurora DB clusters and Multi-AZ DB - clusters" + description: |- + A list of EC2 VPC security groups to associate with this DB cluster. + + + Valid for: Aurora DB clusters and Multi-AZ DB clusters items: type: string type: array vpcSecurityGroupRefs: items: description: "AWSResourceReferenceWrapper provides a wrapper around - *AWSResourceReference type to provide more user friendly syntax - for references using 'from' field Ex: APIIDRef: \n from: name: - my-api" + *AWSResourceReference\ntype to provide more user friendly syntax + for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t + \ name: my-api" properties: from: - description: AWSResourceReference provides all the values necessary - to reference another k8s resource for finding the identifier(Id/ARN/Name) + description: |- + AWSResourceReference provides all the values necessary to reference another + k8s resource for finding the identifier(Id/ARN/Name) properties: name: type: string @@ -659,24 +1164,26 @@ spec: description: DBClusterStatus defines the observed state of DBCluster properties: ackResourceMetadata: - description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` - member that is used to contain resource sync state, account ownership, + description: |- + All CRs managed by ACK have a common `Status.ACKResourceMetadata` member + that is used to contain resource sync state, account ownership, constructed ARN for the resource properties: arn: - description: 'ARN is the Amazon Resource Name for the resource. - This is a globally-unique identifier and is set only by the - ACK service controller once the controller has orchestrated - the creation of the resource OR when it has verified that an - "adopted" resource (a resource where the ARN annotation was - set by the Kubernetes user on the CR) exists and matches the - supplied CR''s Spec field values. TODO(vijat@): Find a better - strategy for resources that do not have ARN in CreateOutputResponse - https://github.com/aws/aws-controllers-k8s/issues/270' + description: |- + ARN is the Amazon Resource Name for the resource. This is a + globally-unique identifier and is set only by the ACK service controller + once the controller has orchestrated the creation of the resource OR + when it has verified that an "adopted" resource (a resource where the + ARN annotation was set by the Kubernetes user on the CR) exists and + matches the supplied CR's Spec field values. + TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270 type: string ownerAccountID: - description: OwnerAccountID is the AWS Account ID of the account - that owns the backend AWS service API resource. + description: |- + OwnerAccountID is the AWS Account ID of the account that owns the + backend AWS service API resource. type: string region: description: Region is the AWS region in which the resource exists @@ -687,32 +1194,38 @@ spec: - region type: object activityStreamKMSKeyID: - description: "The Amazon Web Services KMS key identifier used for - encrypting messages in the database activity stream. \n The Amazon - Web Services KMS key identifier is the key ARN, key ID, alias ARN, - or alias name for the KMS key." + description: |- + The Amazon Web Services KMS key identifier used for encrypting messages in + the database activity stream. + + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. type: string activityStreamKinesisStreamName: - description: The name of the Amazon Kinesis data stream used for the - database activity stream. + description: |- + The name of the Amazon Kinesis data stream used for the database activity + stream. type: string activityStreamMode: - description: The mode of the database activity stream. Database events - such as a change or access generate an activity stream event. The - database session can handle these events either synchronously or - asynchronously. + description: |- + The mode of the database activity stream. Database events such as a change + or access generate an activity stream event. The database session can handle + these events either synchronously or asynchronously. type: string activityStreamStatus: description: The status of the database activity stream. type: string associatedRoles: - description: Provides a list of the Amazon Web Services Identity and - Access Management (IAM) roles that are associated with the DB cluster. - IAM roles that are associated with a DB cluster grant permission - for the DB cluster to access other Amazon Web Services on your behalf. + description: |- + Provides a list of the Amazon Web Services Identity and Access Management + (IAM) roles that are associated with the DB cluster. IAM roles that are associated + with a DB cluster grant permission for the DB cluster to access other Amazon + Web Services on your behalf. items: - description: Describes an Amazon Web Services Identity and Access - Management (IAM) role that is associated with a DB cluster. + description: |- + Describes an Amazon Web Services Identity and Access Management (IAM) role + that is associated with a DB cluster. properties: featureName: type: string @@ -731,11 +1244,14 @@ spec: format: int64 type: integer capacity: - description: "The current capacity of an Aurora Serverless v1 DB cluster. - The capacity is 0 (zero) when the cluster is paused. \n For more - information about Aurora Serverless v1, see Using Amazon Aurora + description: |- + The current capacity of an Aurora Serverless v1 DB cluster. The capacity + is 0 (zero) when the cluster is paused. + + + For more information about Aurora Serverless v1, see Using Amazon Aurora Serverless v1 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html) - in the Amazon Aurora User Guide." + in the Amazon Aurora User Guide. format: int64 type: integer cloneGroupID: @@ -743,19 +1259,22 @@ spec: associated. type: string clusterCreateTime: - description: Specifies the time when the DB cluster was created, in - Universal Coordinated Time (UTC). + description: |- + Specifies the time when the DB cluster was created, in Universal Coordinated + Time (UTC). format: date-time type: string conditions: - description: All CRS managed by ACK have a common `Status.Conditions` - member that contains a collection of `ackv1alpha1.Condition` objects - that describe the various terminal states of the CR and its backend - AWS service API resource + description: |- + All CRS managed by ACK have a common `Status.Conditions` member that + contains a collection of `ackv1alpha1.Condition` objects that describe + the various terminal states of the CR and its backend AWS service API + resource items: - description: Condition is the common struct used by all CRDs managed - by ACK service controllers to indicate terminal states of the - CR and its backend AWS service API resource + description: |- + Condition is the common struct used by all CRDs managed by ACK service + controllers to indicate terminal states of the CR and its backend AWS + service API resource properties: lastTransitionTime: description: Last time the condition transitioned from one status @@ -781,8 +1300,9 @@ spec: type: object type: array crossAccountClone: - description: Specifies whether the DB cluster is a clone of a DB cluster - owned by a different Amazon Web Services account. + description: |- + Specifies whether the DB cluster is a clone of a DB cluster owned by a different + Amazon Web Services account. type: boolean customEndpoints: description: Identifies all custom endpoints associated with the cluster. @@ -824,22 +1344,23 @@ spec: for the DB cluster. type: string dbClusterResourceID: - description: The Amazon Web Services Region-unique, immutable identifier - for the DB cluster. This identifier is found in Amazon Web Services - CloudTrail log entries whenever the KMS key for the DB cluster is - accessed. + description: |- + The Amazon Web Services Region-unique, immutable identifier for the DB cluster. + This identifier is found in Amazon Web Services CloudTrail log entries whenever + the KMS key for the DB cluster is accessed. type: string dbSubnetGroup: - description: Specifies information on the subnet group associated - with the DB cluster, including the name, description, and subnets - in the subnet group. + description: |- + Specifies information on the subnet group associated with the DB cluster, + including the name, description, and subnets in the subnet group. type: string domainMemberships: description: The Active Directory Domain membership records associated with the DB cluster. items: - description: An Active Directory Domain membership record associated - with the DB instance or cluster. + description: |- + An Active Directory Domain membership record associated with the DB instance + or cluster. properties: domain: type: string @@ -856,16 +1377,20 @@ spec: format: date-time type: string earliestRestorableTime: - description: The earliest time to which a database can be restored - with point-in-time restore. + description: |- + The earliest time to which a database can be restored with point-in-time + restore. format: date-time type: string enabledCloudwatchLogsExports: - description: "A list of log types that this DB cluster is configured - to export to CloudWatch Logs. \n 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/AuroraUserGuide/USER_LogAccess.html) - in the Amazon Aurora User Guide." + description: |- + A list of log types that this DB cluster 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/AuroraUserGuide/USER_LogAccess.html) + in the Amazon Aurora User Guide. items: type: string type: array @@ -874,49 +1399,58 @@ spec: of the DB cluster. type: string globalWriteForwardingRequested: - description: Specifies whether you have requested to enable write - forwarding for a secondary cluster in an Aurora global database. - Because write forwarding takes time to enable, check the value of - GlobalWriteForwardingStatus to confirm that the request has completed - before using the write forwarding feature for this cluster. + description: |- + Specifies whether you have requested to enable write forwarding for a secondary + cluster in an Aurora global database. Because write forwarding takes time + to enable, check the value of GlobalWriteForwardingStatus to confirm that + the request has completed before using the write forwarding feature for this + cluster. type: boolean globalWriteForwardingStatus: - description: Specifies whether a secondary cluster in an Aurora global - database has write forwarding enabled, not enabled, or is in the - process of enabling it. + description: |- + Specifies whether a secondary cluster in an Aurora global database has write + forwarding enabled, not enabled, or is in the process of enabling it. type: string hostedZoneID: description: Specifies the ID that Amazon Route 53 assigns when you create a hosted zone. type: string httpEndpointEnabled: - description: "A value that indicates whether the HTTP endpoint for - an Aurora Serverless v1 DB cluster is enabled. \n When enabled, - the HTTP endpoint provides a connectionless web service API for - running SQL queries on the Aurora Serverless v1 DB cluster. You - can also query your database from inside the RDS console with the - query editor. \n For more information, see Using the Data API for - Aurora Serverless v1 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html) - in the Amazon Aurora User Guide." + description: |- + A value that indicates whether the HTTP endpoint for an Aurora Serverless + v1 DB cluster is enabled. + + + When enabled, the HTTP endpoint provides a connectionless web service API + for running SQL queries on the Aurora Serverless v1 DB cluster. You can also + query your database from inside the RDS console with the query editor. + + + For more information, see Using the Data API for Aurora Serverless v1 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html) + in the Amazon Aurora User Guide. type: boolean iamDatabaseAuthenticationEnabled: - description: A value that indicates whether the mapping of Amazon - Web Services Identity and Access Management (IAM) accounts to database - accounts is enabled. + description: |- + A value that indicates whether the mapping of Amazon Web Services Identity + and Access Management (IAM) accounts to database accounts is enabled. type: boolean latestRestorableTime: - description: Specifies the latest time to which a database can be - restored with point-in-time restore. + description: |- + Specifies the latest time to which a database can be restored with point-in-time + restore. format: date-time type: string masterUserSecret: - description: "Contains the secret managed by RDS in Amazon Web Services - Secrets Manager for the master user password. \n For more information, - see Password management with Amazon Web Services Secrets Manager - (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the Amazon RDS User Guide and Password management with Amazon - Web Services Secrets Manager (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) - in the Amazon Aurora User Guide." + description: |- + Contains the secret managed by RDS in Amazon Web Services Secrets Manager + for the master user password. + + + For more information, see Password management with Amazon Web Services Secrets + Manager (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) + in the Amazon RDS User Guide and Password management with Amazon Web Services + Secrets Manager (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) + in the Amazon Aurora User Guide. properties: kmsKeyID: type: string @@ -930,9 +1464,10 @@ spec: Availability Zones. type: boolean pendingModifiedValues: - description: A value that specifies that changes to the DB cluster - are pending. This element is only included when changes are pending. - Specific changes are identified by subelements. + description: |- + A value that specifies that changes to the DB cluster are pending. This element + is only included when changes are pending. Specific changes are identified + by subelements. properties: allocatedStorage: format: int64 @@ -952,9 +1487,9 @@ spec: masterUserPassword: type: string pendingCloudwatchLogsExports: - description: 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. + description: |- + 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. properties: logTypesToDisable: items: @@ -970,38 +1505,46 @@ spec: description: Specifies the progress of the operation as a percentage. type: string performanceInsightsEnabled: - description: "True if Performance Insights is enabled for the DB cluster, - and otherwise false. \n This setting is only for non-Aurora Multi-AZ - DB clusters." + description: |- + True if Performance Insights is enabled for the DB cluster, and otherwise + false. + + + This setting is only for non-Aurora Multi-AZ DB clusters. type: boolean readReplicaIdentifiers: - description: Contains one or more identifiers of the read replicas - associated with this DB cluster. + description: |- + Contains one or more identifiers of the read replicas associated with this + DB cluster. items: type: string type: array readerEndpoint: - description: "The reader endpoint for the DB cluster. The reader endpoint - for a DB cluster load-balances connections across the Aurora Replicas - that are available in a DB cluster. As clients request new connections - to the reader endpoint, Aurora distributes the connection requests - among the Aurora Replicas in the DB cluster. This functionality - can help balance your read workload across multiple Aurora Replicas - in your DB cluster. \n If a failover occurs, and the Aurora Replica - that you are connected to is promoted to be the primary instance, - your connection is dropped. To continue sending your read workload - to other Aurora Replicas in the cluster, you can then reconnect - to the reader endpoint." + description: |- + The reader endpoint for the DB cluster. The reader endpoint for a DB cluster + load-balances connections across the Aurora Replicas that are available in + a DB cluster. As clients request new connections to the reader endpoint, + Aurora distributes the connection requests among the Aurora Replicas in the + DB cluster. This functionality can help balance your read workload across + multiple Aurora Replicas in your DB cluster. + + + If a failover occurs, and the Aurora Replica that you are connected to is + promoted to be the primary instance, your connection is dropped. To continue + sending your read workload to other Aurora Replicas in the cluster, you can + then reconnect to the reader endpoint. type: string status: description: Specifies the current state of this DB cluster. type: string tagList: items: - description: "Metadata assigned to an Amazon RDS resource consisting - of a key-value pair. \n For more information, see Tagging Amazon - RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the Amazon RDS User Guide." + description: |- + Metadata assigned to an Amazon RDS resource consisting of a key-value pair. + + + For more information, see Tagging Amazon RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the Amazon RDS User Guide. properties: key: type: string @@ -1013,8 +1556,9 @@ spec: description: Provides a list of VPC security groups that the DB cluster belongs to. items: - description: This data type is used as a response element for queries - on VPC security group membership. + description: |- + This data type is used as a response element for queries on VPC security + group membership. properties: status: type: string diff --git a/helm/crds/rds.services.k8s.aws_dbinstances.yaml b/helm/crds/rds.services.k8s.aws_dbinstances.yaml index 7f53288..c76ee21 100644 --- a/helm/crds/rds.services.k8s.aws_dbinstances.yaml +++ b/helm/crds/rds.services.k8s.aws_dbinstances.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: dbinstances.rds.services.k8s.aws spec: group: rds.services.k8s.aws @@ -25,450 +24,1023 @@ spec: description: DBInstance is the Schema for the DBInstances API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: - description: "DBInstanceSpec defines the desired state of DBInstance. - \n Contains the details of an Amazon RDS DB instance. \n This data type - is used as a response element in the operations CreateDBInstance, CreateDBInstanceReadReplica, - DeleteDBInstance, DescribeDBInstances, ModifyDBInstance, PromoteReadReplica, - RebootDBInstance, RestoreDBInstanceFromDBSnapshot, RestoreDBInstanceFromS3, - RestoreDBInstanceToPointInTime, StartDBInstance, and StopDBInstance." + description: |- + DBInstanceSpec defines the desired state of DBInstance. + + + Contains the details of an Amazon RDS DB instance. + + + This data type is used as a response element in the operations CreateDBInstance, + CreateDBInstanceReadReplica, DeleteDBInstance, DescribeDBInstances, ModifyDBInstance, + PromoteReadReplica, RebootDBInstance, RestoreDBInstanceFromDBSnapshot, RestoreDBInstanceFromS3, + RestoreDBInstanceToPointInTime, StartDBInstance, and StopDBInstance. properties: allocatedStorage: - description: "The amount of storage in gibibytes (GiB) to allocate - for the DB instance. \n Type: Integer \n # Amazon Aurora \n Not - applicable. Aurora cluster volumes automatically grow as the amount - of data in your database increases, though you are only charged - for the space that you use in an Aurora cluster volume. \n # Amazon - RDS Custom \n Constraints to the amount of storage for each storage - type are the following: \n - General Purpose (SSD) storage (gp2, - gp3): Must be an integer from 40 to 65536 for RDS Custom for Oracle, - 16384 for RDS Custom for SQL Server. \n - Provisioned IOPS storage - (io1): Must be an integer from 40 to 65536 for RDS Custom for Oracle, - 16384 for RDS Custom for SQL Server. \n # MySQL \n Constraints to - the amount of storage for each storage type are the following: \n - - General Purpose (SSD) storage (gp2, gp3): Must be an integer from - 20 to 65536. \n - Provisioned IOPS storage (io1): Must be an integer - from 100 to 65536. \n - Magnetic storage (standard): Must be an - integer from 5 to 3072. \n # MariaDB \n Constraints to the amount - of storage for each storage type are the following: \n - General - Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to - 65536. \n - Provisioned IOPS storage (io1): Must be an integer from - 100 to 65536. \n - Magnetic storage (standard): Must be an integer - from 5 to 3072. \n # PostgreSQL \n Constraints to the amount of - storage for each storage type are the following: \n - General Purpose - (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536. \n - - Provisioned IOPS storage (io1): Must be an integer from 100 to - 65536. \n - Magnetic storage (standard): Must be an integer from - 5 to 3072. \n # Oracle \n Constraints to the amount of storage for - each storage type are the following: \n - General Purpose (SSD) - storage (gp2, gp3): Must be an integer from 20 to 65536. \n - Provisioned - IOPS storage (io1): Must be an integer from 100 to 65536. \n - Magnetic - storage (standard): Must be an integer from 10 to 3072. \n # SQL - Server \n Constraints to the amount of storage for each storage - type are the following: \n - General Purpose (SSD) storage (gp2, - gp3): Enterprise and Standard editions: Must be an integer from - 20 to 16384. Web and Express editions: Must be an integer from 20 - to 16384. \n - Provisioned IOPS storage (io1): Enterprise and Standard - editions: Must be an integer from 100 to 16384. Web and Express - editions: Must be an integer from 100 to 16384. \n - Magnetic storage - (standard): Enterprise and Standard editions: Must be an integer - from 20 to 1024. Web and Express editions: Must be an integer from - 20 to 1024." + description: |- + The amount of storage in gibibytes (GiB) to allocate for the DB instance. + + + Type: Integer + + + # Amazon Aurora + + + Not applicable. Aurora cluster volumes automatically grow as the amount of + data in your database increases, though you are only charged for the space + that you use in an Aurora cluster volume. + + + # Amazon RDS Custom + + + Constraints to the amount of storage for each storage type are the following: + + + - General Purpose (SSD) storage (gp2, gp3): Must be an integer from 40 + to 65536 for RDS Custom for Oracle, 16384 for RDS Custom for SQL Server. + + + - Provisioned IOPS storage (io1): Must be an integer from 40 to 65536 + for RDS Custom for Oracle, 16384 for RDS Custom for SQL Server. + + + # MySQL + + + Constraints to the amount of storage for each storage type are the following: + + + - General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 + to 65536. + + + - Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + + + - Magnetic storage (standard): Must be an integer from 5 to 3072. + + + # MariaDB + + + Constraints to the amount of storage for each storage type are the following: + + + - General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 + to 65536. + + + - Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + + + - Magnetic storage (standard): Must be an integer from 5 to 3072. + + + # PostgreSQL + + + Constraints to the amount of storage for each storage type are the following: + + + - General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 + to 65536. + + + - Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + + + - Magnetic storage (standard): Must be an integer from 5 to 3072. + + + # Oracle + + + Constraints to the amount of storage for each storage type are the following: + + + - General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 + to 65536. + + + - Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + + + - Magnetic storage (standard): Must be an integer from 10 to 3072. + + + # SQL Server + + + Constraints to the amount of storage for each storage type are the following: + + + - General Purpose (SSD) storage (gp2, gp3): Enterprise and Standard editions: + Must be an integer from 20 to 16384. Web and Express editions: Must be + an integer from 20 to 16384. + + + - Provisioned IOPS storage (io1): Enterprise and Standard editions: Must + be an integer from 100 to 16384. Web and Express editions: Must be an + integer from 100 to 16384. + + + - Magnetic storage (standard): Enterprise and Standard editions: Must + be an integer from 20 to 1024. Web and Express editions: Must be an integer + from 20 to 1024. format: int64 type: integer autoMinorVersionUpgrade: - description: "A value that indicates whether minor engine upgrades - are applied automatically to the DB instance during the maintenance - window. By default, minor engine upgrades are applied automatically. - \n If you create an RDS Custom DB instance, you must set AutoMinorVersionUpgrade - to false." + description: |- + A value that indicates whether minor engine upgrades are applied automatically + to the DB instance during the maintenance window. By default, minor engine + upgrades are applied automatically. + + + If you create an RDS Custom DB instance, you must set AutoMinorVersionUpgrade + to false. type: boolean availabilityZone: - description: "The Availability Zone (AZ) where the database will be - created. For information on Amazon Web Services Regions and Availability - Zones, see Regions and Availability Zones (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html). - \n # Amazon Aurora \n Each Aurora DB cluster hosts copies of its - storage in three separate Availability Zones. Specify one of these - Availability Zones. Aurora automatically chooses an appropriate - Availability Zone if you don't specify one. \n Default: A random, - system-chosen Availability Zone in the endpoint's Amazon Web Services - Region. \n Example: us-east-1d \n Constraint: The AvailabilityZone - parameter can't be specified if the DB instance is a Multi-AZ deployment. - The specified Availability Zone must be in the same Amazon Web Services - Region as the current endpoint." + description: |- + The Availability Zone (AZ) where the database will be created. For information + on Amazon Web Services Regions and Availability Zones, see Regions and Availability + Zones (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html). + + + # Amazon Aurora + + + Each Aurora DB cluster hosts copies of its storage in three separate Availability + Zones. Specify one of these Availability Zones. Aurora automatically chooses + an appropriate Availability Zone if you don't specify one. + + + Default: A random, system-chosen Availability Zone in the endpoint's Amazon + Web Services Region. + + + Example: us-east-1d + + + Constraint: The AvailabilityZone parameter can't be specified if the DB instance + is a Multi-AZ deployment. The specified Availability Zone must be in the + same Amazon Web Services Region as the current endpoint. type: string backupRetentionPeriod: - description: "The number of days for which automated backups are retained. - Setting this parameter to a positive number enables backups. Setting - this parameter to 0 disables automated backups. \n # Amazon Aurora - \n Not applicable. The retention period for automated backups is - managed by the DB cluster. \n Default: 1 \n Constraints: \n - Must - be a value from 0 to 35 \n - Can't be set to 0 if the DB instance - is a source to read replicas \n - Can't be set to 0 for an RDS Custom - for Oracle DB instance" + description: |- + The number of days for which automated backups are retained. Setting this + parameter to a positive number enables backups. Setting this parameter to + 0 disables automated backups. + + + # Amazon Aurora + + + Not applicable. The retention period for automated backups is managed by + the DB cluster. + + + Default: 1 + + + Constraints: + + + - Must be a value from 0 to 35 + + + - Can't be set to 0 if the DB instance is a source to read replicas + + + - Can't be set to 0 for an RDS Custom for Oracle DB instance format: int64 type: integer backupTarget: - description: "Specifies where automated backups and manual snapshots - are stored. \n Possible values are outposts (Amazon Web Services - Outposts) and region (Amazon Web Services Region). The default is - region. \n For more information, see Working with 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." + description: |- + Specifies where automated backups and manual snapshots are stored. + + + Possible values are outposts (Amazon Web Services Outposts) and region (Amazon + Web Services Region). The default is region. + + + For more information, see Working with 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. type: string caCertificateIdentifier: - description: "Specifies the CA certificate identifier to use for the - DB instance’s server certificate. \n This setting doesn't apply - to RDS Custom. \n For more information, see Using SSL/TLS to encrypt - a connection to a DB instance (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) - in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection - to a DB cluster (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) - in the Amazon Aurora User Guide." + description: |- + Specifies the CA certificate identifier to use for the DB instance’s server + certificate. + + + This setting doesn't apply to RDS Custom. + + + For more information, see Using SSL/TLS to encrypt a connection to a DB instance + (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) + in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to + a DB cluster (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) + in the Amazon Aurora User Guide. type: string characterSetName: - description: "For supported engines, this value indicates that the - DB instance should be associated with the specified CharacterSet. - \n This setting doesn't apply to RDS Custom. However, if you need - to change the character set, you can change it on the database itself. - \n # Amazon Aurora \n Not applicable. The character set is managed - by the DB cluster. For more information, see CreateDBCluster." + description: |- + For supported engines, this value indicates that the DB instance should be + associated with the specified CharacterSet. + + + This setting doesn't apply to RDS Custom. However, if you need to change + the character set, you can change it on the database itself. + + + # Amazon Aurora + + + Not applicable. The character set is managed by the DB cluster. For more + information, see CreateDBCluster. type: string copyTagsToSnapshot: - description: "A value that indicates whether to copy tags from the - DB instance to snapshots of the DB instance. By default, tags are - not copied. \n # Amazon Aurora \n Not applicable. Copying tags to - snapshots is managed by the DB cluster. Setting this value for an - Aurora DB instance has no effect on the DB cluster setting." + description: |- + A value that indicates whether to copy tags from the DB instance to snapshots + of the DB instance. By default, tags are not copied. + + + # Amazon Aurora + + + Not applicable. Copying tags to snapshots is managed by the DB cluster. Setting + this value for an Aurora DB instance has no effect on the DB cluster setting. type: boolean customIAMInstanceProfile: - description: "The instance profile associated with the underlying - Amazon EC2 instance of an RDS Custom DB instance. The instance profile - must meet the following requirements: \n - The profile must exist - in your account. \n - The profile must have an IAM role that Amazon - EC2 has permissions to assume. \n - The instance profile name and - the associated IAM role name must start with the prefix AWSRDSCustom. - \n For the list of permissions required for the IAM role, see Configure - IAM and your VPC (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc) - in the Amazon RDS User Guide. \n This setting is required for RDS - Custom." + description: |- + The instance profile associated with the underlying Amazon EC2 instance of + an RDS Custom DB instance. The instance profile must meet the following requirements: + + + - The profile must exist in your account. + + + - The profile must have an IAM role that Amazon EC2 has permissions to + assume. + + + - The instance profile name and the associated IAM role name must start + with the prefix AWSRDSCustom. + + + For the list of permissions required for the IAM role, see Configure IAM + and your VPC (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc) + in the Amazon RDS User Guide. + + + This setting is required for RDS Custom. type: string dbClusterIdentifier: - description: "The identifier of the DB cluster that the instance will - belong to. \n This setting doesn't apply to RDS Custom." + description: |- + The identifier of the DB cluster that the instance will belong to. + + + This setting doesn't apply to RDS Custom. type: string dbClusterSnapshotIdentifier: - description: "The identifier for the RDS for MySQL Multi-AZ DB cluster - snapshot to restore from. \n For more information on Multi-AZ DB - clusters, see Multi-AZ DB cluster deployments (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) - in the Amazon RDS User Guide. \n Constraints: \n - Must match the - identifier of an existing Multi-AZ DB cluster snapshot. \n - Can't - be specified when DBSnapshotIdentifier is specified. \n - Must be - specified when DBSnapshotIdentifier isn't specified. \n - If you - are restoring from a shared manual Multi-AZ DB cluster snapshot, - the DBClusterSnapshotIdentifier must be the ARN of the shared snapshot. - \n - Can't be the identifier of an Aurora DB cluster snapshot. \n - - Can't be the identifier of an RDS for PostgreSQL Multi-AZ DB cluster - snapshot." + description: |- + The identifier for the RDS for MySQL Multi-AZ DB cluster snapshot to restore + from. + + + For more information on Multi-AZ DB clusters, see Multi-AZ DB cluster deployments + (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) + in the Amazon RDS User Guide. + + + Constraints: + + + - Must match the identifier of an existing Multi-AZ DB cluster snapshot. + + + - Can't be specified when DBSnapshotIdentifier is specified. + + + - Must be specified when DBSnapshotIdentifier isn't specified. + + + - If you are restoring from a shared manual Multi-AZ DB cluster snapshot, + the DBClusterSnapshotIdentifier must be the ARN of the shared snapshot. + + + - Can't be the identifier of an Aurora DB cluster snapshot. + + + - Can't be the identifier of an RDS for PostgreSQL Multi-AZ DB cluster + snapshot. type: string dbInstanceClass: - description: The compute and memory capacity of the DB instance, for - example db.m5.large. Not all DB instance classes are available in - all Amazon Web Services Regions, or for all database engines. For - the full list of DB instance classes, and availability for your - engine, see DB instance classes (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + description: |- + The compute and memory capacity of the DB instance, for example db.m5.large. + Not all DB instance classes are available in all Amazon Web Services Regions, + or for all database engines. For the full list of DB instance classes, and + availability for your engine, see DB instance classes (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) in the Amazon RDS User Guide or Aurora DB instance classes (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.DBInstanceClass.html) in the Amazon Aurora User Guide. type: string dbInstanceIdentifier: - description: "The DB instance identifier. This parameter is stored - as a lowercase string. \n Constraints: \n - Must contain from 1 - to 63 letters, numbers, or hyphens. \n - First character must be - a letter. \n - Can't end with a hyphen or contain two consecutive - hyphens. \n Example: mydbinstance" + description: |- + The DB instance identifier. This parameter is stored as a lowercase string. + + + Constraints: + + + - Must contain from 1 to 63 letters, numbers, or hyphens. + + + - First character must be a letter. + + + - Can't end with a hyphen or contain two consecutive hyphens. + + + Example: mydbinstance type: string dbName: - description: "The meaning of this parameter differs according to the - database engine you use. \n # MySQL \n The name of the database - to create when the DB instance is created. If this parameter isn't - specified, no database is created in the DB instance. \n Constraints: - \n - Must contain 1 to 64 letters or numbers. \n - Must begin with - a letter. Subsequent characters can be letters, underscores, or - digits (0-9). \n - Can't be a word reserved by the specified database - engine \n # MariaDB \n The name of the database to create when the - DB instance is created. If this parameter isn't specified, no database - is created in the DB instance. \n Constraints: \n - Must contain - 1 to 64 letters or numbers. \n - Must begin with a letter. Subsequent - characters can be letters, underscores, or digits (0-9). \n - Can't - be a word reserved by the specified database engine \n # PostgreSQL - \n The name of the database to create when the DB instance is created. - If this parameter isn't specified, a database named postgres is - created in the DB instance. \n Constraints: \n - Must contain 1 - to 63 letters, numbers, or underscores. \n - Must begin with a letter. - Subsequent characters can be letters, underscores, or digits (0-9). - \n - Can't be a word reserved by the specified database engine \n - # Oracle \n The Oracle System ID (SID) of the created DB instance. - If you specify null, the default value ORCL is used. You can't specify - the string NULL, or any other reserved word, for DBName. \n Default: - ORCL \n Constraints: \n - Can't be longer than 8 characters \n # - Amazon RDS Custom for Oracle \n The Oracle System ID (SID) of the - created RDS Custom DB instance. If you don't specify a value, the - default value is ORCL. \n Default: ORCL \n Constraints: \n - It - must contain 1 to 8 alphanumeric characters. \n - It must contain - a letter. \n - It can't be a word reserved by the database engine. - \n # Amazon RDS Custom for SQL Server \n Not applicable. Must be - null. \n # SQL Server \n Not applicable. Must be null. \n # Amazon - Aurora MySQL \n The name of the database to create when the primary - DB instance of the Aurora MySQL DB cluster is created. If this parameter - isn't specified for an Aurora MySQL DB cluster, no database is created - in the DB cluster. \n Constraints: \n - It must contain 1 to 64 - alphanumeric characters. \n - It can't be a word reserved by the - database engine. \n # Amazon Aurora PostgreSQL \n The name of the - database to create when the primary DB instance of the Aurora PostgreSQL - DB cluster is created. If this parameter isn't specified for an - Aurora PostgreSQL DB cluster, a database named postgres is created - in the DB cluster. \n Constraints: \n - It must contain 1 to 63 - alphanumeric characters. \n - It must begin with a letter. Subsequent - characters can be letters, underscores, or digits (0 to 9). \n - - It can't be a word reserved by the database engine." + description: |- + The meaning of this parameter differs according to the database engine you + use. + + + # MySQL + + + The name of the database to create when the DB instance is created. If this + parameter isn't specified, no database is created in the DB instance. + + + Constraints: + + + - Must contain 1 to 64 letters or numbers. + + + - Must begin with a letter. Subsequent characters can be letters, underscores, + or digits (0-9). + + + - Can't be a word reserved by the specified database engine + + + # MariaDB + + + The name of the database to create when the DB instance is created. If this + parameter isn't specified, no database is created in the DB instance. + + + Constraints: + + + - Must contain 1 to 64 letters or numbers. + + + - Must begin with a letter. Subsequent characters can be letters, underscores, + or digits (0-9). + + + - Can't be a word reserved by the specified database engine + + + # PostgreSQL + + + The name of the database to create when the DB instance is created. If this + parameter isn't specified, a database named postgres is created in the DB + instance. + + + Constraints: + + + - Must contain 1 to 63 letters, numbers, or underscores. + + + - Must begin with a letter. Subsequent characters can be letters, underscores, + or digits (0-9). + + + - Can't be a word reserved by the specified database engine + + + # Oracle + + + The Oracle System ID (SID) of the created DB instance. If you specify null, + the default value ORCL is used. You can't specify the string NULL, or any + other reserved word, for DBName. + + + Default: ORCL + + + Constraints: + + + - Can't be longer than 8 characters + + + # Amazon RDS Custom for Oracle + + + The Oracle System ID (SID) of the created RDS Custom DB instance. If you + don't specify a value, the default value is ORCL. + + + Default: ORCL + + + Constraints: + + + - It must contain 1 to 8 alphanumeric characters. + + + - It must contain a letter. + + + - It can't be a word reserved by the database engine. + + + # Amazon RDS Custom for SQL Server + + + Not applicable. Must be null. + + + # SQL Server + + + Not applicable. Must be null. + + + # Amazon Aurora MySQL + + + The name of the database to create when the primary DB instance of the Aurora + MySQL DB cluster is created. If this parameter isn't specified for an Aurora + MySQL DB cluster, no database is created in the DB cluster. + + + Constraints: + + + - It must contain 1 to 64 alphanumeric characters. + + + - It can't be a word reserved by the database engine. + + + # Amazon Aurora PostgreSQL + + + The name of the database to create when the primary DB instance of the Aurora + PostgreSQL DB cluster is created. If this parameter isn't specified for an + Aurora PostgreSQL DB cluster, a database named postgres is created in the + DB cluster. + + + Constraints: + + + - It must contain 1 to 63 alphanumeric characters. + + + - It must begin with a letter. Subsequent characters can be letters, underscores, + or digits (0 to 9). + + + - It can't be a word reserved by the database engine. type: string dbParameterGroupName: - description: "The name of the DB parameter group to associate with - this DB instance. If you do not specify a value, then the default - DB parameter group for the specified DB engine and version is used. - \n This setting doesn't apply to RDS Custom. \n Constraints: \n - - It must be 1 to 255 letters, numbers, or hyphens. \n - The first - character must be a letter. \n - It can't end with a hyphen or contain - two consecutive hyphens." + description: |- + The name of the DB parameter group to associate with this DB instance. If + you do not specify a value, then the default DB parameter group for the specified + DB engine and version is used. + + + This setting doesn't apply to RDS Custom. + + + Constraints: + + + - It must be 1 to 255 letters, numbers, or hyphens. + + + - The first character must be a letter. + + + - It can't end with a hyphen or contain two consecutive hyphens. type: string dbParameterGroupRef: description: "AWSResourceReferenceWrapper provides a wrapper around - *AWSResourceReference type to provide more user friendly syntax - for references using 'from' field Ex: APIIDRef: \n from: name: my-api" + *AWSResourceReference\ntype to provide more user friendly syntax + for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t + \ name: my-api" properties: from: - description: AWSResourceReference provides all the values necessary - to reference another k8s resource for finding the identifier(Id/ARN/Name) + description: |- + AWSResourceReference provides all the values necessary to reference another + k8s resource for finding the identifier(Id/ARN/Name) properties: name: type: string type: object type: object dbSnapshotIdentifier: - description: "The identifier for the DB snapshot to restore from. - \n Constraints: \n - Must match the identifier of an existing DBSnapshot. - \n - Can't be specified when DBClusterSnapshotIdentifier is specified. - \n - Must be specified when DBClusterSnapshotIdentifier isn't specified. - \n - If you are restoring from a shared manual DB snapshot, the - DBSnapshotIdentifier must be the ARN of the shared DB snapshot." + description: |- + The identifier for the DB snapshot to restore from. + + + Constraints: + + + - Must match the identifier of an existing DBSnapshot. + + + - Can't be specified when DBClusterSnapshotIdentifier is specified. + + + - Must be specified when DBClusterSnapshotIdentifier isn't specified. + + + - If you are restoring from a shared manual DB snapshot, the DBSnapshotIdentifier + must be the ARN of the shared DB snapshot. type: string dbSubnetGroupName: - description: "A DB subnet group to associate with this DB instance. - \n Constraints: Must match the name of an existing DBSubnetGroup. - Must not be default. \n Example: mydbsubnetgroup" + description: |- + A DB subnet group to associate with this DB instance. + + + Constraints: Must match the name of an existing DBSubnetGroup. Must not be + default. + + + Example: mydbsubnetgroup type: string dbSubnetGroupRef: description: "AWSResourceReferenceWrapper provides a wrapper around - *AWSResourceReference type to provide more user friendly syntax - for references using 'from' field Ex: APIIDRef: \n from: name: my-api" + *AWSResourceReference\ntype to provide more user friendly syntax + for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t + \ name: my-api" properties: from: - description: AWSResourceReference provides all the values necessary - to reference another k8s resource for finding the identifier(Id/ARN/Name) + description: |- + AWSResourceReference provides all the values necessary to reference another + k8s resource for finding the identifier(Id/ARN/Name) properties: name: type: string type: object type: object deletionProtection: - description: "A value that indicates whether the DB instance has deletion - protection enabled. The database can't be deleted when deletion - protection is enabled. By default, deletion protection isn't enabled. - For more information, see Deleting a DB Instance (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). - \n # Amazon Aurora \n Not applicable. You can enable or disable - deletion protection for the DB cluster. For more information, see - CreateDBCluster. DB instances in a DB cluster can be deleted even - when deletion protection is enabled for the DB cluster." + description: |- + A value that indicates whether the DB instance has deletion protection enabled. + The database can't be deleted when deletion protection is enabled. By default, + deletion protection isn't enabled. For more information, see Deleting a DB + Instance (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). + + + # Amazon Aurora + + + Not applicable. You can enable or disable deletion protection for the DB + cluster. For more information, see CreateDBCluster. DB instances in a DB + cluster can be deleted even when deletion protection is enabled for the DB + cluster. type: boolean destinationRegion: description: DestinationRegion is used for presigning the request to a given region. type: string domain: - description: "The Active Directory directory ID to create the DB instance - in. Currently, only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL - DB instances can be created in an Active Directory Domain. \n For - more information, see Kerberos Authentication (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) - in the Amazon RDS User Guide. \n This setting doesn't apply to RDS - Custom. \n # Amazon Aurora \n Not applicable. The domain is managed - by the DB cluster." + description: |- + The Active Directory directory ID to create the DB instance in. Currently, + only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can + be created in an Active Directory Domain. + + + For more information, see Kerberos Authentication (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) + in the Amazon RDS User Guide. + + + This setting doesn't apply to RDS Custom. + + + # Amazon Aurora + + + Not applicable. The domain is managed by the DB cluster. type: string domainIAMRoleName: - description: "Specify the name of the IAM role to be used when making - API calls to the Directory Service. \n This setting doesn't apply - to RDS Custom. \n # Amazon Aurora \n Not applicable. The domain - is managed by the DB cluster." + description: |- + Specify the name of the IAM role to be used when making API calls to the + Directory Service. + + + This setting doesn't apply to RDS Custom. + + + # Amazon Aurora + + + Not applicable. The domain is managed by the DB cluster. type: string enableCloudwatchLogsExports: - description: "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 RDS User Guide. \n # Amazon Aurora \n Not applicable. - CloudWatch Logs exports are managed by the DB cluster. \n # RDS - Custom \n Not applicable. \n # MariaDB \n Possible values are audit, - error, general, and slowquery. \n # Microsoft SQL Server \n Possible - values are agent and error. \n # MySQL \n Possible values are audit, - error, general, and slowquery. \n # Oracle \n Possible values are - alert, audit, listener, trace, and oemagent. \n # PostgreSQL \n - Possible values are postgresql and upgrade." + description: |- + 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 RDS 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. items: type: string type: array enableCustomerOwnedIP: - description: "A value that indicates whether to enable a customer-owned - IP address (CoIP) for an RDS on Outposts DB instance. \n A CoIP - provides local or external connectivity to resources in your Outpost - subnets through your on-premises network. For some use cases, a - CoIP can provide lower latency for connections to the DB instance - from outside of its virtual private cloud (VPC) on your local network. - \n For more information about RDS on Outposts, see Working with - 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. \n For more information about CoIPs, - see Customer-owned IP addresses (https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) - in the Amazon Web Services Outposts User Guide." + description: |- + A value that indicates whether to enable a customer-owned IP address (CoIP) + for an RDS on Outposts DB instance. + + + A CoIP provides local or external connectivity to resources in your Outpost + subnets through your on-premises network. For some use cases, a CoIP can + provide lower latency for connections to the DB instance from outside of + its virtual private cloud (VPC) on your local network. + + + For more information about RDS on Outposts, see Working with 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. + + + For more information about CoIPs, see Customer-owned IP addresses (https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) + in the Amazon Web Services Outposts User Guide. type: boolean enableIAMDatabaseAuthentication: - description: "A value that indicates whether to enable mapping of - Amazon Web Services Identity and Access Management (IAM) accounts - to database accounts. By default, mapping isn't enabled. \n For - more information, see IAM Database Authentication for MySQL and - PostgreSQL (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) - in the Amazon RDS User Guide. \n This setting doesn't apply to RDS - Custom. \n # Amazon Aurora \n Not applicable. Mapping Amazon Web - Services IAM accounts to database accounts is managed by the DB - cluster." + description: |- + A value that indicates whether to enable mapping of Amazon Web Services Identity + and Access Management (IAM) accounts to database accounts. By default, mapping + isn't enabled. + + + For more information, see IAM Database Authentication for MySQL and PostgreSQL + (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) + in the Amazon RDS User Guide. + + + This setting doesn't apply to RDS Custom. + + + # Amazon Aurora + + + Not applicable. Mapping Amazon Web Services IAM accounts to database accounts + is managed by the DB cluster. type: boolean engine: - description: "The name of the database engine to be used for this - instance. \n Not every database engine is available for every Amazon - Web Services Region. \n Valid Values: \n - aurora (for MySQL 5.6-compatible - Aurora) \n - aurora-mysql (for MySQL 5.7-compatible and MySQL 8.0-compatible - Aurora) \n - aurora-postgresql \n - custom-oracle-ee (for RDS Custom - for Oracle instances) \n - custom-sqlserver-ee (for RDS Custom for - SQL Server instances) \n - custom-sqlserver-se (for RDS Custom for - SQL Server instances) \n - custom-sqlserver-web (for RDS Custom - for SQL Server instances) \n - mariadb \n - mysql \n - oracle-ee - \n - oracle-ee-cdb \n - oracle-se2 \n - oracle-se2-cdb \n - postgres - \n - sqlserver-ee \n - sqlserver-se \n - sqlserver-ex \n - sqlserver-web" + description: |- + The name of the database engine to be used for this instance. + + + Not every database engine is available for every Amazon Web Services Region. + + + Valid Values: + + + - aurora (for MySQL 5.6-compatible Aurora) + + + - aurora-mysql (for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora) + + + - aurora-postgresql + + + - custom-oracle-ee (for RDS Custom for Oracle instances) + + + - custom-sqlserver-ee (for RDS Custom for SQL Server instances) + + + - custom-sqlserver-se (for RDS Custom for SQL Server instances) + + + - custom-sqlserver-web (for RDS Custom for SQL Server instances) + + + - mariadb + + + - mysql + + + - oracle-ee + + + - oracle-ee-cdb + + + - oracle-se2 + + + - oracle-se2-cdb + + + - postgres + + + - sqlserver-ee + + + - sqlserver-se + + + - sqlserver-ex + + + - sqlserver-web type: string engineVersion: - description: "The version number of the database engine to use. \n - For a list of valid engine versions, use the DescribeDBEngineVersions - operation. \n The following are the database engines and links to - information about the major and minor versions that are available - with Amazon RDS. Not every database engine is available for every - Amazon Web Services Region. \n # Amazon Aurora \n Not applicable. - The version number of the database engine to be used by the DB instance - is managed by the DB cluster. \n # Amazon RDS Custom for Oracle - \n A custom engine version (CEV) that you have previously created. - This setting is required for RDS Custom for Oracle. The CEV name - has the following format: 19.customized_string. A valid CEV name - is 19.my_cev1. For more information, see Creating an RDS Custom - for Oracle DB instance (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-creating.html#custom-creating.create) - in the Amazon RDS User Guide. \n # Amazon RDS Custom for SQL Server - \n See RDS Custom for SQL Server general requirements (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits-MS.html) - in the Amazon RDS User Guide. \n # MariaDB \n For information, see - MariaDB on Amazon RDS Versions (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt) - in the Amazon RDS User Guide. \n # Microsoft SQL Server \n For information, - see Microsoft SQL Server Versions on Amazon RDS (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport) - in the Amazon RDS User Guide. \n # MySQL \n For information, see - MySQL on Amazon RDS Versions (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt) - in the Amazon RDS User Guide. \n # Oracle \n For information, see - Oracle Database Engine Release Notes (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html) - in the Amazon RDS User Guide. \n # PostgreSQL \n For information, - see Amazon RDS for PostgreSQL versions and extensions (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts) - in the Amazon RDS User Guide." + description: |- + The version number of the database engine to use. + + + For a list of valid engine versions, use the DescribeDBEngineVersions operation. + + + The following are the database engines and links to information about the + major and minor versions that are available with Amazon RDS. Not every database + engine is available for every Amazon Web Services Region. + + + # Amazon Aurora + + + Not applicable. The version number of the database engine to be used by the + DB instance is managed by the DB cluster. + + + # Amazon RDS Custom for Oracle + + + A custom engine version (CEV) that you have previously created. This setting + is required for RDS Custom for Oracle. The CEV name has the following format: + 19.customized_string. A valid CEV name is 19.my_cev1. For more information, + see Creating an RDS Custom for Oracle DB instance (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-creating.html#custom-creating.create) + in the Amazon RDS User Guide. + + + # Amazon RDS Custom for SQL Server + + + See RDS Custom for SQL Server general requirements (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits-MS.html) + in the Amazon RDS User Guide. + + + # MariaDB + + + For information, see MariaDB on Amazon RDS Versions (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt) + in the Amazon RDS User Guide. + + + # Microsoft SQL Server + + + For information, see Microsoft SQL Server Versions on Amazon RDS (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport) + in the Amazon RDS User Guide. + + + # MySQL + + + For information, see MySQL on Amazon RDS Versions (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt) + in the Amazon RDS User Guide. + + + # Oracle + + + For information, see Oracle Database Engine Release Notes (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html) + in the Amazon RDS User Guide. + + + # PostgreSQL + + + For information, see Amazon RDS for PostgreSQL versions and extensions (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts) + in the Amazon RDS User Guide. type: string iops: - description: "The amount of Provisioned IOPS (input/output operations - per second) to be initially allocated for the DB instance. For information - about valid IOPS values, see Amazon RDS DB instance storage (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html) - in the Amazon RDS User Guide. \n Constraints: For MariaDB, MySQL, - Oracle, and PostgreSQL DB instances, must be a multiple between - .5 and 50 of the storage amount for the DB instance. For SQL Server - DB instances, must be a multiple between 1 and 50 of the storage - amount for the DB instance. \n # Amazon Aurora \n Not applicable. - Storage is managed by the DB cluster." + description: |- + The amount of Provisioned IOPS (input/output operations per second) to be + initially allocated for the DB instance. For information about valid IOPS + values, see Amazon RDS DB instance storage (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html) + in the Amazon RDS User Guide. + + + Constraints: For MariaDB, MySQL, Oracle, and PostgreSQL DB instances, must + be a multiple between .5 and 50 of the storage amount for the DB instance. + For SQL Server DB instances, must be a multiple between 1 and 50 of the storage + amount for the DB instance. + + + # Amazon Aurora + + + Not applicable. Storage is managed by the DB cluster. format: int64 type: integer kmsKeyID: - description: "The Amazon Web Services KMS key identifier for an encrypted - DB instance. \n The Amazon Web Services KMS key identifier is the - key ARN, key ID, alias ARN, or alias name for the KMS key. To use - a KMS key in a different Amazon Web Services account, specify the - key ARN or alias ARN. \n # Amazon Aurora \n Not applicable. The - Amazon Web Services KMS key identifier is managed by the DB cluster. - For more information, see CreateDBCluster. \n If StorageEncrypted - is enabled, and you do not specify a value for the KmsKeyId parameter, - then Amazon RDS uses your default KMS key. There is a default KMS - key for your Amazon Web Services account. Your Amazon Web Services - account has a different default KMS key for each Amazon Web Services - Region. \n # Amazon RDS Custom \n A KMS key is required for RDS - Custom instances. For most RDS engines, if you leave this parameter - empty while enabling StorageEncrypted, the engine uses the default - KMS key. However, RDS Custom doesn't use the default key when this - parameter is empty. You must explicitly specify a key." + description: |- + The Amazon Web Services KMS key identifier for an encrypted DB instance. + + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. To use a KMS key in a different Amazon + Web Services account, specify the key ARN or alias ARN. + + + # Amazon Aurora + + + Not applicable. The Amazon Web Services KMS key identifier is managed by + the DB cluster. For more information, see CreateDBCluster. + + + If StorageEncrypted is enabled, and you do not specify a value for the KmsKeyId + parameter, then Amazon RDS uses your default KMS key. There is a default + KMS key for your Amazon Web Services account. Your Amazon Web Services account + has a different default KMS key for each Amazon Web Services Region. + + + # Amazon RDS Custom + + + A KMS key is required for RDS Custom instances. For most RDS engines, if + you leave this parameter empty while enabling StorageEncrypted, the engine + uses the default KMS key. However, RDS Custom doesn't use the default key + when this parameter is empty. You must explicitly specify a key. type: string kmsKeyRef: description: "AWSResourceReferenceWrapper provides a wrapper around - *AWSResourceReference type to provide more user friendly syntax - for references using 'from' field Ex: APIIDRef: \n from: name: my-api" + *AWSResourceReference\ntype to provide more user friendly syntax + for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t + \ name: my-api" properties: from: - description: AWSResourceReference provides all the values necessary - to reference another k8s resource for finding the identifier(Id/ARN/Name) + description: |- + AWSResourceReference provides all the values necessary to reference another + k8s resource for finding the identifier(Id/ARN/Name) properties: name: type: string type: object type: object licenseModel: - description: "License model information for this DB instance. \n Valid - values: license-included | bring-your-own-license | general-public-license - \n This setting doesn't apply to RDS Custom. \n # Amazon Aurora - \n Not applicable." + description: |- + License model information for this DB instance. + + + Valid values: license-included | bring-your-own-license | general-public-license + + + This setting doesn't apply to RDS Custom. + + + # Amazon Aurora + + + Not applicable. type: string manageMasterUserPassword: - description: "A value that indicates whether to manage the master - user password with Amazon Web Services Secrets Manager. \n For more - information, see Password management with Amazon Web Services Secrets + description: |- + A value that indicates whether to manage the master user password with Amazon + Web Services Secrets Manager. + + + For more information, see Password management with Amazon Web Services Secrets Manager (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the Amazon RDS User Guide. \n Constraints: \n - Can't manage - the master user password with Amazon Web Services Secrets Manager - if MasterUserPassword is specified." + in the Amazon RDS User Guide. + + + Constraints: + + + - Can't manage the master user password with Amazon Web Services Secrets + Manager if MasterUserPassword is specified. type: boolean masterUserPassword: - description: "The password for the master user. The password can include - any printable ASCII character except \"/\", \"\"\", or \"@\". \n - # Amazon Aurora \n Not applicable. The password for the master user - is managed by the DB cluster. \n Constraints: Can't be specified - if ManageMasterUserPassword is turned on. \n # MariaDB \n Constraints: - Must contain from 8 to 41 characters. \n # Microsoft SQL Server - \n Constraints: Must contain from 8 to 128 characters. \n # MySQL - \n Constraints: Must contain from 8 to 41 characters. \n # Oracle - \n Constraints: Must contain from 8 to 30 characters. \n # PostgreSQL - \n Constraints: Must contain from 8 to 128 characters." + description: |- + The password for the master user. The password can include any printable + ASCII character except "/", """, or "@". + + + # Amazon Aurora + + + Not applicable. The password for the master user is managed by the DB cluster. + + + Constraints: Can't be specified if ManageMasterUserPassword is turned on. + + + # MariaDB + + + Constraints: Must contain from 8 to 41 characters. + + + # Microsoft SQL Server + + + Constraints: Must contain from 8 to 128 characters. + + + # MySQL + + + Constraints: Must contain from 8 to 41 characters. + + + # Oracle + + + Constraints: Must contain from 8 to 30 characters. + + + # PostgreSQL + + + Constraints: Must contain from 8 to 128 characters. properties: key: description: Key is the key within the secret @@ -486,244 +1058,532 @@ spec: type: object x-kubernetes-map-type: atomic masterUserSecretKMSKeyID: - description: "The Amazon Web Services KMS key identifier to encrypt - a secret that is automatically generated and managed in Amazon Web - Services Secrets Manager. \n This setting is valid only if the master - user password is managed by RDS in Amazon Web Services Secrets Manager - for the DB instance. \n The Amazon Web Services KMS key identifier - is the key ARN, key ID, alias ARN, or alias name for the KMS key. - To use a KMS key in a different Amazon Web Services account, specify - the key ARN or alias ARN. \n If you don't specify MasterUserSecretKmsKeyId, - then the aws/secretsmanager KMS key is used to encrypt the secret. - If the secret is in a different Amazon Web Services account, then - you can't use the aws/secretsmanager KMS key to encrypt the secret, - and you must use a customer managed KMS key. \n There is a default - KMS key for your Amazon Web Services account. Your Amazon Web Services - account has a different default KMS key for each Amazon Web Services - Region." + description: |- + The Amazon Web Services KMS key identifier to encrypt a secret that is automatically + generated and managed in Amazon Web Services Secrets Manager. + + + This setting is valid only if the master user password is managed by RDS + in Amazon Web Services Secrets Manager for the DB instance. + + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. To use a KMS key in a different Amazon + Web Services account, specify the key ARN or alias ARN. + + + If you don't specify MasterUserSecretKmsKeyId, then the aws/secretsmanager + KMS key is used to encrypt the secret. If the secret is in a different Amazon + Web Services account, then you can't use the aws/secretsmanager KMS key to + encrypt the secret, and you must use a customer managed KMS key. + + + There is a default KMS key for your Amazon Web Services account. Your Amazon + Web Services account has a different default KMS key for each Amazon Web + Services Region. type: string masterUserSecretKMSKeyRef: description: "AWSResourceReferenceWrapper provides a wrapper around - *AWSResourceReference type to provide more user friendly syntax - for references using 'from' field Ex: APIIDRef: \n from: name: my-api" + *AWSResourceReference\ntype to provide more user friendly syntax + for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t + \ name: my-api" properties: from: - description: AWSResourceReference provides all the values necessary - to reference another k8s resource for finding the identifier(Id/ARN/Name) + description: |- + AWSResourceReference provides all the values necessary to reference another + k8s resource for finding the identifier(Id/ARN/Name) properties: name: type: string type: object type: object masterUsername: - description: "The name for the master user. \n # Amazon Aurora \n - Not applicable. The name for the master user is managed by the DB - cluster. \n # Amazon RDS \n Constraints: \n - Required. \n - Must - be 1 to 16 letters, numbers, or underscores. \n - First character - must be a letter. \n - Can't be a reserved word for the chosen database - engine." + description: |- + The name for the master user. + + + # Amazon Aurora + + + Not applicable. The name for the master user is managed by the DB cluster. + + + # Amazon RDS + + + Constraints: + + + - Required. + + + - Must be 1 to 16 letters, numbers, or underscores. + + + - First character must be a letter. + + + - Can't be a reserved word for the chosen database engine. type: string maxAllocatedStorage: - description: "The upper limit in gibibytes (GiB) to which Amazon RDS - can automatically scale the storage of the DB instance. \n For more - information about this setting, including limitations that apply - to it, see Managing capacity automatically with Amazon RDS storage - autoscaling (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling) - in the Amazon RDS User Guide. \n This setting doesn't apply to RDS - Custom. \n # Amazon Aurora \n Not applicable. Storage is managed - by the DB cluster." + description: |- + The upper limit in gibibytes (GiB) to which Amazon RDS can automatically + scale the storage of the DB instance. + + + For more information about this setting, including limitations that apply + to it, see Managing capacity automatically with Amazon RDS storage autoscaling + (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling) + in the Amazon RDS User Guide. + + + This setting doesn't apply to RDS Custom. + + + # Amazon Aurora + + + Not applicable. Storage is managed by the DB cluster. format: int64 type: integer monitoringInterval: - description: "The interval, in seconds, between points when Enhanced - Monitoring metrics are collected for the DB instance. To disable - collection of Enhanced Monitoring metrics, specify 0. The default - is 0. \n If MonitoringRoleArn is specified, then you must set MonitoringInterval - to a value other than 0. \n This setting doesn't apply to RDS Custom. - \n Valid Values: 0, 1, 5, 10, 15, 30, 60" + description: |- + The interval, in seconds, between points when Enhanced Monitoring metrics + are collected for the DB instance. To disable collection of Enhanced Monitoring + metrics, specify 0. The default is 0. + + + If MonitoringRoleArn is specified, then you must set MonitoringInterval to + a value other than 0. + + + This setting doesn't apply to RDS Custom. + + + Valid Values: 0, 1, 5, 10, 15, 30, 60 format: int64 type: integer monitoringRoleARN: - description: "The ARN for the IAM role that permits RDS to send enhanced - monitoring metrics to Amazon CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess. - For information on creating a monitoring role, see Setting Up and - Enabling Enhanced Monitoring (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling) - in the Amazon RDS User Guide. \n If MonitoringInterval is set to - a value other than 0, then you must supply a MonitoringRoleArn value. - \n This setting doesn't apply to RDS Custom." + description: |- + The ARN for the IAM role that permits RDS to send enhanced monitoring metrics + to Amazon CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess. + For information on creating a monitoring role, see Setting Up and Enabling + Enhanced Monitoring (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling) + in the Amazon RDS User Guide. + + + If MonitoringInterval is set to a value other than 0, then you must supply + a MonitoringRoleArn value. + + + This setting doesn't apply to RDS Custom. type: string multiAZ: - description: "A value that indicates whether the DB instance is a - Multi-AZ deployment. You can't set the AvailabilityZone parameter - if the DB instance is a Multi-AZ deployment. \n This setting doesn't - apply to RDS Custom. \n # Amazon Aurora \n Not applicable. DB instance - Availability Zones (AZs) are managed by the DB cluster." + description: |- + A value that indicates whether the DB instance is a Multi-AZ deployment. + You can't set the AvailabilityZone parameter if the DB instance is a Multi-AZ + deployment. + + + This setting doesn't apply to RDS Custom. + + + # Amazon Aurora + + + Not applicable. DB instance Availability Zones (AZs) are managed by the DB + cluster. type: boolean ncharCharacterSetName: - description: "The name of the NCHAR character set for the Oracle DB - instance. \n This parameter doesn't apply to RDS Custom." + description: |- + The name of the NCHAR character set for the Oracle DB instance. + + + This parameter doesn't apply to RDS Custom. type: string networkType: - description: "The network type of the DB instance. \n Valid values: - \n - IPV4 \n - DUAL \n The network type is determined by the DBSubnetGroup - specified for the DB instance. A DBSubnetGroup can support only - the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL). \n + description: |- + The network type of the DB instance. + + + Valid values: + + + - IPV4 + + + - DUAL + + + The network type is determined by the DBSubnetGroup specified for the DB + instance. A DBSubnetGroup can support only the IPv4 protocol or the IPv4 + and the IPv6 protocols (DUAL). + + For more information, see Working with a DB instance in a VPC (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) - in the Amazon RDS User Guide." + in the Amazon RDS User Guide. type: string optionGroupName: - description: "A value that indicates that the DB instance should be - associated with the specified option group. \n Permanent options, - such as the TDE option for Oracle Advanced Security TDE, can't be - removed from an option group. Also, that option group can't be removed - from a DB instance after it is associated with a DB instance. \n - This setting doesn't apply to RDS Custom. \n # Amazon Aurora \n - Not applicable." + description: |- + A value that indicates that the DB instance should be associated with the + specified option group. + + + Permanent options, such as the TDE option for Oracle Advanced Security TDE, + can't be removed from an option group. Also, that option group can't be removed + from a DB instance after it is associated with a DB instance. + + + This setting doesn't apply to RDS Custom. + + + # Amazon Aurora + + + Not applicable. type: string performanceInsightsEnabled: - description: "A value that indicates whether to enable Performance - Insights for the DB instance. For more information, see Using Amazon - Performance Insights (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) - in the Amazon RDS User Guide. \n This setting doesn't apply to RDS - Custom." + description: |- + A value that indicates whether to enable Performance Insights for the DB + instance. For more information, see Using Amazon Performance Insights (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) + in the Amazon RDS User Guide. + + + This setting doesn't apply to RDS Custom. type: boolean performanceInsightsKMSKeyID: - description: "The Amazon Web Services KMS key identifier for encryption - of Performance Insights data. \n The Amazon Web Services KMS key - identifier is the key ARN, key ID, alias ARN, or alias name for - the KMS key. \n If you do not specify a value for PerformanceInsightsKMSKeyId, - then Amazon RDS uses your default KMS key. There is a default KMS - key for your Amazon Web Services account. Your Amazon Web Services - account has a different default KMS key for each Amazon Web Services - Region. \n This setting doesn't apply to RDS Custom." + description: |- + The Amazon Web Services KMS key identifier for encryption of Performance + Insights data. + + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + + + If you do not specify a value for PerformanceInsightsKMSKeyId, then Amazon + RDS uses your default KMS key. There is a default KMS key for your Amazon + Web Services account. Your Amazon Web Services account has a different default + KMS key for each Amazon Web Services Region. + + + This setting doesn't apply to RDS Custom. type: string performanceInsightsRetentionPeriod: - description: "The number of days to retain Performance Insights data. - The default is 7 days. The following values are valid: \n - 7 \n - - month * 31, where month is a number of months from 1-23 \n - 731 - \n For example, the following values are valid: \n - 93 (3 months - * 31) \n - 341 (11 months * 31) \n - 589 (19 months * 31) \n - 731 - \n If you specify a retention period such as 94, which isn't a valid - value, RDS issues an error. \n This setting doesn't apply to RDS - Custom." + description: |- + The number of days to retain Performance Insights data. The default is 7 + days. The following values are valid: + + + - 7 + + + - month * 31, where month is a number of months from 1-23 + + + - 731 + + + For example, the following values are valid: + + + - 93 (3 months * 31) + + + - 341 (11 months * 31) + + + - 589 (19 months * 31) + + + - 731 + + + If you specify a retention period such as 94, which isn't a valid value, + RDS issues an error. + + + This setting doesn't apply to RDS Custom. format: int64 type: integer port: - description: "The port number on which the database accepts connections. - \n # MySQL \n Default: 3306 \n Valid values: 1150-65535 \n Type: - Integer \n # MariaDB \n Default: 3306 \n Valid values: 1150-65535 - \n Type: Integer \n # PostgreSQL \n Default: 5432 \n Valid values: - 1150-65535 \n Type: Integer \n # Oracle \n Default: 1521 \n Valid - values: 1150-65535 \n # SQL Server \n Default: 1433 \n Valid values: - 1150-65535 except 1234, 1434, 3260, 3343, 3389, 47001, and 49152-49156. - \n # Amazon Aurora \n Default: 3306 \n Valid values: 1150-65535 - \n Type: Integer" + description: |- + The port number on which the database accepts connections. + + + # MySQL + + + Default: 3306 + + + Valid values: 1150-65535 + + + Type: Integer + + + # MariaDB + + + Default: 3306 + + + Valid values: 1150-65535 + + + Type: Integer + + + # PostgreSQL + + + Default: 5432 + + + Valid values: 1150-65535 + + + Type: Integer + + + # Oracle + + + Default: 1521 + + + Valid values: 1150-65535 + + + # SQL Server + + + Default: 1433 + + + Valid values: 1150-65535 except 1234, 1434, 3260, 3343, 3389, 47001, and + 49152-49156. + + + # Amazon Aurora + + + Default: 3306 + + + Valid values: 1150-65535 + + + Type: Integer format: int64 type: integer preSignedURL: - description: "When you are creating a read replica from one Amazon - Web Services GovCloud (US) Region to another or from one China Amazon - Web Services Region to another, the URL that contains a Signature - Version 4 signed request for the CreateDBInstanceReadReplica API - operation in the source Amazon Web Services Region that contains - the source DB instance. \n This setting applies only to Amazon Web - Services GovCloud (US) Regions and China Amazon Web Services Regions. - It's ignored in other Amazon Web Services Regions. \n This setting - applies only when replicating from a source DB instance. Source - DB clusters aren't supported in Amazon Web Services GovCloud (US) - Regions and China Amazon Web Services Regions. \n You must specify - this parameter when you create an encrypted read replica from another - Amazon Web Services Region by using the Amazon RDS API. Don't specify - PreSignedUrl when you are creating an encrypted read replica in - the same Amazon Web Services Region. \n The presigned URL must be - a valid request for the CreateDBInstanceReadReplica API operation - that can run in the source Amazon Web Services Region that contains - the encrypted source DB instance. The presigned URL request must - contain the following parameter values: \n - DestinationRegion - - The Amazon Web Services Region that the encrypted read replica is - created in. This Amazon Web Services Region is the same one where - the CreateDBInstanceReadReplica operation is called that contains - this presigned URL. For example, if you create an encrypted DB instance - in the us-west-1 Amazon Web Services Region, from a source DB instance - in the us-east-2 Amazon Web Services Region, then you call the CreateDBInstanceReadReplica - operation in the us-east-1 Amazon Web Services Region and provide - a presigned URL that contains a call to the CreateDBInstanceReadReplica - operation in the us-west-2 Amazon Web Services Region. For this - example, the DestinationRegion in the presigned URL must be set - to the us-east-1 Amazon Web Services Region. \n - KmsKeyId - The - KMS key identifier for the key to use to encrypt the read replica - in the destination Amazon Web Services Region. This is the same - identifier for both the CreateDBInstanceReadReplica operation that - is called in the destination Amazon Web Services Region, and the - operation contained in the presigned URL. \n - SourceDBInstanceIdentifier - - The DB instance identifier for the encrypted DB instance to be - replicated. This identifier must be in the Amazon Resource Name - (ARN) format for the source Amazon Web Services Region. For example, - if you are creating an encrypted read replica from a DB instance - in the us-west-2 Amazon Web Services Region, then your SourceDBInstanceIdentifier - looks like the following example: arn:aws:rds:us-west-2:123456789012:instance:mysql-instance1-20161115. - \n To learn how to generate a Signature Version 4 signed request, - see Authenticating Requests: Using Query Parameters (Amazon Web - Services Signature Version 4) (https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) + description: |- + When you are creating a read replica from one Amazon Web Services GovCloud + (US) Region to another or from one China Amazon Web Services Region to another, + the URL that contains a Signature Version 4 signed request for the CreateDBInstanceReadReplica + API operation in the source Amazon Web Services Region that contains the + source DB instance. + + + This setting applies only to Amazon Web Services GovCloud (US) Regions and + China Amazon Web Services Regions. It's ignored in other Amazon Web Services + Regions. + + + This setting applies only when replicating from a source DB instance. Source + DB clusters aren't supported in Amazon Web Services GovCloud (US) Regions + and China Amazon Web Services Regions. + + + You must specify this parameter when you create an encrypted read replica + from another Amazon Web Services Region by using the Amazon RDS API. Don't + specify PreSignedUrl when you are creating an encrypted read replica in the + same Amazon Web Services Region. + + + The presigned URL must be a valid request for the CreateDBInstanceReadReplica + API operation that can run in the source Amazon Web Services Region that + contains the encrypted source DB instance. The presigned URL request must + contain the following parameter values: + + + - DestinationRegion - The Amazon Web Services Region that the encrypted + read replica is created in. This Amazon Web Services Region is the same + one where the CreateDBInstanceReadReplica operation is called that contains + this presigned URL. For example, if you create an encrypted DB instance + in the us-west-1 Amazon Web Services Region, from a source DB instance + in the us-east-2 Amazon Web Services Region, then you call the CreateDBInstanceReadReplica + operation in the us-east-1 Amazon Web Services Region and provide a presigned + URL that contains a call to the CreateDBInstanceReadReplica operation + in the us-west-2 Amazon Web Services Region. For this example, the DestinationRegion + in the presigned URL must be set to the us-east-1 Amazon Web Services + Region. + + + - KmsKeyId - The KMS key identifier for the key to use to encrypt the + read replica in the destination Amazon Web Services Region. This is the + same identifier for both the CreateDBInstanceReadReplica operation that + is called in the destination Amazon Web Services Region, and the operation + contained in the presigned URL. + + + - SourceDBInstanceIdentifier - The DB instance identifier for the encrypted + DB instance to be replicated. This identifier must be in the Amazon Resource + Name (ARN) format for the source Amazon Web Services Region. For example, + if you are creating an encrypted read replica from a DB instance in the + us-west-2 Amazon Web Services Region, then your SourceDBInstanceIdentifier + looks like the following example: arn:aws:rds:us-west-2:123456789012:instance:mysql-instance1-20161115. + + + To learn how to generate a Signature Version 4 signed request, see Authenticating + Requests: Using Query Parameters (Amazon Web Services Signature Version 4) + (https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) and Signature Version 4 Signing Process (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). - \n If you are using an Amazon Web Services SDK tool or the CLI, - you can specify SourceRegion (or --source-region for the CLI) instead - of specifying PreSignedUrl manually. Specifying SourceRegion autogenerates - a presigned URL that is a valid request for the operation that can - run in the source Amazon Web Services Region. \n SourceRegion isn't - supported for SQL Server, because Amazon RDS for SQL Server doesn't - support cross-Region read replicas. \n This setting doesn't apply - to RDS Custom." + + + If you are using an Amazon Web Services SDK tool or the CLI, you can specify + SourceRegion (or --source-region for the CLI) instead of specifying PreSignedUrl + manually. Specifying SourceRegion autogenerates a presigned URL that is a + valid request for the operation that can run in the source Amazon Web Services + Region. + + + SourceRegion isn't supported for SQL Server, because Amazon RDS for SQL Server + doesn't support cross-Region read replicas. + + + This setting doesn't apply to RDS Custom. type: string preferredBackupWindow: - description: "The daily time range during which automated backups - are created if automated backups are enabled, using the BackupRetentionPeriod - parameter. The default is a 30-minute window selected at random - from an 8-hour block of time for each Amazon Web Services Region. - For more information, see Backup window (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow) - in the Amazon RDS User Guide. \n # Amazon Aurora \n Not applicable. - The daily time range for creating automated backups is managed by - the DB cluster. \n Constraints: \n - Must be in the format hh24:mi-hh24:mi. - \n - Must be in Universal Coordinated Time (UTC). \n - Must not - conflict with the preferred maintenance window. \n - Must be at - least 30 minutes." + description: |- + The daily time range during which automated backups are created if automated + backups are enabled, using the BackupRetentionPeriod parameter. The default + is a 30-minute window selected at random from an 8-hour block of time for + each Amazon Web Services Region. For more information, see Backup window + (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow) + in the Amazon RDS User Guide. + + + # Amazon Aurora + + + Not applicable. The daily time range for creating automated backups is managed + by the DB cluster. + + + Constraints: + + + - Must be in the format hh24:mi-hh24:mi. + + + - Must be in Universal Coordinated Time (UTC). + + + - Must not conflict with the preferred maintenance window. + + + - Must be at least 30 minutes. type: string preferredMaintenanceWindow: - description: "The time range each week during which system maintenance - can occur, in Universal Coordinated Time (UTC). For more information, - see Amazon RDS Maintenance Window (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance). - \n Format: ddd:hh24:mi-ddd:hh24:mi \n The default is a 30-minute - window selected at random from an 8-hour block of time for each - Amazon Web Services Region, occurring on a random day of the week. - \n Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. \n Constraints: - Minimum 30-minute window." + description: |- + The time range each week during which system maintenance can occur, in Universal + Coordinated Time (UTC). For more information, see Amazon RDS Maintenance + Window (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance). + + + Format: ddd:hh24:mi-ddd:hh24:mi + + + The default is a 30-minute window selected at random from an 8-hour block + of time for each Amazon Web Services Region, occurring on a random day of + the week. + + + Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. + + + Constraints: Minimum 30-minute window. type: string processorFeatures: - description: "The number of CPU cores and the number of threads per - core for the DB instance class of the DB instance. \n This setting - doesn't apply to RDS Custom. \n # Amazon Aurora \n Not applicable." + description: |- + The number of CPU cores and the number of threads per core for the DB instance + class of the DB instance. + + + This setting doesn't apply to RDS Custom. + + + # Amazon Aurora + + + Not applicable. items: - description: "Contains the processor features of a DB instance class. - \n To specify the number of CPU cores, use the coreCount feature - name for the Name parameter. To specify the number of threads - per core, use the threadsPerCore feature name for the Name parameter. - \n You can set the processor features of the DB instance class - for a DB instance when you call one of the following actions: - \n - CreateDBInstance \n - ModifyDBInstance \n - RestoreDBInstanceFromDBSnapshot - \n - RestoreDBInstanceFromS3 \n - RestoreDBInstanceToPointInTime - \n You can view the valid processor values for a particular instance - class by calling the DescribeOrderableDBInstanceOptions action - and specifying the instance class for the DBInstanceClass parameter. - \n In addition, you can use the following actions for DB instance - class processor information: \n - DescribeDBInstances \n - DescribeDBSnapshots - \n - DescribeValidDBInstanceModifications \n If you call DescribeDBInstances, - ProcessorFeature returns non-null values only if the following - conditions are met: \n - You are accessing an Oracle DB instance. - \n - Your Oracle DB instance class supports configuring the number - of CPU cores and threads per core. \n - The current number CPU - cores and threads is set to a non-default value. \n For more information, - see Configuring the Processor of the DB Instance Class (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor) - in the Amazon RDS User Guide." + description: |- + Contains the processor features of a DB instance class. + + + To specify the number of CPU cores, use the coreCount feature name for the + Name parameter. To specify the number of threads per core, use the threadsPerCore + feature name for the Name parameter. + + + You can set the processor features of the DB instance class for a DB instance + when you call one of the following actions: + + + - CreateDBInstance + + + - ModifyDBInstance + + + - RestoreDBInstanceFromDBSnapshot + + + - RestoreDBInstanceFromS3 + + + - RestoreDBInstanceToPointInTime + + + You can view the valid processor values for a particular instance class by + calling the DescribeOrderableDBInstanceOptions action and specifying the + instance class for the DBInstanceClass parameter. + + + In addition, you can use the following actions for DB instance class processor + information: + + + - DescribeDBInstances + + + - DescribeDBSnapshots + + + - DescribeValidDBInstanceModifications + + + If you call DescribeDBInstances, ProcessorFeature returns non-null values + only if the following conditions are met: + + + - You are accessing an Oracle DB instance. + + + - Your Oracle DB instance class supports configuring the number of CPU + cores and threads per core. + + + - The current number CPU cores and threads is set to a non-default value. + + + For more information, see Configuring the Processor of the DB Instance Class + (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor) + in the Amazon RDS User Guide. properties: name: type: string @@ -732,109 +1592,193 @@ spec: type: object type: array promotionTier: - description: "A value that specifies the order in which an Aurora - Replica is promoted to the primary instance after a failure of the - existing primary instance. For more information, see Fault Tolerance - for an Aurora DB Cluster (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.FaultTolerance) - in the Amazon Aurora User Guide. \n This setting doesn't apply to - RDS Custom. \n Default: 1 \n Valid Values: 0 - 15" + description: |- + A value that specifies the order in which an Aurora Replica is promoted to + the primary instance after a failure of the existing primary instance. For + more information, see Fault Tolerance for an Aurora DB Cluster (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.FaultTolerance) + in the Amazon Aurora User Guide. + + + This setting doesn't apply to RDS Custom. + + + Default: 1 + + + Valid Values: 0 - 15 format: int64 type: integer publiclyAccessible: - description: "A value that indicates whether the DB instance is publicly - accessible. \n When the DB instance is publicly accessible, its - Domain Name System (DNS) endpoint resolves to the private IP address - from within the DB instance's virtual private cloud (VPC). It resolves - to the public IP address from outside of the DB instance's VPC. - Access to the DB instance is ultimately controlled by the security - group it uses. That public access is not permitted if the security - group assigned to the DB instance doesn't permit it. \n When the - DB instance isn't publicly accessible, it is an internal DB instance - with a DNS name that resolves to a private IP address. \n Default: - The default behavior varies depending on whether DBSubnetGroupName - is specified. \n If DBSubnetGroupName isn't specified, and PubliclyAccessible - isn't specified, the following applies: \n - If the default VPC - in the target Region doesn’t have an internet gateway attached to - it, the DB instance is private. \n - If the default VPC in the target - Region has an internet gateway attached to it, the DB instance is - public. \n If DBSubnetGroupName is specified, and PubliclyAccessible - isn't specified, the following applies: \n - If the subnets are - part of a VPC that doesn’t have an internet gateway attached to - it, the DB instance is private. \n - If the subnets are part of - a VPC that has an internet gateway attached to it, the DB instance - is public." + description: |- + A value that indicates whether the DB instance is publicly accessible. + + + When the DB instance is publicly accessible, its Domain Name System (DNS) + endpoint resolves to the private IP address from within the DB instance's + virtual private cloud (VPC). It resolves to the public IP address from outside + of the DB instance's VPC. Access to the DB instance is ultimately controlled + by the security group it uses. That public access is not permitted if the + security group assigned to the DB instance doesn't permit it. + + + When the DB instance isn't publicly accessible, it is an internal DB instance + with a DNS name that resolves to a private IP address. + + + Default: The default behavior varies depending on whether DBSubnetGroupName + is specified. + + + If DBSubnetGroupName isn't specified, and PubliclyAccessible isn't specified, + the following applies: + + + - If the default VPC in the target Region doesn’t have an internet gateway + attached to it, the DB instance is private. + + + - If the default VPC in the target Region has an internet gateway attached + to it, the DB instance is public. + + + If DBSubnetGroupName is specified, and PubliclyAccessible isn't specified, + the following applies: + + + - If the subnets are part of a VPC that doesn’t have an internet gateway + attached to it, the DB instance is private. + + + - If the subnets are part of a VPC that has an internet gateway attached + to it, the DB instance is public. type: boolean replicaMode: - description: "The open mode of the replica database: mounted or read-only. - \n This parameter is only supported for Oracle DB instances. \n - Mounted DB replicas are included in Oracle Database Enterprise Edition. - The main use case for mounted replicas is cross-Region disaster - recovery. The primary database doesn't use Active Data Guard to - transmit information to the mounted replica. Because it doesn't - accept user connections, a mounted replica can't serve a read-only - workload. \n You can create a combination of mounted and read-only - DB replicas for the same primary DB instance. For more information, - see Working with Oracle Read Replicas for Amazon RDS (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html) - in the Amazon RDS User Guide. \n For RDS Custom, you must specify - this parameter and set it to mounted. The value won't be set by - default. After replica creation, you can manage the open mode manually." + description: |- + The open mode of the replica database: mounted or read-only. + + + This parameter is only supported for Oracle DB instances. + + + Mounted DB replicas are included in Oracle Database Enterprise Edition. The + main use case for mounted replicas is cross-Region disaster recovery. The + primary database doesn't use Active Data Guard to transmit information to + the mounted replica. Because it doesn't accept user connections, a mounted + replica can't serve a read-only workload. + + + You can create a combination of mounted and read-only DB replicas for the + same primary DB instance. For more information, see Working with Oracle Read + Replicas for Amazon RDS (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html) + in the Amazon RDS User Guide. + + + For RDS Custom, you must specify this parameter and set it to mounted. The + value won't be set by default. After replica creation, you can manage the + open mode manually. type: string sourceDBInstanceIdentifier: - description: "The identifier of the DB instance that will act as the - source for the read replica. Each DB instance can have up to 15 - read replicas, with the exception of Oracle and SQL Server, which - can have up to five. \n Constraints: \n - Must be the identifier - of an existing MySQL, MariaDB, Oracle, PostgreSQL, or SQL Server - DB instance. \n - Can't be specified if the SourceDBClusterIdentifier - parameter is also specified. \n - For the limitations of Oracle - read replicas, see Version and licensing considerations for RDS - for Oracle replicas (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.limitations.html#oracle-read-replicas.limitations.versions-and-licenses) - in the Amazon RDS User Guide. \n - For the limitations of SQL Server - read replicas, see Read replica limitations with SQL Server (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.ReadReplicas.html#SQLServer.ReadReplicas.Limitations) - in the Amazon RDS User Guide. \n - The specified DB instance must - have automatic backups enabled, that is, its backup retention period - must be greater than 0. \n - If the source DB instance is in the - same Amazon Web Services Region as the read replica, specify a valid - DB instance identifier. \n - If the source DB instance is in a different - Amazon Web Services Region from the read replica, specify a valid - DB instance ARN. For more information, see Constructing an ARN for - Amazon RDS (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing) - in the Amazon RDS User Guide. This doesn't apply to SQL Server or - RDS Custom, which don't support cross-Region replicas." + description: |- + The identifier of the DB instance that will act as the source for the read + replica. Each DB instance can have up to 15 read replicas, with the exception + of Oracle and SQL Server, which can have up to five. + + + Constraints: + + + - Must be the identifier of an existing MySQL, MariaDB, Oracle, PostgreSQL, + or SQL Server DB instance. + + + - Can't be specified if the SourceDBClusterIdentifier parameter is also + specified. + + + - For the limitations of Oracle read replicas, see Version and licensing + considerations for RDS for Oracle replicas (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.limitations.html#oracle-read-replicas.limitations.versions-and-licenses) + in the Amazon RDS User Guide. + + + - For the limitations of SQL Server read replicas, see Read replica limitations + with SQL Server (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.ReadReplicas.html#SQLServer.ReadReplicas.Limitations) + in the Amazon RDS User Guide. + + + - The specified DB instance must have automatic backups enabled, that + is, its backup retention period must be greater than 0. + + + - If the source DB instance is in the same Amazon Web Services Region + as the read replica, specify a valid DB instance identifier. + + + - If the source DB instance is in a different Amazon Web Services Region + from the read replica, specify a valid DB instance ARN. For more information, + see Constructing an ARN for Amazon RDS (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing) + in the Amazon RDS User Guide. This doesn't apply to SQL Server or RDS + Custom, which don't support cross-Region replicas. type: string sourceRegion: - description: SourceRegion is the source region where the resource - exists. This is not sent over the wire and is only used for presigning. - This value should always have the same region as the source ARN. + description: |- + SourceRegion is the source region where the resource exists. This is not + sent over the wire and is only used for presigning. This value should always + have the same region as the source ARN. type: string storageEncrypted: - description: "A value that indicates whether the DB instance is encrypted. - By default, it isn't encrypted. \n For RDS Custom instances, either - set this parameter to true or leave it unset. If you set this parameter - to false, RDS reports an error. \n # Amazon Aurora \n Not applicable. - The encryption for DB instances is managed by the DB cluster." + description: |- + A value that indicates whether the DB instance is encrypted. By default, + it isn't encrypted. + + + For RDS Custom instances, either set this parameter to true or leave it unset. + If you set this parameter to false, RDS reports an error. + + + # Amazon Aurora + + + Not applicable. The encryption for DB instances is managed by the DB cluster. type: boolean storageThroughput: - description: "Specifies the storage throughput value for the DB instance. - \n This setting applies only to the gp3 storage type. \n This setting - doesn't apply to RDS Custom or Amazon Aurora." + description: |- + Specifies the storage throughput value for the DB instance. + + + This setting applies only to the gp3 storage type. + + + This setting doesn't apply to RDS Custom or Amazon Aurora. format: int64 type: integer storageType: - description: "Specifies the storage type to be associated with the - DB instance. \n Valid values: gp2 | gp3 | io1 | standard \n If you - specify io1 or gp3, you must also include a value for the Iops parameter. - \n Default: io1 if the Iops parameter is specified, otherwise gp2 - \n # Amazon Aurora \n Not applicable. Storage is managed by the - DB cluster." + description: |- + Specifies the storage type to be associated with the DB instance. + + + Valid values: gp2 | gp3 | io1 | standard + + + If you specify io1 or gp3, you must also include a value for the Iops parameter. + + + Default: io1 if the Iops parameter is specified, otherwise gp2 + + + # Amazon Aurora + + + Not applicable. Storage is managed by the DB cluster. type: string tags: description: Tags to assign to the DB instance. items: - description: "Metadata assigned to an Amazon RDS resource consisting - of a key-value pair. \n For more information, see Tagging Amazon - RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the Amazon RDS User Guide." + description: |- + Metadata assigned to an Amazon RDS resource consisting of a key-value pair. + + + For more information, see Tagging Amazon RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the Amazon RDS User Guide. properties: key: type: string @@ -843,43 +1787,66 @@ spec: type: object type: array tdeCredentialARN: - description: "The ARN from the key store with which to associate the - instance for TDE encryption. \n This setting doesn't apply to RDS - Custom. \n # Amazon Aurora \n Not applicable." + description: |- + The ARN from the key store with which to associate the instance for TDE encryption. + + + This setting doesn't apply to RDS Custom. + + + # Amazon Aurora + + + Not applicable. type: string tdeCredentialPassword: - description: "The password for the given ARN from the key store in - order to access the device. \n This setting doesn't apply to RDS - Custom." + description: |- + The password for the given ARN from the key store in order to access the + device. + + + This setting doesn't apply to RDS Custom. type: string timezone: - description: The time zone of the DB instance. The time zone parameter - is currently supported only by Microsoft SQL Server (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone). + description: |- + The time zone of the DB instance. The time zone parameter is currently supported + only by Microsoft SQL Server (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone). type: string useDefaultProcessorFeatures: - description: "A value that indicates whether the DB instance class - of the DB instance uses its default processor features. \n This - setting doesn't apply to RDS Custom." + description: |- + A value that indicates whether the DB instance class of the DB instance uses + its default processor features. + + + This setting doesn't apply to RDS Custom. type: boolean vpcSecurityGroupIDs: - description: "A list of Amazon EC2 VPC security groups to associate - with this DB instance. \n # Amazon Aurora \n Not applicable. The - associated list of EC2 VPC security groups is managed by the DB - cluster. \n Default: The default EC2 VPC security group for the - DB subnet group's VPC." + description: |- + A list of Amazon EC2 VPC security groups to associate with this DB instance. + + + # Amazon Aurora + + + Not applicable. The associated list of EC2 VPC security groups is managed + by the DB cluster. + + + Default: The default EC2 VPC security group for the DB subnet group's VPC. items: type: string type: array vpcSecurityGroupRefs: items: description: "AWSResourceReferenceWrapper provides a wrapper around - *AWSResourceReference type to provide more user friendly syntax - for references using 'from' field Ex: APIIDRef: \n from: name: - my-api" + *AWSResourceReference\ntype to provide more user friendly syntax + for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t + \ name: my-api" properties: from: - description: AWSResourceReference provides all the values necessary - to reference another k8s resource for finding the identifier(Id/ARN/Name) + description: |- + AWSResourceReference provides all the values necessary to reference another + k8s resource for finding the identifier(Id/ARN/Name) properties: name: type: string @@ -895,24 +1862,26 @@ spec: description: DBInstanceStatus defines the observed state of DBInstance properties: ackResourceMetadata: - description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` - member that is used to contain resource sync state, account ownership, + description: |- + All CRs managed by ACK have a common `Status.ACKResourceMetadata` member + that is used to contain resource sync state, account ownership, constructed ARN for the resource properties: arn: - description: 'ARN is the Amazon Resource Name for the resource. - This is a globally-unique identifier and is set only by the - ACK service controller once the controller has orchestrated - the creation of the resource OR when it has verified that an - "adopted" resource (a resource where the ARN annotation was - set by the Kubernetes user on the CR) exists and matches the - supplied CR''s Spec field values. TODO(vijat@): Find a better - strategy for resources that do not have ARN in CreateOutputResponse - https://github.com/aws/aws-controllers-k8s/issues/270' + description: |- + ARN is the Amazon Resource Name for the resource. This is a + globally-unique identifier and is set only by the ACK service controller + once the controller has orchestrated the creation of the resource OR + when it has verified that an "adopted" resource (a resource where the + ARN annotation was set by the Kubernetes user on the CR) exists and + matches the supplied CR's Spec field values. + TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270 type: string ownerAccountID: - description: OwnerAccountID is the AWS Account ID of the account - that owns the backend AWS service API resource. + description: |- + OwnerAccountID is the AWS Account ID of the account that owns the + backend AWS service API resource. type: string region: description: Region is the AWS region in which the resource exists @@ -923,23 +1892,26 @@ spec: - region type: object activityStreamEngineNativeAuditFieldsIncluded: - description: Indicates whether engine-native audit fields are included - in the database activity stream. + description: |- + Indicates whether engine-native audit fields are included in the database + activity stream. type: boolean activityStreamKMSKeyID: - description: The Amazon Web Services KMS key identifier used for encrypting - messages in the database activity stream. The Amazon Web Services - KMS key identifier is the key ARN, key ID, alias ARN, or alias name - for the KMS key. + description: |- + The Amazon Web Services KMS key identifier used for encrypting messages in + the database activity stream. The Amazon Web Services KMS key identifier + is the key ARN, key ID, alias ARN, or alias name for the KMS key. type: string activityStreamKinesisStreamName: - description: The name of the Amazon Kinesis data stream used for the - database activity stream. + description: |- + The name of the Amazon Kinesis data stream used for the database activity + stream. type: string activityStreamMode: - description: The mode of the database activity stream. Database events - such as a change or access generate an activity stream event. RDS - for Oracle always handles these events asynchronously. + description: |- + The mode of the database activity stream. Database events such as a change + or access generate an activity stream event. RDS for Oracle always handles + these events asynchronously. type: string activityStreamPolicyStatus: description: The status of the policy state of the activity stream. @@ -948,11 +1920,13 @@ spec: description: The status of the database activity stream. type: string associatedRoles: - description: The Amazon Web Services Identity and Access Management - (IAM) roles associated with the DB instance. + description: |- + The Amazon Web Services Identity and Access Management (IAM) roles associated + with the DB instance. items: - description: Describes an Amazon Web Services Identity and Access - Management (IAM) role that is associated with a DB instance. + description: |- + Describes an Amazon Web Services Identity and Access Management (IAM) role + that is associated with a DB instance. properties: featureName: type: string @@ -967,14 +1941,15 @@ spec: format: date-time type: string automationMode: - description: 'The automation mode of the RDS Custom DB instance: full - or all paused. If full, the DB instance automates monitoring and - instance recovery. If all paused, the instance pauses automation - for the duration set by --resume-full-automation-mode-minutes.' + description: |- + The automation mode of the RDS Custom DB instance: full or all paused. If + full, the DB instance automates monitoring and instance recovery. If all + paused, the instance pauses automation for the duration set by --resume-full-automation-mode-minutes. type: string awsBackupRecoveryPointARN: - description: The Amazon Resource Name (ARN) of the recovery point - in Amazon Web Services Backup. + description: |- + The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services + Backup. type: string certificateDetails: description: The details of the DB instance's server certificate. @@ -986,14 +1961,16 @@ spec: type: string type: object conditions: - description: All CRS managed by ACK have a common `Status.Conditions` - member that contains a collection of `ackv1alpha1.Condition` objects - that describe the various terminal states of the CR and its backend - AWS service API resource + description: |- + All CRS managed by ACK have a common `Status.Conditions` member that + contains a collection of `ackv1alpha1.Condition` objects that describe + the various terminal states of the CR and its backend AWS service API + resource items: - description: Condition is the common struct used by all CRDs managed - by ACK service controllers to indicate terminal states of the - CR and its backend AWS service API resource + description: |- + Condition is the common struct used by all CRDs managed by ACK service + controllers to indicate terminal states of the CR and its backend AWS + service API resource properties: lastTransitionTime: description: Last time the condition transitioned from one status @@ -1019,50 +1996,80 @@ spec: type: object type: array customerOwnedIPEnabled: - description: "Specifies whether a customer-owned IP address (CoIP) - is enabled for an RDS on Outposts DB instance. \n A CoIP provides - local or external connectivity to resources in your Outpost subnets - through your on-premises network. For some use cases, a CoIP can - provide lower latency for connections to the DB instance from outside - of its virtual private cloud (VPC) on your local network. \n For - more information about RDS on Outposts, see Working with 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. \n For more information about CoIPs, - see Customer-owned IP addresses (https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) - in the Amazon Web Services Outposts User Guide." + description: |- + Specifies whether a customer-owned IP address (CoIP) is enabled for an RDS + on Outposts DB instance. + + + A CoIP provides local or external connectivity to resources in your Outpost + subnets through your on-premises network. For some use cases, a CoIP can + provide lower latency for connections to the DB instance from outside of + its virtual private cloud (VPC) on your local network. + + + For more information about RDS on Outposts, see Working with 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. + + + For more information about CoIPs, see Customer-owned IP addresses (https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) + in the Amazon Web Services Outposts User Guide. type: boolean dbInstanceAutomatedBackupsReplications: description: The list of replicated automated backups associated with the DB instance. items: - description: Automated backups of a DB instance replicated to another - Amazon Web Services Region. They consist of system backups, transaction - logs, and database instance properties. + description: |- + Automated backups of a DB instance replicated to another Amazon Web Services + Region. They consist of system backups, transaction logs, and database instance + properties. properties: dbInstanceAutomatedBackupsARN: type: string type: object type: array dbInstancePort: - description: Specifies the port that the DB instance listens on. If - the DB instance is part of a DB cluster, this can be a different - port than the DB cluster port. + description: |- + Specifies the port that the DB instance listens on. If the DB instance is + part of a DB cluster, this can be a different port than the DB cluster port. format: int64 type: integer dbInstanceStatus: - description: "Specifies the current state of this database. \n For - information about DB instance statuses, see Viewing DB instance - status (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/accessing-monitoring.html#Overview.DBInstance.Status) - in the Amazon RDS User Guide." + description: |- + Specifies the current state of this database. + + + For information about DB instance statuses, see Viewing DB instance status + (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/accessing-monitoring.html#Overview.DBInstance.Status) + in the Amazon RDS User Guide. type: string dbParameterGroups: description: Provides the list of DB parameter groups applied to this DB instance. items: - description: "The status of the DB parameter group. \n This data - type is used as a response element in the following actions: \n - - CreateDBInstance \n - CreateDBInstanceReadReplica \n - DeleteDBInstance - \n - ModifyDBInstance \n - RebootDBInstance \n - RestoreDBInstanceFromDBSnapshot" + description: |- + The status of the DB parameter group. + + + This data type is used as a response element in the following actions: + + + - CreateDBInstance + + + - CreateDBInstanceReadReplica + + + - DeleteDBInstance + + + - ModifyDBInstance + + + - RebootDBInstance + + + - RestoreDBInstanceFromDBSnapshot properties: dbParameterGroupName: type: string @@ -1071,9 +2078,9 @@ spec: type: object type: array dbSubnetGroup: - description: Specifies information on the subnet group associated - with the DB instance, including the name, description, and subnets - in the subnet group. + description: |- + Specifies information on the subnet group associated with the DB instance, + including the name, description, and subnets in the subnet group. properties: dbSubnetGroupARN: type: string @@ -1085,13 +2092,17 @@ spec: type: string subnets: items: - description: This data type is used as a response element for - the DescribeDBSubnetGroups operation. + description: |- + This data type is used as a response element for the DescribeDBSubnetGroups + operation. properties: subnetAvailabilityZone: - description: "Contains Availability Zone information. \n - This data type is used as an element in the OrderableDBInstanceOption - data type." + description: |- + Contains Availability Zone information. + + + This data type is used as an element in the OrderableDBInstanceOption data + type. properties: name: type: string @@ -1099,10 +2110,13 @@ spec: subnetIdentifier: type: string subnetOutpost: - description: "A data type that represents an Outpost. \n - 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." + description: |- + 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. properties: arn: type: string @@ -1119,22 +2133,23 @@ spec: type: string type: object dbSystemID: - description: The Oracle system ID (Oracle SID) for a container database - (CDB). The Oracle SID is also the name of the CDB. This setting - is valid for RDS Custom only. + description: |- + The Oracle system ID (Oracle SID) for a container database (CDB). The Oracle + SID is also the name of the CDB. This setting is valid for RDS Custom only. type: string dbiResourceID: - description: The Amazon Web Services Region-unique, immutable identifier - for the DB instance. This identifier is found in Amazon Web Services - CloudTrail log entries whenever the Amazon Web Services KMS key - for the DB instance is accessed. + description: |- + The Amazon Web Services Region-unique, immutable identifier for the DB instance. + This identifier is found in Amazon Web Services CloudTrail log entries whenever + the Amazon Web Services KMS key for the DB instance is accessed. type: string domainMemberships: description: The Active Directory Domain membership records associated with the DB instance. items: - description: An Active Directory Domain membership record associated - with the DB instance or cluster. + description: |- + An Active Directory Domain membership record associated with the DB instance + or cluster. properties: domain: type: string @@ -1147,17 +2162,23 @@ spec: type: object type: array enabledCloudwatchLogsExports: - description: "A list of log types that this DB instance is configured - to export to CloudWatch Logs. \n 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." + description: |- + 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. items: type: string type: array endpoint: - description: "Specifies the connection endpoint. \n The endpoint might - not be shown for instances whose status is creating." + description: |- + Specifies the connection endpoint. + + + The endpoint might not be shown for instances whose status is creating. properties: address: type: string @@ -1168,26 +2189,36 @@ spec: type: integer type: object enhancedMonitoringResourceARN: - description: The Amazon Resource Name (ARN) of the Amazon CloudWatch - Logs log stream that receives the Enhanced Monitoring metrics data - for the DB instance. + description: |- + The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that + receives the Enhanced Monitoring metrics data for the DB instance. type: string iamDatabaseAuthenticationEnabled: - description: "True if mapping of Amazon Web Services Identity and - Access Management (IAM) accounts to database accounts is enabled, - and otherwise false. \n IAM database authentication can be enabled - for the following database engines \n * For MySQL 5.6, minor version - 5.6.34 or higher \n * For MySQL 5.7, minor version 5.7.16 or higher - \n * Aurora 5.6 or higher. To enable IAM database authentication - for Aurora, see DBCluster Type." + description: |- + True if mapping of Amazon Web Services Identity and Access Management (IAM) + accounts to database accounts is enabled, and otherwise false. + + + IAM database authentication can be enabled for the following database engines + + + * For MySQL 5.6, minor version 5.6.34 or higher + + + * For MySQL 5.7, minor version 5.7.16 or higher + + + * Aurora 5.6 or higher. To enable IAM database authentication for Aurora, + see DBCluster Type. type: boolean instanceCreateTime: description: Provides the date and time the DB instance was created. format: date-time type: string latestRestorableTime: - description: Specifies the latest time to which a database can be - restored with point-in-time restore. + description: |- + Specifies the latest time to which a database can be restored with point-in-time + restore. format: date-time type: string listenerEndpoint: @@ -1203,11 +2234,14 @@ spec: type: integer type: object masterUserSecret: - description: "Contains the secret managed by RDS in Amazon Web Services - Secrets Manager for the master user password. \n For more information, - see Password management with Amazon Web Services Secrets Manager - (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the Amazon RDS User Guide." + description: |- + Contains the secret managed by RDS in Amazon Web Services Secrets Manager + for the master user password. + + + For more information, see Password management with Amazon Web Services Secrets + Manager (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) + in the Amazon RDS User Guide. properties: kmsKeyID: type: string @@ -1230,9 +2264,10 @@ spec: type: object type: array pendingModifiedValues: - description: 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. + description: |- + 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. properties: allocatedStorage: format: int64 @@ -1264,9 +2299,9 @@ spec: multiAZ: type: boolean pendingCloudwatchLogsExports: - description: 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. + description: |- + 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. properties: logTypesToDisable: items: @@ -1282,29 +2317,69 @@ spec: type: integer processorFeatures: items: - description: "Contains the processor features of a DB instance - class. \n To specify the number of CPU cores, use the coreCount - feature name for the Name parameter. To specify the number - of threads per core, use the threadsPerCore feature name for - the Name parameter. \n You can set the processor features - of the DB instance class for a DB instance when you call one - of the following actions: \n - CreateDBInstance \n - ModifyDBInstance - \n - RestoreDBInstanceFromDBSnapshot \n - RestoreDBInstanceFromS3 - \n - RestoreDBInstanceToPointInTime \n You can view the valid - processor values for a particular instance class by calling - the DescribeOrderableDBInstanceOptions action and specifying - the instance class for the DBInstanceClass parameter. \n In - addition, you can use the following actions for DB instance - class processor information: \n - DescribeDBInstances \n - - DescribeDBSnapshots \n - DescribeValidDBInstanceModifications - \n If you call DescribeDBInstances, ProcessorFeature returns - non-null values only if the following conditions are met: - \n - You are accessing an Oracle DB instance. \n - Your Oracle - DB instance class supports configuring the number of CPU cores - and threads per core. \n - The current number CPU cores and - threads is set to a non-default value. \n For more information, - see Configuring the Processor of the DB Instance Class (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor) - in the Amazon RDS User Guide." + description: |- + Contains the processor features of a DB instance class. + + + To specify the number of CPU cores, use the coreCount feature name for the + Name parameter. To specify the number of threads per core, use the threadsPerCore + feature name for the Name parameter. + + + You can set the processor features of the DB instance class for a DB instance + when you call one of the following actions: + + + - CreateDBInstance + + + - ModifyDBInstance + + + - RestoreDBInstanceFromDBSnapshot + + + - RestoreDBInstanceFromS3 + + + - RestoreDBInstanceToPointInTime + + + You can view the valid processor values for a particular instance class by + calling the DescribeOrderableDBInstanceOptions action and specifying the + instance class for the DBInstanceClass parameter. + + + In addition, you can use the following actions for DB instance class processor + information: + + + - DescribeDBInstances + + + - DescribeDBSnapshots + + + - DescribeValidDBInstanceModifications + + + If you call DescribeDBInstances, ProcessorFeature returns non-null values + only if the following conditions are met: + + + - You are accessing an Oracle DB instance. + + + - Your Oracle DB instance class supports configuring the number of CPU + cores and threads per core. + + + - The current number CPU cores and threads is set to a non-default value. + + + For more information, see Configuring the Processor of the DB Instance Class + (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor) + in the Amazon RDS User Guide. properties: name: type: string @@ -1322,43 +2397,51 @@ spec: type: string type: object readReplicaDBClusterIdentifiers: - description: "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 for MySQL - DB instance, the Aurora MySQL DB cluster for the Aurora read replica - is shown. This output doesn't contain information about cross-Region - Aurora read replicas. \n Currently, each RDS DB instance can have - only one Aurora read replica." + description: |- + 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 for MySQL DB instance, the Aurora MySQL DB + cluster for the Aurora read replica is shown. This output doesn't contain + information about cross-Region Aurora read replicas. + + + Currently, each RDS DB instance can have only one Aurora read replica. items: type: string type: array readReplicaDBInstanceIdentifiers: - description: Contains one or more identifiers of the read replicas - associated with this DB instance. + description: |- + Contains one or more identifiers of the read replicas associated with this + DB instance. items: type: string type: array readReplicaSourceDBClusterIdentifier: - description: Contains the identifier of the source DB cluster if this - DB instance is a read replica. + description: |- + Contains the identifier of the source DB cluster if this DB instance is a + read replica. type: string readReplicaSourceDBInstanceIdentifier: - description: Contains the identifier of the source DB instance if - this DB instance is a read replica. + description: |- + Contains the identifier of the source DB instance if this DB instance is + a read replica. type: string resumeFullAutomationModeTime: - description: The number of minutes to pause the automation. When the - time period ends, RDS Custom resumes full automation. The minimum - value is 60 (default). The maximum value is 1,440. + description: |- + The number of minutes to pause the automation. When the time period ends, + RDS Custom resumes full automation. The minimum value is 60 (default). The + maximum value is 1,440. format: date-time type: string secondaryAvailabilityZone: - description: If present, specifies the name of the secondary Availability - Zone for a DB instance with multi-AZ support. + description: |- + If present, specifies the name of the secondary Availability Zone for a DB + instance with multi-AZ support. type: string statusInfos: - description: The status of a read replica. If the instance isn't a - read replica, this is blank. + description: |- + The status of a read replica. If the instance isn't a read replica, this + is blank. items: description: Provides a list of status information for a DB instance. properties: @@ -1373,11 +2456,13 @@ spec: type: object type: array vpcSecurityGroups: - description: Provides a list of VPC security group elements that the - DB instance belongs to. + description: |- + Provides a list of VPC security group elements that the DB instance belongs + to. items: - description: This data type is used as a response element for queries - on VPC security group membership. + description: |- + This data type is used as a response element for queries on VPC security + group membership. properties: status: type: string diff --git a/helm/crds/rds.services.k8s.aws_dbparametergroups.yaml b/helm/crds/rds.services.k8s.aws_dbparametergroups.yaml index 4f57ae0..84048ca 100644 --- a/helm/crds/rds.services.k8s.aws_dbparametergroups.yaml +++ b/helm/crds/rds.services.k8s.aws_dbparametergroups.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: dbparametergroups.rds.services.k8s.aws spec: group: rds.services.k8s.aws @@ -21,49 +20,125 @@ spec: description: DBParameterGroup is the Schema for the DBParameterGroups API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: - description: "DBParameterGroupSpec defines the desired state of DBParameterGroup. - \n Contains the details of an Amazon RDS DB parameter group. \n This - data type is used as a response element in the DescribeDBParameterGroups - action." + description: |- + DBParameterGroupSpec defines the desired state of DBParameterGroup. + + + Contains the details of an Amazon RDS DB parameter group. + + + This data type is used as a response element in the DescribeDBParameterGroups + action. properties: description: description: The description for the DB parameter group. type: string family: - description: "The DB parameter group family name. A DB parameter group - can be associated with one and only one DB parameter group family, - and can be applied only to a DB instance running a database engine - and engine version compatible with that DB parameter group family. - \n To list all of the available parameter group families for a DB - engine, use the following command: \n aws rds describe-db-engine-versions - --query \"DBEngineVersions[].DBParameterGroupFamily\" --engine - \n For example, to list all of the available parameter group families - for the MySQL DB engine, use the following command: \n aws rds describe-db-engine-versions - --query \"DBEngineVersions[].DBParameterGroupFamily\" --engine mysql - \n The output contains duplicates. \n The following are the valid - DB engine values: \n - aurora (for MySQL 5.6-compatible Aurora) - \n - aurora-mysql (for MySQL 5.7-compatible and MySQL 8.0-compatible - Aurora) \n - aurora-postgresql \n - mariadb \n - mysql \n - oracle-ee - \n - oracle-ee-cdb \n - oracle-se2 \n - oracle-se2-cdb \n - postgres - \n - sqlserver-ee \n - sqlserver-se \n - sqlserver-ex \n - sqlserver-web" + description: |- + The DB parameter group family name. A DB parameter group can be associated + with one and only one DB parameter group family, and can be applied only + to a DB instance running a database engine and engine version compatible + with that DB parameter group family. + + + To list all of the available parameter group families for a DB engine, use + the following command: + + + aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" + --engine + + + For example, to list all of the available parameter group families for the + MySQL DB engine, use the following command: + + + aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" + --engine mysql + + + The output contains duplicates. + + + The following are the valid DB engine values: + + + - aurora (for MySQL 5.6-compatible Aurora) + + + - aurora-mysql (for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora) + + + - aurora-postgresql + + + - mariadb + + + - mysql + + + - oracle-ee + + + - oracle-ee-cdb + + + - oracle-se2 + + + - oracle-se2-cdb + + + - postgres + + + - sqlserver-ee + + + - sqlserver-se + + + - sqlserver-ex + + + - sqlserver-web type: string name: - description: "The name of the DB parameter group. \n Constraints: - \n - Must be 1 to 255 letters, numbers, or hyphens. \n - First character - must be a letter \n - Can't end with a hyphen or contain two consecutive - hyphens \n This value is stored as a lowercase string." + description: |- + The name of the DB parameter group. + + + Constraints: + + + - Must be 1 to 255 letters, numbers, or hyphens. + + + - First character must be a letter + + + - Can't end with a hyphen or contain two consecutive hyphens + + + This value is stored as a lowercase string. type: string parameterOverrides: additionalProperties: @@ -72,10 +147,12 @@ spec: tags: description: Tags to assign to the DB parameter group. items: - description: "Metadata assigned to an Amazon RDS resource consisting - of a key-value pair. \n For more information, see Tagging Amazon - RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the Amazon RDS User Guide." + description: |- + Metadata assigned to an Amazon RDS resource consisting of a key-value pair. + + + For more information, see Tagging Amazon RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the Amazon RDS User Guide. properties: key: type: string @@ -92,24 +169,26 @@ spec: description: DBParameterGroupStatus defines the observed state of DBParameterGroup properties: ackResourceMetadata: - description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` - member that is used to contain resource sync state, account ownership, + description: |- + All CRs managed by ACK have a common `Status.ACKResourceMetadata` member + that is used to contain resource sync state, account ownership, constructed ARN for the resource properties: arn: - description: 'ARN is the Amazon Resource Name for the resource. - This is a globally-unique identifier and is set only by the - ACK service controller once the controller has orchestrated - the creation of the resource OR when it has verified that an - "adopted" resource (a resource where the ARN annotation was - set by the Kubernetes user on the CR) exists and matches the - supplied CR''s Spec field values. TODO(vijat@): Find a better - strategy for resources that do not have ARN in CreateOutputResponse - https://github.com/aws/aws-controllers-k8s/issues/270' + description: |- + ARN is the Amazon Resource Name for the resource. This is a + globally-unique identifier and is set only by the ACK service controller + once the controller has orchestrated the creation of the resource OR + when it has verified that an "adopted" resource (a resource where the + ARN annotation was set by the Kubernetes user on the CR) exists and + matches the supplied CR's Spec field values. + TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270 type: string ownerAccountID: - description: OwnerAccountID is the AWS Account ID of the account - that owns the backend AWS service API resource. + description: |- + OwnerAccountID is the AWS Account ID of the account that owns the + backend AWS service API resource. type: string region: description: Region is the AWS region in which the resource exists @@ -120,14 +199,16 @@ spec: - region type: object conditions: - description: All CRS managed by ACK have a common `Status.Conditions` - member that contains a collection of `ackv1alpha1.Condition` objects - that describe the various terminal states of the CR and its backend - AWS service API resource + description: |- + All CRS managed by ACK have a common `Status.Conditions` member that + contains a collection of `ackv1alpha1.Condition` objects that describe + the various terminal states of the CR and its backend AWS service API + resource items: - description: Condition is the common struct used by all CRDs managed - by ACK service controllers to indicate terminal states of the - CR and its backend AWS service API resource + description: |- + Condition is the common struct used by all CRDs managed by ACK service + controllers to indicate terminal states of the CR and its backend AWS + service API resource properties: lastTransitionTime: description: Last time the condition transitioned from one status @@ -155,10 +236,13 @@ spec: parameterOverrideStatuses: description: A list of Parameter values. items: - description: "This data type is used as a request parameter in the - ModifyDBParameterGroup and ResetDBParameterGroup actions. \n This - data type is used as a response element in the DescribeEngineDefaultParameters - and DescribeDBParameters actions." + description: |- + This data type is used as a request parameter in the ModifyDBParameterGroup + and ResetDBParameterGroup actions. + + + This data type is used as a response element in the DescribeEngineDefaultParameters + and DescribeDBParameters actions. properties: allowedValues: type: string diff --git a/helm/crds/rds.services.k8s.aws_dbproxies.yaml b/helm/crds/rds.services.k8s.aws_dbproxies.yaml index 4b06379..1c31e09 100644 --- a/helm/crds/rds.services.k8s.aws_dbproxies.yaml +++ b/helm/crds/rds.services.k8s.aws_dbproxies.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: dbproxies.rds.services.k8s.aws spec: group: rds.services.k8s.aws @@ -21,27 +20,38 @@ spec: description: DBProxy is the Schema for the DBProxies API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: - description: "DBProxySpec defines the desired state of DBProxy. \n The - data structure representing a proxy managed by the RDS Proxy. \n This - data type is used as a response element in the DescribeDBProxies action." + description: |- + DBProxySpec defines the desired state of DBProxy. + + + The data structure representing a proxy managed by the RDS Proxy. + + + This data type is used as a response element in the DescribeDBProxies action. properties: auth: description: The authorization mechanism that the proxy uses. items: - description: Specifies the details of authentication used by a proxy - to log in as a specific database user. + description: |- + Specifies the details of authentication used by a proxy to log in as a specific + database user. properties: authScheme: type: string @@ -58,55 +68,61 @@ spec: type: object type: array debugLogging: - description: Whether the proxy includes detailed information about - SQL statements in its logs. This information helps you to debug - issues involving SQL behavior or the performance and scalability - of the proxy connections. The debug information includes the text - of SQL statements that you submit through the proxy. Thus, only - enable this setting when needed for debugging, and only when you - have security measures in place to safeguard any sensitive information - that appears in the logs. + description: |- + Whether the proxy includes detailed information about SQL statements in its + logs. This information helps you to debug issues involving SQL behavior or + the performance and scalability of the proxy connections. The debug information + includes the text of SQL statements that you submit through the proxy. Thus, + only enable this setting when needed for debugging, and only when you have + security measures in place to safeguard any sensitive information that appears + in the logs. type: boolean engineFamily: - description: The kinds of databases that the proxy can connect to. - This value determines which database network protocol the proxy - recognizes when it interprets network traffic to and from the database. - For Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases, - specify MYSQL. For Aurora PostgreSQL and RDS for PostgreSQL databases, - specify POSTGRESQL. For RDS for Microsoft SQL Server, specify SQLSERVER. + description: |- + The kinds of databases that the proxy can connect to. This value determines + which database network protocol the proxy recognizes when it interprets network + traffic to and from the database. For Aurora MySQL, RDS for MariaDB, and + RDS for MySQL databases, specify MYSQL. For Aurora PostgreSQL and RDS for + PostgreSQL databases, specify POSTGRESQL. For RDS for Microsoft SQL Server, + specify SQLSERVER. type: string idleClientTimeout: - description: The number of seconds that a connection to the proxy - can be inactive before the proxy disconnects it. You can set this - value higher or lower than the connection timeout limit for the - associated database. + description: |- + The number of seconds that a connection to the proxy can be inactive before + the proxy disconnects it. You can set this value higher or lower than the + connection timeout limit for the associated database. format: int64 type: integer name: - description: The identifier for the proxy. This name must be unique - for all proxies owned by your Amazon Web Services account in the - specified Amazon Web Services Region. An identifier must begin with - a letter and must contain only ASCII letters, digits, and hyphens; - it can't end with a hyphen or contain two consecutive hyphens. + description: |- + The identifier for the proxy. This name must be unique for all proxies owned + by your Amazon Web Services account in the specified Amazon Web Services + Region. An identifier must begin with a letter and must contain only ASCII + letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive + hyphens. type: string requireTLS: - description: A Boolean parameter that specifies whether Transport - Layer Security (TLS) encryption is required for connections to the - proxy. By enabling this setting, you can enforce encrypted TLS connections - to the proxy. + description: |- + A Boolean parameter that specifies whether Transport Layer Security (TLS) + encryption is required for connections to the proxy. By enabling this setting, + you can enforce encrypted TLS connections to the proxy. type: boolean roleARN: - description: The Amazon Resource Name (ARN) of the IAM role that the - proxy uses to access secrets in Amazon Web Services Secrets Manager. + description: |- + The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access + secrets in Amazon Web Services Secrets Manager. type: string tags: - description: An optional set of key-value pairs to associate arbitrary - data of your choosing with the proxy. + description: |- + An optional set of key-value pairs to associate arbitrary data of your choosing + with the proxy. items: - description: "Metadata assigned to an Amazon RDS resource consisting - of a key-value pair. \n For more information, see Tagging Amazon - RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the Amazon RDS User Guide." + description: |- + Metadata assigned to an Amazon RDS resource consisting of a key-value pair. + + + For more information, see Tagging Amazon RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the Amazon RDS User Guide. properties: key: type: string @@ -137,24 +153,26 @@ spec: description: DBProxyStatus defines the observed state of DBProxy properties: ackResourceMetadata: - description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` - member that is used to contain resource sync state, account ownership, + description: |- + All CRs managed by ACK have a common `Status.ACKResourceMetadata` member + that is used to contain resource sync state, account ownership, constructed ARN for the resource properties: arn: - description: 'ARN is the Amazon Resource Name for the resource. - This is a globally-unique identifier and is set only by the - ACK service controller once the controller has orchestrated - the creation of the resource OR when it has verified that an - "adopted" resource (a resource where the ARN annotation was - set by the Kubernetes user on the CR) exists and matches the - supplied CR''s Spec field values. TODO(vijat@): Find a better - strategy for resources that do not have ARN in CreateOutputResponse - https://github.com/aws/aws-controllers-k8s/issues/270' + description: |- + ARN is the Amazon Resource Name for the resource. This is a + globally-unique identifier and is set only by the ACK service controller + once the controller has orchestrated the creation of the resource OR + when it has verified that an "adopted" resource (a resource where the + ARN annotation was set by the Kubernetes user on the CR) exists and + matches the supplied CR's Spec field values. + TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270 type: string ownerAccountID: - description: OwnerAccountID is the AWS Account ID of the account - that owns the backend AWS service API resource. + description: |- + OwnerAccountID is the AWS Account ID of the account that owns the + backend AWS service API resource. type: string region: description: Region is the AWS region in which the resource exists @@ -165,14 +183,16 @@ spec: - region type: object conditions: - description: All CRS managed by ACK have a common `Status.Conditions` - member that contains a collection of `ackv1alpha1.Condition` objects - that describe the various terminal states of the CR and its backend - AWS service API resource + description: |- + All CRS managed by ACK have a common `Status.Conditions` member that + contains a collection of `ackv1alpha1.Condition` objects that describe + the various terminal states of the CR and its backend AWS service API + resource items: - description: Condition is the common struct used by all CRDs managed - by ACK service controllers to indicate terminal states of the - CR and its backend AWS service API resource + description: |- + Condition is the common struct used by all CRDs managed by ACK service + controllers to indicate terminal states of the CR and its backend AWS + service API resource properties: lastTransitionTime: description: Last time the condition transitioned from one status @@ -202,15 +222,15 @@ spec: format: date-time type: string endpoint: - description: The endpoint that you can use to connect to the DB proxy. - You include the endpoint value in the connection string for a database - client application. + description: |- + The endpoint that you can use to connect to the DB proxy. You include the + endpoint value in the connection string for a database client application. type: string status: - description: The current status of this proxy. A status of available - means the proxy is ready to handle requests. Other values indicate - that you must wait for the proxy to be ready, or take some action - to resolve an issue. + description: |- + The current status of this proxy. A status of available means the proxy is + ready to handle requests. Other values indicate that you must wait for the + proxy to be ready, or take some action to resolve an issue. type: string updatedDate: description: The date and time when the proxy was last updated. diff --git a/helm/crds/rds.services.k8s.aws_dbsubnetgroups.yaml b/helm/crds/rds.services.k8s.aws_dbsubnetgroups.yaml index a044c5b..8852e53 100644 --- a/helm/crds/rds.services.k8s.aws_dbsubnetgroups.yaml +++ b/helm/crds/rds.services.k8s.aws_dbsubnetgroups.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: dbsubnetgroups.rds.services.k8s.aws spec: group: rds.services.k8s.aws @@ -21,31 +20,55 @@ spec: description: DBSubnetGroup is the Schema for the DBSubnetGroups API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: - description: "DBSubnetGroupSpec defines the desired state of DBSubnetGroup. - \n Contains the details of an Amazon RDS DB subnet group. \n This data - type is used as a response element in the DescribeDBSubnetGroups action." + description: |- + DBSubnetGroupSpec defines the desired state of DBSubnetGroup. + + + Contains the details of an Amazon RDS DB subnet group. + + + This data type is used as a response element in the DescribeDBSubnetGroups + action. properties: description: description: The description for the DB subnet group. type: string name: - description: "The name for the DB subnet group. This value is stored - as a lowercase string. \n Constraints: \n - Must contain no more - than 255 letters, numbers, periods, underscores, spaces, or hyphens. - \n - Must not be default. \n - First character must be a letter. - \n Example: mydbsubnetgroup" + description: |- + The name for the DB subnet group. This value is stored as a lowercase string. + + + Constraints: + + + - Must contain no more than 255 letters, numbers, periods, underscores, + spaces, or hyphens. + + + - Must not be default. + + + - First character must be a letter. + + + Example: mydbsubnetgroup type: string subnetIDs: description: The EC2 Subnet IDs for the DB subnet group. @@ -55,13 +78,14 @@ spec: subnetRefs: items: description: "AWSResourceReferenceWrapper provides a wrapper around - *AWSResourceReference type to provide more user friendly syntax - for references using 'from' field Ex: APIIDRef: \n from: name: - my-api" + *AWSResourceReference\ntype to provide more user friendly syntax + for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t + \ name: my-api" properties: from: - description: AWSResourceReference provides all the values necessary - to reference another k8s resource for finding the identifier(Id/ARN/Name) + description: |- + AWSResourceReference provides all the values necessary to reference another + k8s resource for finding the identifier(Id/ARN/Name) properties: name: type: string @@ -71,10 +95,12 @@ spec: tags: description: Tags to assign to the DB subnet group. items: - description: "Metadata assigned to an Amazon RDS resource consisting - of a key-value pair. \n For more information, see Tagging Amazon - RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the Amazon RDS User Guide." + description: |- + Metadata assigned to an Amazon RDS resource consisting of a key-value pair. + + + For more information, see Tagging Amazon RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the Amazon RDS User Guide. properties: key: type: string @@ -90,24 +116,26 @@ spec: description: DBSubnetGroupStatus defines the observed state of DBSubnetGroup properties: ackResourceMetadata: - description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` - member that is used to contain resource sync state, account ownership, + description: |- + All CRs managed by ACK have a common `Status.ACKResourceMetadata` member + that is used to contain resource sync state, account ownership, constructed ARN for the resource properties: arn: - description: 'ARN is the Amazon Resource Name for the resource. - This is a globally-unique identifier and is set only by the - ACK service controller once the controller has orchestrated - the creation of the resource OR when it has verified that an - "adopted" resource (a resource where the ARN annotation was - set by the Kubernetes user on the CR) exists and matches the - supplied CR''s Spec field values. TODO(vijat@): Find a better - strategy for resources that do not have ARN in CreateOutputResponse - https://github.com/aws/aws-controllers-k8s/issues/270' + description: |- + ARN is the Amazon Resource Name for the resource. This is a + globally-unique identifier and is set only by the ACK service controller + once the controller has orchestrated the creation of the resource OR + when it has verified that an "adopted" resource (a resource where the + ARN annotation was set by the Kubernetes user on the CR) exists and + matches the supplied CR's Spec field values. + TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270 type: string ownerAccountID: - description: OwnerAccountID is the AWS Account ID of the account - that owns the backend AWS service API resource. + description: |- + OwnerAccountID is the AWS Account ID of the account that owns the + backend AWS service API resource. type: string region: description: Region is the AWS region in which the resource exists @@ -118,14 +146,16 @@ spec: - region type: object conditions: - description: All CRS managed by ACK have a common `Status.Conditions` - member that contains a collection of `ackv1alpha1.Condition` objects - that describe the various terminal states of the CR and its backend - AWS service API resource + description: |- + All CRS managed by ACK have a common `Status.Conditions` member that + contains a collection of `ackv1alpha1.Condition` objects that describe + the various terminal states of the CR and its backend AWS service API + resource items: - description: Condition is the common struct used by all CRDs managed - by ACK service controllers to indicate terminal states of the - CR and its backend AWS service API resource + description: |- + Condition is the common struct used by all CRDs managed by ACK service + controllers to indicate terminal states of the CR and its backend AWS + service API resource properties: lastTransitionTime: description: Last time the condition transitioned from one status @@ -156,13 +186,17 @@ spec: subnets: description: Contains a list of Subnet elements. items: - description: This data type is used as a response element for the - DescribeDBSubnetGroups operation. + description: |- + This data type is used as a response element for the DescribeDBSubnetGroups + operation. properties: subnetAvailabilityZone: - description: "Contains Availability Zone information. \n This - data type is used as an element in the OrderableDBInstanceOption - data type." + description: |- + Contains Availability Zone information. + + + This data type is used as an element in the OrderableDBInstanceOption data + type. properties: name: type: string @@ -170,10 +204,13 @@ spec: subnetIdentifier: type: string subnetOutpost: - description: "A data type that represents an Outpost. \n 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." + description: |- + 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. properties: arn: type: string @@ -183,11 +220,25 @@ spec: type: object type: array supportedNetworkTypes: - description: "The network type of the DB subnet group. \n Valid values: - \n * IPV4 \n * DUAL \n A DBSubnetGroup can support only the IPv4 - protocol or the IPv4 and the IPv6 protocols (DUAL). \n For more - information, see Working with a DB instance in a VPC (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) - in the Amazon RDS User Guide." + description: |- + The network type of the DB subnet group. + + + Valid values: + + + * IPV4 + + + * DUAL + + + A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 + protocols (DUAL). + + + For more information, see Working with a DB instance in a VPC (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) + in the Amazon RDS User Guide. items: type: string type: array diff --git a/helm/crds/rds.services.k8s.aws_globalclusters.yaml b/helm/crds/rds.services.k8s.aws_globalclusters.yaml index 6576ae8..394551e 100644 --- a/helm/crds/rds.services.k8s.aws_globalclusters.yaml +++ b/helm/crds/rds.services.k8s.aws_globalclusters.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: globalclusters.rds.services.k8s.aws spec: group: rds.services.k8s.aws @@ -21,30 +20,39 @@ spec: description: GlobalCluster is the Schema for the GlobalClusters API properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: - description: "GlobalClusterSpec defines the desired state of GlobalCluster. - \n A data type representing an Aurora global database." + description: |- + GlobalClusterSpec defines the desired state of GlobalCluster. + + + A data type representing an Aurora global database. properties: databaseName: - description: The name for your database of up to 64 alphanumeric characters. - If you do not provide a name, Amazon Aurora will not create a database - in the global database cluster you are creating. + description: |- + The name for your database of up to 64 alphanumeric characters. If you do + not provide a name, Amazon Aurora will not create a database in the global + database cluster you are creating. type: string deletionProtection: - description: The deletion protection setting for the new global database. - The global database can't be deleted when deletion protection is - enabled. + description: |- + The deletion protection setting for the new global database. The global database + can't be deleted when deletion protection is enabled. type: boolean engine: description: The name of the database engine to be used for this DB @@ -57,8 +65,9 @@ spec: description: The cluster identifier of the new global database cluster. type: string sourceDBClusterIdentifier: - description: The Amazon Resource Name (ARN) to use as the primary - cluster of the global database. This parameter is optional. + description: |- + The Amazon Resource Name (ARN) to use as the primary cluster of the global + database. This parameter is optional. type: string storageEncrypted: description: The storage encryption setting for the new global database @@ -69,24 +78,26 @@ spec: description: GlobalClusterStatus defines the observed state of GlobalCluster properties: ackResourceMetadata: - description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` - member that is used to contain resource sync state, account ownership, + description: |- + All CRs managed by ACK have a common `Status.ACKResourceMetadata` member + that is used to contain resource sync state, account ownership, constructed ARN for the resource properties: arn: - description: 'ARN is the Amazon Resource Name for the resource. - This is a globally-unique identifier and is set only by the - ACK service controller once the controller has orchestrated - the creation of the resource OR when it has verified that an - "adopted" resource (a resource where the ARN annotation was - set by the Kubernetes user on the CR) exists and matches the - supplied CR''s Spec field values. TODO(vijat@): Find a better - strategy for resources that do not have ARN in CreateOutputResponse - https://github.com/aws/aws-controllers-k8s/issues/270' + description: |- + ARN is the Amazon Resource Name for the resource. This is a + globally-unique identifier and is set only by the ACK service controller + once the controller has orchestrated the creation of the resource OR + when it has verified that an "adopted" resource (a resource where the + ARN annotation was set by the Kubernetes user on the CR) exists and + matches the supplied CR's Spec field values. + TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270 type: string ownerAccountID: - description: OwnerAccountID is the AWS Account ID of the account - that owns the backend AWS service API resource. + description: |- + OwnerAccountID is the AWS Account ID of the account that owns the + backend AWS service API resource. type: string region: description: Region is the AWS region in which the resource exists @@ -97,14 +108,16 @@ spec: - region type: object conditions: - description: All CRS managed by ACK have a common `Status.Conditions` - member that contains a collection of `ackv1alpha1.Condition` objects - that describe the various terminal states of the CR and its backend - AWS service API resource + description: |- + All CRS managed by ACK have a common `Status.Conditions` member that + contains a collection of `ackv1alpha1.Condition` objects that describe + the various terminal states of the CR and its backend AWS service API + resource items: - description: Condition is the common struct used by all CRDs managed - by ACK service controllers to indicate terminal states of the - CR and its backend AWS service API resource + description: |- + Condition is the common struct used by all CRDs managed by ACK service + controllers to indicate terminal states of the CR and its backend AWS + service API resource properties: lastTransitionTime: description: Last time the condition transitioned from one status @@ -130,10 +143,11 @@ spec: type: object type: array failoverState: - description: A data object containing all properties for the current - state of an in-process or pending failover process for this Aurora - global database. This object is empty unless the FailoverGlobalCluster - API operation has been called on this Aurora global database (GlobalCluster). + description: |- + A data object containing all properties for the current state of an in-process + or pending failover process for this Aurora global database. This object + is empty unless the FailoverGlobalCluster API operation has been called on + this Aurora global database (GlobalCluster). properties: fromDBClusterARN: type: string @@ -146,8 +160,9 @@ spec: description: The list of primary and secondary clusters within the global database cluster. items: - description: A data structure with information about any primary - and secondary clusters associated with an Aurora global database. + description: |- + A data structure with information about any primary and secondary clusters + associated with an Aurora global database. properties: dbClusterARN: type: string @@ -162,10 +177,11 @@ spec: type: object type: array globalClusterResourceID: - description: The Amazon Web Services Region-unique, immutable identifier - for the global database cluster. This identifier is found in Amazon - Web Services CloudTrail log entries whenever the Amazon Web Services - KMS key for the DB cluster is accessed. + description: |- + The Amazon Web Services Region-unique, immutable identifier for the global + database cluster. This identifier is found in Amazon Web Services CloudTrail + log entries whenever the Amazon Web Services KMS key for the DB cluster is + accessed. type: string status: description: Specifies the current state of this global database cluster. diff --git a/helm/crds/services.k8s.aws_adoptedresources.yaml b/helm/crds/services.k8s.aws_adoptedresources.yaml index 9a12ef7..65eff73 100644 --- a/helm/crds/services.k8s.aws_adoptedresources.yaml +++ b/helm/crds/services.k8s.aws_adoptedresources.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: adoptedresources.services.k8s.aws spec: group: services.k8s.aws @@ -21,14 +20,19 @@ spec: description: AdoptedResource is the schema for the AdoptedResource API. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -42,129 +46,149 @@ spec: additionalKeys: additionalProperties: type: string - description: AdditionalKeys represents any additional arbitrary - identifiers used when describing the target resource. + description: |- + AdditionalKeys represents any additional arbitrary identifiers used when + describing the target resource. type: object arn: - description: ARN is the AWS Resource Name for the resource. It - is a globally unique identifier. + description: |- + ARN is the AWS Resource Name for the resource. It is a globally + unique identifier. type: string nameOrID: - description: NameOrId is a user-supplied string identifier for - the resource. It may or may not be globally unique, depending - on the type of resource. + description: |- + NameOrId is a user-supplied string identifier for the resource. It may + or may not be globally unique, depending on the type of resource. type: string type: object kubernetes: - description: ResourceWithMetadata provides the values necessary to - create a Kubernetes resource and override any of its metadata values. + description: |- + ResourceWithMetadata provides the values necessary to create a + Kubernetes resource and override any of its metadata values. properties: group: type: string kind: type: string metadata: - description: "ObjectMeta is metadata that all persisted resources - must have, which includes all objects users must create. It - is not possible to use `metav1.ObjectMeta` inside spec, as the - controller-gen automatically converts this to an arbitrary string-string - map. https://github.com/kubernetes-sigs/controller-tools/issues/385 - \n Active discussion about inclusion of this field in the spec - is happening in this PR: https://github.com/kubernetes-sigs/controller-tools/pull/395 - \n Until this is allowed, or if it never is, we will produce - a subset of the object meta that contains only the fields which - the user is allowed to modify in the metadata." + description: |- + ObjectMeta is metadata that all persisted resources must have, which includes all objects + users must create. + It is not possible to use `metav1.ObjectMeta` inside spec, as the controller-gen + automatically converts this to an arbitrary string-string map. + https://github.com/kubernetes-sigs/controller-tools/issues/385 + + + Active discussion about inclusion of this field in the spec is happening in this PR: + https://github.com/kubernetes-sigs/controller-tools/pull/395 + + + Until this is allowed, or if it never is, we will produce a subset of the object meta + that contains only the fields which the user is allowed to modify in the metadata. properties: annotations: additionalProperties: type: string - description: 'Annotations is an unstructured key value map - stored with a resource that may be set by external tools - to store and retrieve arbitrary metadata. They are not queryable - and should be preserved when modifying objects. More info: - http://kubernetes.io/docs/user-guide/annotations' + description: |- + Annotations is an unstructured key value map stored with a resource that may be + set by external tools to store and retrieve arbitrary metadata. They are not + queryable and should be preserved when modifying objects. + More info: http://kubernetes.io/docs/user-guide/annotations type: object generateName: - description: "GenerateName is an optional prefix, used by - the server, to generate a unique name ONLY IF the Name field - has not been provided. If this field is used, the name returned - to the client will be different than the name passed. This - value will also be combined with a unique suffix. The provided - value has the same validation rules as the Name field, and - may be truncated by the length of the suffix required to - make the value unique on the server. \n If this field is - specified and the generated name exists, the server will - NOT return a 409 - instead, it will either return 201 Created - or 500 with Reason ServerTimeout indicating a unique name - could not be found in the time allotted, and the client - should retry (optionally after the time indicated in the - Retry-After header). \n Applied only if Name is not specified. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency" + description: |- + GenerateName is an optional prefix, used by the server, to generate a unique + name ONLY IF the Name field has not been provided. + If this field is used, the name returned to the client will be different + than the name passed. This value will also be combined with a unique suffix. + The provided value has the same validation rules as the Name field, + and may be truncated by the length of the suffix required to make the value + unique on the server. + + + If this field is specified and the generated name exists, the server will + NOT return a 409 - instead, it will either return 201 Created or 500 with Reason + ServerTimeout indicating a unique name could not be found in the time allotted, and the client + should retry (optionally after the time indicated in the Retry-After header). + + + Applied only if Name is not specified. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency type: string labels: additionalProperties: type: string - description: 'Map of string keys and values that can be used - to organize and categorize (scope and select) objects. May - match selectors of replication controllers and services. - More info: http://kubernetes.io/docs/user-guide/labels' + description: |- + Map of string keys and values that can be used to organize and categorize + (scope and select) objects. May match selectors of replication controllers + and services. + More info: http://kubernetes.io/docs/user-guide/labels type: object name: - description: 'Name must be unique within a namespace. Is required - when creating resources, although some resources may allow - a client to request the generation of an appropriate name - automatically. Name is primarily intended for creation idempotence - and configuration definition. Cannot be updated. More info: - http://kubernetes.io/docs/user-guide/identifiers#names' + description: |- + Name must be unique within a namespace. Is required when creating resources, although + some resources may allow a client to request the generation of an appropriate name + automatically. Name is primarily intended for creation idempotence and configuration + definition. + Cannot be updated. + More info: http://kubernetes.io/docs/user-guide/identifiers#names type: string namespace: - description: "Namespace defines the space within each name - must be unique. An empty namespace is equivalent to the - \"default\" namespace, but \"default\" is the canonical - representation. Not all objects are required to be scoped - to a namespace - the value of this field for those objects - will be empty. \n Must be a DNS_LABEL. Cannot be updated. - More info: http://kubernetes.io/docs/user-guide/namespaces" + description: |- + Namespace defines the space within each name must be unique. An empty namespace is + equivalent to the "default" namespace, but "default" is the canonical representation. + Not all objects are required to be scoped to a namespace - the value of this field for + those objects will be empty. + + + Must be a DNS_LABEL. + Cannot be updated. + More info: http://kubernetes.io/docs/user-guide/namespaces type: string ownerReferences: - description: List of objects depended by this object. If ALL - objects in the list have been deleted, this object will - be garbage collected. If this object is managed by a controller, - then an entry in this list will point to this controller, - with the controller field set to true. There cannot be more - than one managing controller. + description: |- + List of objects depended by this object. If ALL objects in the list have + been deleted, this object will be garbage collected. If this object is managed by a controller, + then an entry in this list will point to this controller, with the controller field set to true. + There cannot be more than one managing controller. items: - description: OwnerReference contains enough information - to let you identify an owning object. An owning object - must be in the same namespace as the dependent, or be - cluster-scoped, so there is no namespace field. + description: |- + OwnerReference contains enough information to let you identify an owning + object. An owning object must be in the same namespace as the dependent, or + be cluster-scoped, so there is no namespace field. properties: apiVersion: description: API version of the referent. type: string blockOwnerDeletion: - description: If true, AND if the owner has the "foregroundDeletion" - finalizer, then the owner cannot be deleted from the - key-value store until this reference is removed. See - https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion - for how the garbage collector interacts with this - field and enforces the foreground deletion. Defaults - to false. To set this field, a user needs "delete" - permission of the owner, otherwise 422 (Unprocessable - Entity) will be returned. + description: |- + If true, AND if the owner has the "foregroundDeletion" finalizer, then + the owner cannot be deleted from the key-value store until this + reference is removed. + See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion + for how the garbage collector interacts with this field and enforces the foreground deletion. + Defaults to false. + To set this field, a user needs "delete" permission of the owner, + otherwise 422 (Unprocessable Entity) will be returned. type: boolean controller: description: If true, this reference points to the managing controller. type: boolean kind: - description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind of the referent. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names' + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names type: string uid: - description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids' + description: |- + UID of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids type: string required: - apiVersion @@ -188,13 +212,14 @@ spec: AdoptedResource. properties: conditions: - description: A collection of `ackv1alpha1.Condition` objects that - describe the various terminal states of the adopted resource CR - and its target custom resource + description: |- + A collection of `ackv1alpha1.Condition` objects that describe the various + terminal states of the adopted resource CR and its target custom resource items: - description: Condition is the common struct used by all CRDs managed - by ACK service controllers to indicate terminal states of the - CR and its backend AWS service API resource + description: |- + Condition is the common struct used by all CRDs managed by ACK service + controllers to indicate terminal states of the CR and its backend AWS + service API resource properties: lastTransitionTime: description: Last time the condition transitioned from one status diff --git a/helm/crds/services.k8s.aws_fieldexports.yaml b/helm/crds/services.k8s.aws_fieldexports.yaml index 4a7ab61..4d3a8f1 100644 --- a/helm/crds/services.k8s.aws_fieldexports.yaml +++ b/helm/crds/services.k8s.aws_fieldexports.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.14.0 name: fieldexports.services.k8s.aws spec: group: services.k8s.aws @@ -21,14 +20,19 @@ spec: description: FieldExport is the schema for the FieldExport API. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: - description: 'Kind is a string value representing the REST resource this - object represents. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object @@ -36,15 +40,17 @@ spec: description: FieldExportSpec defines the desired state of the FieldExport. properties: from: - description: ResourceFieldSelector provides the values necessary to - identify an individual field on an individual K8s resource. + description: |- + ResourceFieldSelector provides the values necessary to identify an individual + field on an individual K8s resource. properties: path: type: string resource: - description: NamespacedResource provides all the values necessary - to identify an ACK resource of a given type (within the same - namespace as the custom resource containing this type). + description: |- + NamespacedResource provides all the values necessary to identify an ACK + resource of a given type (within the same namespace as the custom resource + containing this type). properties: group: type: string @@ -62,16 +68,18 @@ spec: - resource type: object to: - description: FieldExportTarget provides the values necessary to identify - the output path for a field export. + description: |- + FieldExportTarget provides the values necessary to identify the + output path for a field export. properties: key: description: Key overrides the default value (`.`) for the FieldExport target type: string kind: - description: FieldExportOutputType represents all types that can - be produced by a field export operation + description: |- + FieldExportOutputType represents all types that can be produced by a field + export operation enum: - configmap - secret @@ -94,12 +102,14 @@ spec: description: FieldExportStatus defines the observed status of the FieldExport. properties: conditions: - description: A collection of `ackv1alpha1.Condition` objects that - describe the various recoverable states of the field CR + description: |- + A collection of `ackv1alpha1.Condition` objects that describe the various + recoverable states of the field CR items: - description: Condition is the common struct used by all CRDs managed - by ACK service controllers to indicate terminal states of the - CR and its backend AWS service API resource + description: |- + Condition is the common struct used by all CRDs managed by ACK service + controllers to indicate terminal states of the CR and its backend AWS + service API resource properties: lastTransitionTime: description: Last time the condition transitioned from one status diff --git a/helm/templates/NOTES.txt b/helm/templates/NOTES.txt index 445a325..68957e1 100644 --- a/helm/templates/NOTES.txt +++ b/helm/templates/NOTES.txt @@ -1,5 +1,5 @@ {{ .Chart.Name }} has been installed. -This chart deploys "public.ecr.aws/aws-controllers-k8s/rds-controller:1.1.10". +This chart deploys "public.ecr.aws/aws-controllers-k8s/rds-controller:1.1.11". Check its status by running: kubectl --namespace {{ .Release.Namespace }} get pods -l "app.kubernetes.io/instance={{ .Release.Name }}" diff --git a/helm/templates/_helpers.tpl b/helm/templates/_helpers.tpl index 40b7032..dcaf311 100644 --- a/helm/templates/_helpers.tpl +++ b/helm/templates/_helpers.tpl @@ -1,5 +1,5 @@ {{/* The name of the application this chart installs */}} -{{- define "app.name" -}} +{{- define "ack-rds-controller.app.name" -}} {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} {{- end -}} @@ -8,7 +8,7 @@ Create a default fully qualified app name. We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). If release name contains chart name it will be used as a full name. */}} -{{- define "app.fullname" -}} +{{- define "ack-rds-controller.app.fullname" -}} {{- if .Values.fullnameOverride -}} {{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} {{- else -}} @@ -22,33 +22,33 @@ If release name contains chart name it will be used as a full name. {{- end -}} {{/* The name and version as used by the chart label */}} -{{- define "chart.name-version" -}} +{{- define "ack-rds-controller.chart.name-version" -}} {{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} {{- end -}} {{/* The name of the service account to use */}} -{{- define "service-account.name" -}} +{{- define "ack-rds-controller.service-account.name" -}} {{ default "default" .Values.serviceAccount.name }} {{- end -}} -{{- define "watch-namespace" -}} +{{- define "ack-rds-controller.watch-namespace" -}} {{- if eq .Values.installScope "namespace" -}} {{ .Values.watchNamespace | default .Release.Namespace }} {{- end -}} {{- end -}} {{/* The mount path for the shared credentials file */}} -{{- define "aws.credentials.secret_mount_path" -}} +{{- define "ack-rds-controller.aws.credentials.secret_mount_path" -}} {{- "/var/run/secrets/aws" -}} {{- end -}} {{/* The path the shared credentials file is mounted */}} -{{- define "aws.credentials.path" -}} +{{- define "ack-rds-controller.aws.credentials.path" -}} {{- printf "%s/%s" (include "aws.credentials.secret_mount_path" .) .Values.aws.credentials.secretKey -}} {{- end -}} {{/* The rules a of ClusterRole or Role */}} -{{- define "controller-role-rules" }} +{{- define "ack-rds-controller.rbac-rules" -}} rules: - apiGroups: - "" diff --git a/helm/templates/cluster-role-binding.yaml b/helm/templates/cluster-role-binding.yaml index 5620f9b..4a5ec75 100644 --- a/helm/templates/cluster-role-binding.yaml +++ b/helm/templates/cluster-role-binding.yaml @@ -2,20 +2,21 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: - name: {{ include "app.fullname" . }} + name: {{ include "ack-rds-controller.app.fullname" . }} roleRef: kind: ClusterRole apiGroup: rbac.authorization.k8s.io name: ack-rds-controller subjects: - kind: ServiceAccount - name: {{ include "service-account.name" . }} + name: {{ include "ack-rds-controller.service-account.name" . }} namespace: {{ .Release.Namespace }} -{{ else if .Values.watchNamespace }} -{{ $namespaces := split "," .Values.watchNamespace }} -{{ $fullname := include "app.fullname" . }} +{{ else if eq .Values.installScope "namespace" }} +{{ $wn := include "ack-rds-controller.watch-namespace" . }} +{{ $namespaces := split "," $wn }} +{{ $fullname := include "ack-rds-controller.app.fullname" . }} {{ $releaseNamespace := .Release.Namespace }} -{{ $serviceAccountName := include "service-account.name" . }} +{{ $serviceAccountName := include "ack-rds-controller.service-account.name" . }} {{ range $namespaces }} --- apiVersion: rbac.authorization.k8s.io/v1 diff --git a/helm/templates/cluster-role-controller.yaml b/helm/templates/cluster-role-controller.yaml index cd6c1c3..1dbf767 100644 --- a/helm/templates/cluster-role-controller.yaml +++ b/helm/templates/cluster-role-controller.yaml @@ -1,5 +1,5 @@ {{ $labels := .Values.role.labels }} -{{ $rules := include "controller-role-rules" . }} +{{ $rbacRules := include "ack-rds-controller.rbac-rules" . }} {{ if eq .Values.installScope "cluster" }} apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole @@ -9,9 +9,10 @@ metadata: {{- range $key, $value := $labels }} {{ $key }}: {{ $value | quote }} {{- end }} -{{- $rules }} -{{ else if .Values.watchNamespace }} -{{ $namespaces := split "," .Values.watchNamespace }} +{{$rbacRules }} +{{ else if eq .Values.installScope "namespace" }} +{{ $wn := include "ack-rds-controller.watch-namespace" . }} +{{ $namespaces := split "," $wn }} {{ range $namespaces }} --- apiVersion: rbac.authorization.k8s.io/v1 @@ -23,6 +24,6 @@ metadata: {{- range $key, $value := $labels }} {{ $key }}: {{ $value | quote }} {{- end }} -{{- $rules }} +{{ $rbacRules }} {{ end }} {{ end }} \ No newline at end of file diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index cea38ec..66d610d 100644 --- a/helm/templates/deployment.yaml +++ b/helm/templates/deployment.yaml @@ -1,20 +1,20 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: {{ include "app.fullname" . }} + name: {{ include "ack-rds-controller.app.fullname" . }} namespace: {{ .Release.Namespace }} labels: - app.kubernetes.io/name: {{ include "app.name" . }} + app.kubernetes.io/name: {{ include "ack-rds-controller.app.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/managed-by: Helm app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} - k8s-app: {{ include "app.name" . }} - helm.sh/chart: {{ include "chart.name-version" . }} + k8s-app: {{ include "ack-rds-controller.app.name" . }} + helm.sh/chart: {{ include "ack-rds-controller.chart.name-version" . }} spec: replicas: {{ .Values.deployment.replicas }} selector: matchLabels: - app.kubernetes.io/name: {{ include "app.name" . }} + app.kubernetes.io/name: {{ include "ack-rds-controller.app.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} template: metadata: @@ -25,15 +25,15 @@ spec: {{- end }} {{- end }} labels: - app.kubernetes.io/name: {{ include "app.name" . }} + app.kubernetes.io/name: {{ include "ack-rds-controller.app.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/managed-by: Helm - k8s-app: {{ include "app.name" . }} + k8s-app: {{ include "ack-rds-controller.app.name" . }} {{- range $key, $value := .Values.deployment.labels }} {{ $key }}: {{ $value | quote }} {{- end }} spec: - serviceAccountName: {{ include "service-account.name" . }} + serviceAccountName: {{ include "ack-rds-controller.service-account.name" . }} {{- if .Values.image.pullSecrets }} imagePullSecrets: {{- range .Values.image.pullSecrets }} @@ -90,7 +90,7 @@ spec: - name: AWS_ENDPOINT_URL value: {{ .Values.aws.endpoint_url | quote }} - name: ACK_WATCH_NAMESPACE - value: {{ include "watch-namespace" . }} + value: {{ include "ack-rds-controller.watch-namespace" . }} - name: DELETION_POLICY value: {{ .Values.deletionPolicy }} - name: LEADER_ELECTION_NAMESPACE @@ -109,7 +109,7 @@ spec: {{- end }} {{- if .Values.aws.credentials.secretName }} - name: AWS_SHARED_CREDENTIALS_FILE - value: {{ include "aws.credentials.path" . }} + value: {{ include "ack-rds-controller.aws.credentials.path" . }} - name: AWS_PROFILE value: {{ .Values.aws.credentials.profile }} {{- end }} @@ -119,7 +119,7 @@ spec: volumeMounts: {{- if .Values.aws.credentials.secretName }} - name: {{ .Values.aws.credentials.secretName }} - mountPath: {{ include "aws.credentials.secret_mount_path" . }} + mountPath: {{ include "ack-rds-controller.aws.credentials.secret_mount_path" . }} readOnly: true {{- end }} {{- if .Values.deployment.extraVolumeMounts -}} diff --git a/helm/templates/leader-election-role-binding.yaml b/helm/templates/leader-election-role-binding.yaml index 2f06c60..bb7d3f8 100644 --- a/helm/templates/leader-election-role-binding.yaml +++ b/helm/templates/leader-election-role-binding.yaml @@ -14,5 +14,5 @@ roleRef: name: rds-leader-election-role subjects: - kind: ServiceAccount - name: {{ include "service-account.name" . }} + name: {{ include "ack-rds-controller.service-account.name" . }} namespace: {{ .Release.Namespace }}{{- end }} diff --git a/helm/templates/metrics-service.yaml b/helm/templates/metrics-service.yaml index 638858a..243cafb 100644 --- a/helm/templates/metrics-service.yaml +++ b/helm/templates/metrics-service.yaml @@ -5,18 +5,18 @@ metadata: name: {{ .Chart.Name | trimSuffix "-chart" | trunc 44 }}-controller-metrics namespace: {{ .Release.Namespace }} labels: - app.kubernetes.io/name: {{ include "app.name" . }} + app.kubernetes.io/name: {{ include "ack-rds-controller.app.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/managed-by: Helm app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} - k8s-app: {{ include "app.name" . }} - helm.sh/chart: {{ include "chart.name-version" . }} + k8s-app: {{ include "ack-rds-controller.app.name" . }} + helm.sh/chart: {{ include "ack-rds-controller.chart.name-version" . }} spec: selector: - app.kubernetes.io/name: {{ include "app.name" . }} + app.kubernetes.io/name: {{ include "ack-rds-controller.app.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/managed-by: Helm - k8s-app: {{ include "app.name" . }} + k8s-app: {{ include "ack-rds-controller.app.name" . }} {{- range $key, $value := .Values.deployment.labels }} {{ $key }}: {{ $value | quote }} {{- end }} diff --git a/helm/templates/service-account.yaml b/helm/templates/service-account.yaml index 7330639..7df15af 100644 --- a/helm/templates/service-account.yaml +++ b/helm/templates/service-account.yaml @@ -3,13 +3,13 @@ apiVersion: v1 kind: ServiceAccount metadata: labels: - app.kubernetes.io/name: {{ include "app.name" . }} + app.kubernetes.io/name: {{ include "ack-rds-controller.app.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/managed-by: Helm app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} - k8s-app: {{ include "app.name" . }} - helm.sh/chart: {{ include "chart.name-version" . }} - name: {{ include "service-account.name" . }} + k8s-app: {{ include "ack-rds-controller.app.name" . }} + helm.sh/chart: {{ include "ack-rds-controller.chart.name-version" . }} + name: {{ include "ack-rds-controller.service-account.name" . }} namespace: {{ .Release.Namespace }} annotations: {{- range $key, $value := .Values.serviceAccount.annotations }} diff --git a/helm/values.yaml b/helm/values.yaml index f4f541f..06769c6 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -4,7 +4,7 @@ image: repository: public.ecr.aws/aws-controllers-k8s/rds-controller - tag: 1.1.10 + tag: 1.1.11 pullPolicy: IfNotPresent pullSecrets: []