From 098a5b26f159a94b0f72bf2e736cbfb35d38d879 Mon Sep 17 00:00:00 2001 From: Ian Hou <45278651+iankhou@users.noreply.github.com> Date: Thu, 16 Jan 2025 14:24:31 -0500 Subject: [PATCH] fix import order --- packages/aws-cdk-lib/aws-rds/lib/cluster.ts | 2 +- .../aws-cdk-lib/aws-rds/lib/validate-database-cluster-props.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/aws-cdk-lib/aws-rds/lib/cluster.ts b/packages/aws-cdk-lib/aws-rds/lib/cluster.ts index c2e77775d591a..6ffba6167ce39 100644 --- a/packages/aws-cdk-lib/aws-rds/lib/cluster.ts +++ b/packages/aws-cdk-lib/aws-rds/lib/cluster.ts @@ -7,11 +7,11 @@ import { NetworkType } from './instance'; import { IParameterGroup, ParameterGroup } from './parameter-group'; import { DATA_API_ACTIONS } from './perms'; import { applyDefaultRotationOptions, defaultDeletionProtection, renderCredentials, setupS3ImportExport, helperRemovalPolicy, renderUnless, renderSnapshotCredentials } from './private/util'; -import { validateDatabaseClusterProps } from './validate-database-cluster-props'; import { BackupProps, Credentials, InstanceProps, PerformanceInsightRetention, RotationSingleUserOptions, RotationMultiUserOptions, SnapshotCredentials } from './props'; import { DatabaseProxy, DatabaseProxyOptions, ProxyTarget } from './proxy'; import { CfnDBCluster, CfnDBClusterProps, CfnDBInstance } from './rds.generated'; import { ISubnetGroup, SubnetGroup } from './subnet-group'; +import { validateDatabaseClusterProps } from './validate-database-cluster-props'; import * as cloudwatch from '../../aws-cloudwatch'; import * as ec2 from '../../aws-ec2'; import * as iam from '../../aws-iam'; diff --git a/packages/aws-cdk-lib/aws-rds/lib/validate-database-cluster-props.ts b/packages/aws-cdk-lib/aws-rds/lib/validate-database-cluster-props.ts index 56637fec67268..56f8387bbbf06 100644 --- a/packages/aws-cdk-lib/aws-rds/lib/validate-database-cluster-props.ts +++ b/packages/aws-cdk-lib/aws-rds/lib/validate-database-cluster-props.ts @@ -1,6 +1,6 @@ +import { ClusterScailabilityType, DatabaseCluster, DatabaseClusterProps, DBClusterStorageType } from './cluster'; import { PerformanceInsightRetention } from './props'; import { validateProps, ValidationRule } from '../../core/lib/helpers-internal'; -import { ClusterScailabilityType, DatabaseCluster, DatabaseClusterProps, DBClusterStorageType } from './cluster'; const standardDatabaseRules: ValidationRule[] = [ {