cdk-real-drift 0.1.2 → 0.1.4

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
@@ -1434,7 +1434,19 @@ const KNOWN_DEFAULTS = {
1434
1434
  KmsKeyId: "AWS_OWNED_KMS_KEY",
1435
1435
  NumberOfNodes: 1
1436
1436
  },
1437
- "AWS::EC2::VPCEndpoint": { IpAddressType: "ipv4" },
1437
+ "AWS::EC2::VPCEndpoint": {
1438
+ IpAddressType: "ipv4",
1439
+ PolicyDocument: {
1440
+ Version: "2008-10-17",
1441
+ Statement: [{
1442
+ Effect: "Allow",
1443
+ Principal: "*",
1444
+ Action: ["*"],
1445
+ Resource: ["*"]
1446
+ }]
1447
+ }
1448
+ },
1449
+ "AWS::EC2::EIP": { PublicIpv4Pool: "amazon" },
1438
1450
  "AWS::EC2::TransitGateway": { SecurityGroupReferencingSupport: "disable" },
1439
1451
  "AWS::EC2::FlowLog": { MaxAggregationInterval: 600 },
1440
1452
  "AWS::EC2::PlacementGroup": { SpreadLevel: "rack" },
@@ -1470,7 +1482,12 @@ const KNOWN_DEFAULTS = {
1470
1482
  HealthCheckGracePeriod: 0
1471
1483
  },
1472
1484
  "AWS::AutoScaling::WarmPool": { MinSize: 0 },
1473
- "AWS::DocDB::DBCluster": { Port: 27017 },
1485
+ "AWS::DocDB::DBCluster": {
1486
+ Port: 27017,
1487
+ BackupRetentionPeriod: 1
1488
+ },
1489
+ "AWS::DocDB::DBInstance": { CACertificateIdentifier: "rds-ca-rsa2048-g1" },
1490
+ "AWS::EC2::VolumeAttachment": { EbsCardIndex: 0 },
1474
1491
  "AWS::SSM::Association": { DocumentVersion: "$DEFAULT" },
1475
1492
  "AWS::CloudWatch::Alarm": { TreatMissingData: "missing" },
1476
1493
  "AWS::CloudWatch::CompositeAlarm": { ActionsEnabled: true },
@@ -1904,7 +1921,7 @@ const VALUE_INDEPENDENT_DEFAULT_TOPLEVEL_PATHS = {
1904
1921
  "AWS::DocDB::DBCluster": new Set(["PreferredMaintenanceWindow", "PreferredBackupWindow"]),
1905
1922
  "AWS::DocDB::DBInstance": new Set(["PreferredMaintenanceWindow"]),
1906
1923
  "AWS::Neptune::DBCluster": new Set(["PreferredMaintenanceWindow", "PreferredBackupWindow"]),
1907
- "AWS::Neptune::DBInstance": new Set(["PreferredMaintenanceWindow"]),
1924
+ "AWS::Neptune::DBInstance": new Set(["PreferredMaintenanceWindow", "AvailabilityZone"]),
1908
1925
  "AWS::ElastiCache::CacheCluster": new Set(["PreferredMaintenanceWindow", "SnapshotWindow"]),
1909
1926
  "AWS::ElastiCache::ReplicationGroup": new Set(["PreferredMaintenanceWindow", "SnapshotWindow"]),
1910
1927
  "AWS::ElastiCache::ServerlessCache": new Set(["DailySnapshotTime"]),
@@ -1915,7 +1932,14 @@ const VALUE_INDEPENDENT_DEFAULT_TOPLEVEL_PATHS = {
1915
1932
  "ClusterVersion"
1916
1933
  ]),
1917
1934
  "AWS::OpenSearchService::Domain": new Set(["OffPeakWindowOptions"]),
1918
- "AWS::AmazonMQ::Broker": new Set(["MaintenanceWindowStartTime"])
1935
+ "AWS::AmazonMQ::Broker": new Set(["MaintenanceWindowStartTime"]),
1936
+ "AWS::EC2::Instance": new Set(["PrivateIpAddress"]),
1937
+ "AWS::EC2::NetworkInterface": new Set(["PrivateIpAddress"]),
1938
+ "AWS::EC2::NatGateway": new Set(["PrivateIpAddress", "VpcId"]),
1939
+ "AWS::EFS::MountTarget": new Set(["IpAddress"]),
1940
+ "AWS::EC2::EIP": new Set(["NetworkBorderGroup"]),
1941
+ "AWS::EC2::VPCEndpoint": new Set(["ServiceRegion", "DnsOptions"]),
1942
+ "AWS::EC2::VPCPeeringConnection": new Set(["PeerRegion"])
1919
1943
  };
1920
1944
  function isPhysicalIdSegment(value, physicalId) {
1921
1945
  if (typeof value !== "string" || physicalId === void 0) return false;