cdk-real-drift 0.13.3 → 0.13.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +16 -4
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -5573,6 +5573,7 @@ const ELB_ATTRIBUTE_BAGS = {
|
|
|
5573
5573
|
"AWS::ElasticLoadBalancingV2::TargetGroup": "TargetGroupAttributes",
|
|
5574
5574
|
"AWS::ElasticLoadBalancingV2::Listener": "ListenerAttributes"
|
|
5575
5575
|
};
|
|
5576
|
+
const notRestored = (...restoreSourceKeys) => ({ declared }) => restoreSourceKeys.every((k) => declared[k] === void 0);
|
|
5576
5577
|
const MEANINGFUL_WHEN_OFF = {
|
|
5577
5578
|
"AWS::KMS::Key": { Enabled: () => true },
|
|
5578
5579
|
"AWS::SQS::Queue": { SqsManagedSseEnabled: ({ declared, live }) => declared["KmsMasterKeyId"] === void 0 && live["KmsMasterKeyId"] === void 0 },
|
|
@@ -5585,8 +5586,17 @@ const MEANINGFUL_WHEN_OFF = {
|
|
|
5585
5586
|
"AWS::GuardDuty::Detector": { DataSources: () => true },
|
|
5586
5587
|
"AWS::Lambda::EventSourceMapping": { Enabled: () => true },
|
|
5587
5588
|
"AWS::ElasticLoadBalancingV2::TargetGroup": { HealthCheckEnabled: ({ declared }) => declared["TargetType"] !== "lambda" },
|
|
5588
|
-
"AWS::MemoryDB::Cluster": {
|
|
5589
|
-
|
|
5589
|
+
"AWS::MemoryDB::Cluster": {
|
|
5590
|
+
TLSEnabled: () => true,
|
|
5591
|
+
AutoMinorVersionUpgrade: notRestored("SnapshotName", "SnapshotArns")
|
|
5592
|
+
},
|
|
5593
|
+
"AWS::Redshift::ScheduledAction": { Enable: () => true },
|
|
5594
|
+
"AWS::RDS::DBInstance": { AutoMinorVersionUpgrade: notRestored("DBSnapshotIdentifier") },
|
|
5595
|
+
"AWS::RDS::DBCluster": { AutoMinorVersionUpgrade: notRestored("SnapshotIdentifier", "SourceDBClusterIdentifier") },
|
|
5596
|
+
"AWS::Neptune::DBInstance": { AutoMinorVersionUpgrade: () => true },
|
|
5597
|
+
"AWS::ElastiCache::CacheCluster": { AutoMinorVersionUpgrade: notRestored("SnapshotName", "SnapshotArns") },
|
|
5598
|
+
"AWS::ElastiCache::ReplicationGroup": { AutoMinorVersionUpgrade: notRestored("SnapshotName", "SnapshotArns") },
|
|
5599
|
+
"AWS::Redshift::Cluster": { AllowVersionUpgrade: notRestored("SnapshotIdentifier") }
|
|
5590
5600
|
};
|
|
5591
5601
|
const MEANINGFUL_WHEN_OFF_NESTED = {
|
|
5592
5602
|
"AWS::CloudFront::Distribution": { "DistributionConfig.IPV6Enabled": () => true },
|
|
@@ -17692,12 +17702,14 @@ const REVERT_SET_DEFAULT_PATHS = new Set([
|
|
|
17692
17702
|
"AWS::OpenSearchService::Domain\0SnapshotOptions",
|
|
17693
17703
|
"AWS::OpenSearchService::Domain\0AdvancedOptions",
|
|
17694
17704
|
"AWS::OpenSearchService::Domain\0IPAddressType",
|
|
17695
|
-
"AWS::OpenSearchService::Domain\0DeploymentStrategyOptions"
|
|
17705
|
+
"AWS::OpenSearchService::Domain\0DeploymentStrategyOptions",
|
|
17706
|
+
"AWS::EKS::Cluster\0ResourcesVpcConfig.EndpointPrivateAccess"
|
|
17696
17707
|
]);
|
|
17697
17708
|
const REVERT_SET_DEFAULT_VALUES = {
|
|
17698
17709
|
"AWS::EC2::Subnet\0EnableDns64": false,
|
|
17699
17710
|
"AWS::EC2::ClientVpnEndpoint\0SplitTunnel": false,
|
|
17700
|
-
"AWS::DocDB::DBCluster\0DeletionProtection": false
|
|
17711
|
+
"AWS::DocDB::DBCluster\0DeletionProtection": false,
|
|
17712
|
+
"AWS::EKS::Cluster\0ResourcesVpcConfig.EndpointPrivateAccess": false
|
|
17701
17713
|
};
|
|
17702
17714
|
/**
|
|
17703
17715
|
* A nested undeclared value (a live sub-key inside a declared object, R96/R98) — a dotted
|