cdk-real-drift 0.17.0 → 0.17.2

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
@@ -2672,7 +2672,6 @@ const KNOWN_DEFAULTS = {
2672
2672
  "AWS::Glue::Job": {
2673
2673
  JobMode: "SCRIPT",
2674
2674
  MaxRetries: 0,
2675
- Timeout: 2880,
2676
2675
  ExecutionProperty: { MaxConcurrentRuns: 1 }
2677
2676
  },
2678
2677
  "AWS::SES::EmailIdentity": {
@@ -2922,7 +2921,8 @@ const KNOWN_DEFAULTS = {
2922
2921
  };
2923
2922
  const KNOWN_DEFAULT_ONE_OF = {
2924
2923
  "AWS::ApiGatewayV2::Integration": { TimeoutInMillis: [29e3, 3e4] },
2925
- "AWS::SecurityHub::Hub": { ControlFindingGenerator: ["SECURITY_CONTROL", "STANDARD_CONTROL"] }
2924
+ "AWS::SecurityHub::Hub": { ControlFindingGenerator: ["SECURITY_CONTROL", "STANDARD_CONTROL"] },
2925
+ "AWS::Glue::Job": { Timeout: [2880, 480] }
2926
2926
  };
2927
2927
  const KNOWN_DEFAULT_ONE_OF_PATHS = {
2928
2928
  "AWS::EKS::Cluster": { "KubernetesNetworkConfig.ServiceIpv4Cidr": ["10.100.0.0/16", "172.20.0.0/16"] },
@@ -3039,6 +3039,7 @@ const KNOWN_DEFAULT_PATHS = {
3039
3039
  "ContainerDefinitions.*.Cpu": 0,
3040
3040
  "ContainerDefinitions.*.Essential": true
3041
3041
  },
3042
+ "AWS::Glue::Job": { "Command.PythonVersion": "2" },
3042
3043
  "AWS::Glue::Database": { "DatabaseInput.CreateTableDefaultPermissions": [{
3043
3044
  Permissions: ["ALL"],
3044
3045
  Principal: { DataLakePrincipalIdentifier: "IAM_ALLOWED_PRINCIPALS" }
@@ -3537,7 +3538,13 @@ const VALUE_INDEPENDENT_DEFAULT_TOPLEVEL_PATHS = {
3537
3538
  "AWS::RDS::GlobalCluster": new Set(["EngineLifecycleSupport"]),
3538
3539
  "AWS::EKS::Cluster": new Set(["Version"]),
3539
3540
  "AWS::EKS::Addon": new Set(["AddonVersion"]),
3540
- "AWS::Glue::Job": new Set(["MaxCapacity", "AllocatedCapacity"]),
3541
+ "AWS::Glue::Job": new Set([
3542
+ "MaxCapacity",
3543
+ "AllocatedCapacity",
3544
+ "GlueVersion",
3545
+ "WorkerType",
3546
+ "NumberOfWorkers"
3547
+ ]),
3541
3548
  "AWS::EC2::SecurityGroupIngress": new Set(["SourceSecurityGroupName"]),
3542
3549
  "AWS::EC2::SecurityGroupEgress": new Set(["DestinationSecurityGroupName"]),
3543
3550
  "AWS::DocDB::DBCluster": new Set([
@@ -16939,7 +16946,7 @@ const writeGlueJob = async (ctx, ops) => {
16939
16946
  for (const k of GLUE_JOB_UPDATE_FIELDS) if (m[k] !== void 0) update[k] = m[k];
16940
16947
  if (m.WorkerType === void 0) {
16941
16948
  if (m.MaxCapacity !== void 0) update.MaxCapacity = m.MaxCapacity;
16942
- if (m.AllocatedCapacity !== void 0) update.AllocatedCapacity = m.AllocatedCapacity;
16949
+ else if (m.AllocatedCapacity !== void 0) update.AllocatedCapacity = m.AllocatedCapacity;
16943
16950
  }
16944
16951
  await c.send(new UpdateJobCommand({
16945
16952
  JobName: name,
@@ -18543,13 +18550,18 @@ const REVERT_SET_DEFAULT_PATHS = new Set([
18543
18550
  "AWS::ElastiCache::ReplicationGroup\0AutoMinorVersionUpgrade",
18544
18551
  "AWS::MemoryDB::Cluster\0AutoMinorVersionUpgrade",
18545
18552
  "AWS::Redshift::Cluster\0AllowVersionUpgrade",
18546
- "AWS::DAX::ParameterGroup\0ParameterNameValues"
18553
+ "AWS::DAX::ParameterGroup\0ParameterNameValues",
18554
+ "AWS::ApiGatewayV2::IntegrationResponse\0TemplateSelectionExpression",
18555
+ "AWS::ApiGatewayV2::RouteResponse\0ModelSelectionExpression",
18556
+ "AWS::Kinesis::Stream\0RetentionPeriodHours"
18547
18557
  ]);
18548
18558
  const REVERT_SET_DEFAULT_VALUES = {
18549
18559
  "AWS::EC2::Subnet\0EnableDns64": false,
18550
18560
  "AWS::EC2::ClientVpnEndpoint\0SplitTunnel": false,
18551
18561
  "AWS::DocDB::DBCluster\0DeletionProtection": false,
18552
- "AWS::EKS::Cluster\0ResourcesVpcConfig.EndpointPrivateAccess": false
18562
+ "AWS::EKS::Cluster\0ResourcesVpcConfig.EndpointPrivateAccess": false,
18563
+ "AWS::ApiGatewayV2::IntegrationResponse\0TemplateSelectionExpression": "",
18564
+ "AWS::ApiGatewayV2::RouteResponse\0ModelSelectionExpression": ""
18553
18565
  };
18554
18566
  /**
18555
18567
  * A nested undeclared value (a live sub-key inside a declared object, R96/R98) — a dotted