@go-to-k/cdkd 0.100.0 → 0.100.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/README.md +5 -1
- package/dist/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/dist/{deploy-engine-YA_5LHEH.js → deploy-engine-H3Nughua.js} +91 -6
- package/dist/deploy-engine-H3Nughua.js.map +1 -0
- package/dist/go-to-k-cdkd-0.100.2.tgz +0 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/deploy-engine-YA_5LHEH.js.map +0 -1
- package/dist/go-to-k-cdkd-0.100.0.tgz +0 -0
|
@@ -5365,7 +5365,7 @@ var IntrinsicFunctionResolver = class {
|
|
|
5365
5365
|
async constructAttribute(resource, attributeName, _context) {
|
|
5366
5366
|
const { resourceType, physicalId } = resource;
|
|
5367
5367
|
const { region, accountId, partition } = await getAccountInfo(this.resolverRegion);
|
|
5368
|
-
if (resourceType === "AWS::DynamoDB::Table") switch (attributeName) {
|
|
5368
|
+
if (resourceType === "AWS::DynamoDB::Table" || resourceType === "AWS::DynamoDB::GlobalTable") switch (attributeName) {
|
|
5369
5369
|
case "Arn": return `arn:${partition}:dynamodb:${region}:${accountId}:table/${physicalId}`;
|
|
5370
5370
|
case "StreamArn": return;
|
|
5371
5371
|
default: return physicalId;
|
|
@@ -5417,6 +5417,95 @@ var IntrinsicFunctionResolver = class {
|
|
|
5417
5417
|
case "PolicyId": return;
|
|
5418
5418
|
default: return physicalId;
|
|
5419
5419
|
}
|
|
5420
|
+
if (resourceType === "AWS::IAM::User") switch (attributeName) {
|
|
5421
|
+
case "Arn": return `arn:${partition}:iam::${accountId}:user/${physicalId}`;
|
|
5422
|
+
default: return physicalId;
|
|
5423
|
+
}
|
|
5424
|
+
if (resourceType === "AWS::IAM::Group") switch (attributeName) {
|
|
5425
|
+
case "Arn": return `arn:${partition}:iam::${accountId}:group/${physicalId}`;
|
|
5426
|
+
default: return physicalId;
|
|
5427
|
+
}
|
|
5428
|
+
if (resourceType === "AWS::IAM::InstanceProfile") switch (attributeName) {
|
|
5429
|
+
case "Arn": return `arn:${partition}:iam::${accountId}:instance-profile/${physicalId}`;
|
|
5430
|
+
default: return physicalId;
|
|
5431
|
+
}
|
|
5432
|
+
if (resourceType === "AWS::KMS::Key") switch (attributeName) {
|
|
5433
|
+
case "Arn": return `arn:${partition}:kms:${region}:${accountId}:key/${physicalId}`;
|
|
5434
|
+
case "KeyId": return physicalId;
|
|
5435
|
+
default: return physicalId;
|
|
5436
|
+
}
|
|
5437
|
+
if (resourceType === "AWS::Cognito::UserPool") switch (attributeName) {
|
|
5438
|
+
case "Arn": return `arn:${partition}:cognito-idp:${region}:${accountId}:userpool/${physicalId}`;
|
|
5439
|
+
default: return physicalId;
|
|
5440
|
+
}
|
|
5441
|
+
if (resourceType === "AWS::Kinesis::Stream") switch (attributeName) {
|
|
5442
|
+
case "Arn": return `arn:${partition}:kinesis:${region}:${accountId}:stream/${physicalId}`;
|
|
5443
|
+
default: return physicalId;
|
|
5444
|
+
}
|
|
5445
|
+
if (resourceType === "AWS::Events::Rule") switch (attributeName) {
|
|
5446
|
+
case "Arn": {
|
|
5447
|
+
const busRaw = resource.properties?.["EventBusName"];
|
|
5448
|
+
const bus = typeof busRaw === "string" && busRaw && busRaw !== "default" ? busRaw : "";
|
|
5449
|
+
const busName = bus.startsWith("arn:") ? bus.split("/").pop() || "" : bus;
|
|
5450
|
+
return busName ? `arn:${partition}:events:${region}:${accountId}:rule/${busName}/${physicalId}` : `arn:${partition}:events:${region}:${accountId}:rule/${physicalId}`;
|
|
5451
|
+
}
|
|
5452
|
+
default: return physicalId;
|
|
5453
|
+
}
|
|
5454
|
+
if (resourceType === "AWS::Events::EventBus") switch (attributeName) {
|
|
5455
|
+
case "Arn": return `arn:${partition}:events:${region}:${accountId}:event-bus/${physicalId}`;
|
|
5456
|
+
case "Name": return physicalId;
|
|
5457
|
+
default: return physicalId;
|
|
5458
|
+
}
|
|
5459
|
+
if (resourceType === "AWS::EFS::FileSystem") switch (attributeName) {
|
|
5460
|
+
case "Arn": return `arn:${partition}:elasticfilesystem:${region}:${accountId}:file-system/${physicalId}`;
|
|
5461
|
+
case "FileSystemId": return physicalId;
|
|
5462
|
+
default: return physicalId;
|
|
5463
|
+
}
|
|
5464
|
+
if (resourceType === "AWS::KinesisFirehose::DeliveryStream") switch (attributeName) {
|
|
5465
|
+
case "Arn": return `arn:${partition}:firehose:${region}:${accountId}:deliverystream/${physicalId}`;
|
|
5466
|
+
default: return physicalId;
|
|
5467
|
+
}
|
|
5468
|
+
if (resourceType === "AWS::CodeBuild::Project") switch (attributeName) {
|
|
5469
|
+
case "Arn": return `arn:${partition}:codebuild:${region}:${accountId}:project/${physicalId}`;
|
|
5470
|
+
default: return physicalId;
|
|
5471
|
+
}
|
|
5472
|
+
if (resourceType === "AWS::CloudTrail::Trail") switch (attributeName) {
|
|
5473
|
+
case "Arn": return `arn:${partition}:cloudtrail:${region}:${accountId}:trail/${physicalId}`;
|
|
5474
|
+
default: return physicalId;
|
|
5475
|
+
}
|
|
5476
|
+
if (resourceType === "AWS::AppSync::GraphQLApi") switch (attributeName) {
|
|
5477
|
+
case "Arn": return `arn:${partition}:appsync:${region}:${accountId}:apis/${physicalId}`;
|
|
5478
|
+
case "ApiId": return physicalId;
|
|
5479
|
+
default: return physicalId;
|
|
5480
|
+
}
|
|
5481
|
+
if (resourceType === "AWS::ServiceDiscovery::PrivateDnsNamespace") switch (attributeName) {
|
|
5482
|
+
case "Arn": return `arn:${partition}:servicediscovery:${region}:${accountId}:namespace/${physicalId}`;
|
|
5483
|
+
case "Id": return physicalId;
|
|
5484
|
+
default: return physicalId;
|
|
5485
|
+
}
|
|
5486
|
+
if (resourceType === "AWS::ServiceDiscovery::Service") switch (attributeName) {
|
|
5487
|
+
case "Arn": return `arn:${partition}:servicediscovery:${region}:${accountId}:service/${physicalId}`;
|
|
5488
|
+
case "Id": return physicalId;
|
|
5489
|
+
default: return physicalId;
|
|
5490
|
+
}
|
|
5491
|
+
if (resourceType === "AWS::CloudWatch::Alarm") switch (attributeName) {
|
|
5492
|
+
case "Arn": return `arn:${partition}:cloudwatch:${region}:${accountId}:alarm:${physicalId}`;
|
|
5493
|
+
default: return physicalId;
|
|
5494
|
+
}
|
|
5495
|
+
if (resourceType === "AWS::RDS::DBInstance" || resourceType === "AWS::DocDB::DBInstance" || resourceType === "AWS::Neptune::DBInstance") switch (attributeName) {
|
|
5496
|
+
case "DBInstanceArn":
|
|
5497
|
+
case "Arn": return `arn:${partition}:rds:${region}:${accountId}:db:${physicalId}`;
|
|
5498
|
+
default: return physicalId;
|
|
5499
|
+
}
|
|
5500
|
+
if (resourceType === "AWS::RDS::DBCluster" || resourceType === "AWS::DocDB::DBCluster" || resourceType === "AWS::Neptune::DBCluster") switch (attributeName) {
|
|
5501
|
+
case "DBClusterArn":
|
|
5502
|
+
case "Arn": return `arn:${partition}:rds:${region}:${accountId}:cluster:${physicalId}`;
|
|
5503
|
+
default: return physicalId;
|
|
5504
|
+
}
|
|
5505
|
+
if (resourceType === "AWS::S3Express::DirectoryBucket") switch (attributeName) {
|
|
5506
|
+
case "Arn": return `arn:${partition}:s3express:${region}:${accountId}:bucket/${physicalId}`;
|
|
5507
|
+
default: return physicalId;
|
|
5508
|
+
}
|
|
5420
5509
|
if (resourceType === "AWS::Lambda::Function") switch (attributeName) {
|
|
5421
5510
|
case "Arn": return `arn:${partition}:lambda:${region}:${accountId}:function:${physicalId}`;
|
|
5422
5511
|
default: return physicalId;
|
|
@@ -5456,10 +5545,6 @@ var IntrinsicFunctionResolver = class {
|
|
|
5456
5545
|
case "VpcId": return;
|
|
5457
5546
|
default: return physicalId;
|
|
5458
5547
|
}
|
|
5459
|
-
if (resourceType === "AWS::EC2::VPC") switch (attributeName) {
|
|
5460
|
-
case "VpcId": return physicalId;
|
|
5461
|
-
default: return physicalId;
|
|
5462
|
-
}
|
|
5463
5548
|
if (resourceType === "AWS::EC2::Subnet") switch (attributeName) {
|
|
5464
5549
|
case "SubnetId": return physicalId;
|
|
5465
5550
|
default: return physicalId;
|
|
@@ -9423,4 +9508,4 @@ var DeployEngine = class {
|
|
|
9423
9508
|
|
|
9424
9509
|
//#endregion
|
|
9425
9510
|
export { formatError as $, resolveCaptureObservedState as A, ConfigError as B, stringifyValue as C, getDefaultStateBucketName as D, Synthesizer as E, AssemblyReader as F, ProvisioningError as G, LocalInvokeBuildError as H, clearBucketRegionCache as I, RouteDiscoveryError as J, ResourceTimeoutError as K, resolveBucketRegion as L, resolveStateBucketWithDefault as M, resolveStateBucketWithDefaultAndSource as N, getLegacyStateBucketName as O, warnDeprecatedNoPrefixCliFlag as P, SynthesisError as Q, AssetError as R, AssetPublisher as S, buildDockerImage as T, LockError as U, DependencyError as V, PartialFailureError as W, StackTerminationProtectionError as X, StackHasActiveImportsError as Y, StateError as Z, DiffCalculator as _, withRetry as a, setLogger as at, LockManager as b, collectInlinePolicyNamesManagedBySiblings as c, PATTERN_B_NAME_PROPERTIES as ct, normalizeAwsTagsToCfn as d, generateResourceNameWithFallback as dt, isCdkdError as et, resolveExplicitPhysicalId as f, withSkipPrefix as ft, IntrinsicFunctionResolver as g, assertRegionMatch as h, withResourceDeadline as i, getLogger as it, resolveSkipPrefix as j, resolveApp as k, CDK_PATH_TAG as l, PATTERN_B_RESOURCE_TYPES as lt, CloudControlProvider as m, DEFAULT_RESOURCE_WARN_AFTER_MS as n, withErrorHandling as nt, IMPLICIT_DELETE_DEPENDENCIES as o, runStackBuffered as ot, ProviderRegistry as p, withStackName as pt, ResourceUpdateNotSupportedError as q, DeployEngine as r, ConsoleLogger as rt, IAMRoleProvider as s, getLiveRenderer as st, DEFAULT_RESOURCE_TIMEOUT_MS as t, normalizeAwsError as tt, matchesCdkPath as u, generateResourceName as ut, DagBuilder as v, WorkGraph as w, S3StateBackend as x, TemplateParser as y, CdkdError as z };
|
|
9426
|
-
//# sourceMappingURL=deploy-engine-
|
|
9511
|
+
//# sourceMappingURL=deploy-engine-H3Nughua.js.map
|