cdk-real-drift 0.13.10 → 0.13.11

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 CHANGED
@@ -2616,7 +2616,14 @@ const KNOWN_DEFAULTS = {
2616
2616
  TransportProtocol: "udp",
2617
2617
  SessionTimeoutHours: 24
2618
2618
  },
2619
- "AWS::DAX::Cluster": { ClusterEndpointEncryptionType: "NONE" },
2619
+ "AWS::DAX::Cluster": {
2620
+ ClusterEndpointEncryptionType: "NONE",
2621
+ ParameterGroupName: "default.dax1.0"
2622
+ },
2623
+ "AWS::DAX::ParameterGroup": { ParameterNameValues: {
2624
+ "query-ttl-millis": "300000",
2625
+ "record-ttl-millis": "300000"
2626
+ } },
2620
2627
  "AWS::APS::Workspace": { WorkspaceConfiguration: {
2621
2628
  RuleQueryOffsetInSeconds: 60,
2622
2629
  RetentionPeriodInDays: 150,
@@ -2809,7 +2816,32 @@ const KNOWN_DEFAULTS = {
2809
2816
  MaximumResolution: "FULL_HD",
2810
2817
  Policy: "ALLOW"
2811
2818
  } },
2812
- "AWS::Lightsail::Instance": { KeyPairName: "LightsailDefaultKeyPair" },
2819
+ "AWS::Lightsail::Instance": {
2820
+ KeyPairName: "LightsailDefaultKeyPair",
2821
+ Networking: { Ports: [{
2822
+ FromPort: 22,
2823
+ ToPort: 22,
2824
+ Protocol: "tcp",
2825
+ AccessDirection: "inbound",
2826
+ AccessType: "public",
2827
+ AccessFrom: "Anywhere (0.0.0.0/0 and ::/0)",
2828
+ Cidrs: ["0.0.0.0/0"],
2829
+ Ipv6Cidrs: ["::/0"],
2830
+ CidrListAliases: [],
2831
+ CommonName: ""
2832
+ }, {
2833
+ FromPort: 80,
2834
+ ToPort: 80,
2835
+ Protocol: "tcp",
2836
+ AccessDirection: "inbound",
2837
+ AccessType: "public",
2838
+ AccessFrom: "Anywhere (0.0.0.0/0 and ::/0)",
2839
+ Cidrs: ["0.0.0.0/0"],
2840
+ Ipv6Cidrs: ["::/0"],
2841
+ CidrListAliases: [],
2842
+ CommonName: ""
2843
+ }] }
2844
+ },
2813
2845
  "AWS::Lightsail::Disk": { AddOns: [{
2814
2846
  AddOnType: "AutoSnapshot",
2815
2847
  Status: "Disabled"
@@ -3432,6 +3464,8 @@ const VALUE_INDEPENDENT_DEFAULT_TOPLEVEL_PATHS = {
3432
3464
  "AWS::AutoScaling::AutoScalingGroup": new Set(["AvailabilityZones", "AvailabilityZoneIds"]),
3433
3465
  "AWS::ApiGateway::Authorizer": new Set(["AuthType"]),
3434
3466
  "AWS::DMS::Endpoint": new Set(["KmsKeyId"]),
3467
+ "AWS::DAX::Cluster": new Set(["PreferredMaintenanceWindow"]),
3468
+ "AWS::Lightsail::Instance": new Set(["AvailabilityZone"]),
3435
3469
  "AWS::RDS::DBCluster": new Set([
3436
3470
  "KmsKeyId",
3437
3471
  "EngineVersion",
@@ -3750,6 +3784,13 @@ const CASE_INSENSITIVE_PATHS = {
3750
3784
  "AWS::Neptune::DBCluster": new Set(["DBClusterIdentifier"]),
3751
3785
  "AWS::Neptune::DBInstance": new Set(["DBInstanceIdentifier"]),
3752
3786
  "AWS::Neptune::DBSubnetGroup": new Set(["DBSubnetGroupName"]),
3787
+ "AWS::RDS::DBParameterGroup": new Set(["DBParameterGroupName"]),
3788
+ "AWS::RDS::DBClusterParameterGroup": new Set(["DBClusterParameterGroupName"]),
3789
+ "AWS::RDS::OptionGroup": new Set(["OptionGroupName"]),
3790
+ "AWS::RDS::DBSubnetGroup": new Set(["DBSubnetGroupName"]),
3791
+ "AWS::Neptune::DBParameterGroup": new Set(["Name"]),
3792
+ "AWS::Neptune::DBClusterParameterGroup": new Set(["Name"]),
3793
+ "AWS::DocDB::DBClusterParameterGroup": new Set(["Name"]),
3753
3794
  "AWS::DMS::ReplicationInstance": new Set(["ReplicationInstanceIdentifier"]),
3754
3795
  "AWS::DMS::ReplicationSubnetGroup": new Set(["ReplicationSubnetGroupIdentifier"]),
3755
3796
  "AWS::DMS::Endpoint": new Set(["EndpointType", "EndpointIdentifier"]),
@@ -5621,7 +5662,10 @@ const MEANINGFUL_WHEN_OFF = {
5621
5662
  "AWS::Neptune::DBInstance": { AutoMinorVersionUpgrade: () => true },
5622
5663
  "AWS::ElastiCache::CacheCluster": { AutoMinorVersionUpgrade: notRestored("SnapshotName", "SnapshotArns") },
5623
5664
  "AWS::ElastiCache::ReplicationGroup": { AutoMinorVersionUpgrade: notRestored("SnapshotName", "SnapshotArns") },
5624
- "AWS::Redshift::Cluster": { AllowVersionUpgrade: notRestored("SnapshotIdentifier") }
5665
+ "AWS::Redshift::Cluster": { AllowVersionUpgrade: notRestored("SnapshotIdentifier") },
5666
+ "AWS::EC2::ClientVpnEndpoint": { DisconnectOnSessionTimeout: () => true },
5667
+ "AWS::ImageBuilder::ImagePipeline": { EnhancedImageMetadataEnabled: () => true },
5668
+ "AWS::ImageBuilder::InfrastructureConfiguration": { TerminateInstanceOnFailure: () => true }
5625
5669
  };
5626
5670
  const MEANINGFUL_WHEN_OFF_NESTED = {
5627
5671
  "AWS::CloudFront::Distribution": { "DistributionConfig.IPV6Enabled": () => true },
@@ -5629,7 +5673,11 @@ const MEANINGFUL_WHEN_OFF_NESTED = {
5629
5673
  "WorkGroupConfiguration.EnforceWorkGroupConfiguration": () => true,
5630
5674
  "WorkGroupConfiguration.PublishCloudWatchMetricsEnabled": () => true
5631
5675
  },
5632
- "AWS::EKS::Cluster": { "ResourcesVpcConfig.EndpointPublicAccess": () => true }
5676
+ "AWS::EKS::Cluster": { "ResourcesVpcConfig.EndpointPublicAccess": () => true },
5677
+ "AWS::ECS::Service": { "DeploymentConfiguration.DeploymentCircuitBreaker.ResetOnHealthyTask": ({ declared, live }) => {
5678
+ const enabled = (v) => typeof v === "object" && v !== null && v["DeploymentCircuitBreaker"]?.["Enable"] === true;
5679
+ return enabled(declared["DeploymentConfiguration"]) || enabled(live["DeploymentConfiguration"]);
5680
+ } }
5633
5681
  };
5634
5682
  const GUARDDUTY_FEATURE_CREATION_STATUS = {
5635
5683
  AI_ANALYST: ["DISABLED"],
@@ -5664,7 +5712,8 @@ const DEFAULT_SG_LIST_PATHS = {
5664
5712
  "AWS::Redshift::Cluster": "VpcSecurityGroupIds",
5665
5713
  "AWS::AmazonMQ::Broker": "SecurityGroups",
5666
5714
  "AWS::RedshiftServerless::Workgroup": "SecurityGroupIds",
5667
- "AWS::EC2::Instance": "SecurityGroupIds"
5715
+ "AWS::EC2::Instance": "SecurityGroupIds",
5716
+ "AWS::DAX::Cluster": "SecurityGroupIds"
5668
5717
  };
5669
5718
  /** #1269 fold decision for an UNDECLARED default-SUBNET list (RedshiftServerless Workgroup
5670
5719
  * SubnetIds). Unlike the SG gate (which folds only a SINGLE default SG), a workgroup placed into
@@ -13213,7 +13262,8 @@ const DEFAULT_SG_LIST_TYPES = new Set([
13213
13262
  "AWS::RDS::DBCluster",
13214
13263
  "AWS::RDS::DBInstance",
13215
13264
  "AWS::DocDB::DBCluster",
13216
- "AWS::EC2::Instance"
13265
+ "AWS::EC2::Instance",
13266
+ "AWS::DAX::Cluster"
13217
13267
  ]);
13218
13268
  const DEFAULT_SUBNET_LIST_TYPES = new Set(["AWS::RedshiftServerless::Workgroup"]);
13219
13269
  const defaultSgIdsCache = /* @__PURE__ */ new Map();
@@ -17763,7 +17813,8 @@ const REVERT_SET_DEFAULT_PATHS = new Set([
17763
17813
  "AWS::ElastiCache::CacheCluster\0AutoMinorVersionUpgrade",
17764
17814
  "AWS::ElastiCache::ReplicationGroup\0AutoMinorVersionUpgrade",
17765
17815
  "AWS::MemoryDB::Cluster\0AutoMinorVersionUpgrade",
17766
- "AWS::Redshift::Cluster\0AllowVersionUpgrade"
17816
+ "AWS::Redshift::Cluster\0AllowVersionUpgrade",
17817
+ "AWS::DAX::ParameterGroup\0ParameterNameValues"
17767
17818
  ]);
17768
17819
  const REVERT_SET_DEFAULT_VALUES = {
17769
17820
  "AWS::EC2::Subnet\0EnableDns64": false,