@kensio/yulin 1.19.1 → 1.19.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/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.d.ts +2 -2
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.d.ts.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.js.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.d.ts +3 -3
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.d.ts.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.js.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.d.ts +5 -4
- package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.d.ts.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.js.map +1 -1
- package/dist/service/cloudformation/index.d.ts +7 -0
- package/dist/service/cloudformation/index.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-deployed-resource.type.d.ts +59 -0
- package/dist/service/cloudformation/resource/sim-cfn-deployed-resource.type.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/sim-cfn-deployed-resource.type.js +2 -0
- package/dist/service/cloudformation/resource/sim-cfn-deployed-resource.type.js.map +1 -0
- package/dist/service/cloudformation/sim-cloudformation.d.ts +8 -9
- package/dist/service/cloudformation/sim-cloudformation.d.ts.map +1 -1
- package/dist/service/cloudformation/sim-cloudformation.js +1 -3
- package/dist/service/cloudformation/sim-cloudformation.js.map +1 -1
- package/dist/service/cloudformation/stack/sim-cfn-deployed-stack.type.d.ts +68 -0
- package/dist/service/cloudformation/stack/sim-cfn-deployed-stack.type.d.ts.map +1 -0
- package/dist/service/cloudformation/stack/sim-cfn-deployed-stack.type.js +2 -0
- package/dist/service/cloudformation/stack/sim-cfn-deployed-stack.type.js.map +1 -0
- package/dist/service/cloudformation/stack/sim-cfn-stack.d.ts +2 -1
- package/dist/service/cloudformation/stack/sim-cfn-stack.d.ts.map +1 -1
- package/dist/service/cloudformation/stack/sim-cfn-stack.fixture.d.ts +21 -0
- package/dist/service/cloudformation/stack/sim-cfn-stack.fixture.d.ts.map +1 -0
- package/dist/service/cloudformation/stack/sim-cfn-stack.fixture.js +21 -0
- package/dist/service/cloudformation/stack/sim-cfn-stack.fixture.js.map +1 -0
- package/dist/service/cloudformation/stack/sim-cfn-stack.js.map +1 -1
- package/dist/service/cloudformation/terraform/sim-tf-attribute-reads.d.ts +12 -0
- package/dist/service/cloudformation/terraform/sim-tf-attribute-reads.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-attribute-reads.js +60 -0
- package/dist/service/cloudformation/terraform/sim-tf-attribute-reads.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-attributes.d.ts +60 -0
- package/dist/service/cloudformation/terraform/sim-tf-attributes.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-attributes.js +121 -0
- package/dist/service/cloudformation/terraform/sim-tf-attributes.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-config.d.ts +14 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-config.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-config.js +36 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-config.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-dynamodb.d.ts +15 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-dynamodb.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-dynamodb.js +74 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-dynamodb.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-http-api-route.d.ts +5 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-http-api-route.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-http-api-route.js +32 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-http-api-route.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-http-api.d.ts +12 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-http-api.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-http-api.js +52 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-http-api.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-iam.d.ts +9 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-iam.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-iam.js +80 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-iam.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-lambda.d.ts +19 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-lambda.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-lambda.js +90 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-lambda.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-cors.d.ts +5 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-cors.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-cors.js +12 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-cors.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-encryption.d.ts +5 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-encryption.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-encryption.js +32 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-encryption.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-folds.d.ts +9 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-folds.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-folds.js +48 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-folds.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-s3.d.ts +5 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-s3.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-s3.js +18 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-s3.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-sns.d.ts +15 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-sns.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-sns.js +40 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-sns.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-sqs.d.ts +5 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-sqs.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-sqs.js +56 -0
- package/dist/service/cloudformation/terraform/sim-tf-map-sqs.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-mapping.type.d.ts +41 -0
- package/dist/service/cloudformation/terraform/sim-tf-mapping.type.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-mapping.type.js +2 -0
- package/dist/service/cloudformation/terraform/sim-tf-mapping.type.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-module-outputs.d.ts +19 -0
- package/dist/service/cloudformation/terraform/sim-tf-module-outputs.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-module-outputs.js +63 -0
- package/dist/service/cloudformation/terraform/sim-tf-module-outputs.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-plan-index.d.ts +26 -0
- package/dist/service/cloudformation/terraform/sim-tf-plan-index.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-plan-index.js +45 -0
- package/dist/service/cloudformation/terraform/sim-tf-plan-index.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-plan-resources.d.ts +39 -0
- package/dist/service/cloudformation/terraform/sim-tf-plan-resources.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-plan-resources.js +44 -0
- package/dist/service/cloudformation/terraform/sim-tf-plan-resources.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-plan.type.d.ts +94 -0
- package/dist/service/cloudformation/terraform/sim-tf-plan.type.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-plan.type.js +2 -0
- package/dist/service/cloudformation/terraform/sim-tf-plan.type.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-reference-address.d.ts +27 -0
- package/dist/service/cloudformation/terraform/sim-tf-reference-address.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-reference-address.js +58 -0
- package/dist/service/cloudformation/terraform/sim-tf-reference-address.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-reference.d.ts +64 -0
- package/dist/service/cloudformation/terraform/sim-tf-reference.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-reference.js +122 -0
- package/dist/service/cloudformation/terraform/sim-tf-reference.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-registry.d.ts +14 -0
- package/dist/service/cloudformation/terraform/sim-tf-registry.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-registry.js +40 -0
- package/dist/service/cloudformation/terraform/sim-tf-registry.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-report.type.d.ts +31 -0
- package/dist/service/cloudformation/terraform/sim-tf-report.type.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-report.type.js +2 -0
- package/dist/service/cloudformation/terraform/sim-tf-report.type.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-folds.d.ts +20 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-folds.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-folds.js +28 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-folds.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-graph.d.ts +29 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-graph.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-graph.js +71 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-graph.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-mappings.d.ts +23 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-mappings.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-mappings.js +72 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-mappings.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-merge.d.ts +21 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-merge.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-merge.js +33 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-merge.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-prune.d.ts +21 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-prune.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-prune.js +51 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-prune.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-pruned.d.ts +18 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-pruned.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-pruned.js +23 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-pruned.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-references.d.ts +10 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-references.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-references.js +39 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-references.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-resolver.d.ts +12 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-resolver.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-resolver.js +17 -0
- package/dist/service/cloudformation/terraform/sim-tf-template-resolver.js.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-template.d.ts +26 -0
- package/dist/service/cloudformation/terraform/sim-tf-template.d.ts.map +1 -0
- package/dist/service/cloudformation/terraform/sim-tf-template.js +54 -0
- package/dist/service/cloudformation/terraform/sim-tf-template.js.map +1 -0
- package/dist/service/elbv2/cfn/sim-cfn-elbv2.fixture.d.ts +2 -2
- package/dist/service/elbv2/cfn/sim-cfn-elbv2.fixture.d.ts.map +1 -1
- package/dist/service/elbv2/cfn/sim-cfn-elbv2.fixture.js.map +1 -1
- package/dist/util/filesystem/test-terraform-project.d.ts +56 -0
- package/dist/util/filesystem/test-terraform-project.d.ts.map +1 -0
- package/dist/util/filesystem/test-terraform-project.js +83 -0
- package/dist/util/filesystem/test-terraform-project.js.map +1 -0
- package/package.json +3 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SimAws } from "../../aws/sim-aws.js";
|
|
2
2
|
import type { SimAwsAccountRegionScope } from "../../aws/sim-aws-account-region-scope.js";
|
|
3
|
-
import type {
|
|
3
|
+
import type { SimCfnDeployedStack } from "../stack/sim-cfn-deployed-stack.type.js";
|
|
4
4
|
import { type SimCloudFormationDeployCdkOutProperties } from "./sim-cfn-cdk-out-plan.js";
|
|
5
5
|
export type { SimCfnCdkOutStackOptions, SimCfnCdkOutTemplateTransform, } from "./sim-cfn-cdk-out-stack-options.js";
|
|
6
6
|
export type { SimCloudFormationDeployCdkOutProperties } from "./sim-cfn-cdk-out-plan.js";
|
|
@@ -18,7 +18,7 @@ interface SimCfnCdkOutDeployerProperties {
|
|
|
18
18
|
export declare class SimCfnCdkOutDeployer {
|
|
19
19
|
private readonly scope;
|
|
20
20
|
constructor(scope: SimCfnCdkOutDeployerProperties);
|
|
21
|
-
deploy(request: SimCloudFormationDeployCdkOutProperties | string): Promise<ReadonlyMap<string,
|
|
21
|
+
deploy(request: SimCloudFormationDeployCdkOutProperties | string): Promise<ReadonlyMap<string, SimCfnDeployedStack>>;
|
|
22
22
|
private deployStack;
|
|
23
23
|
}
|
|
24
24
|
//# sourceMappingURL=sim-cfn-cdk-out-deployer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cfn-cdk-out-deployer.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"sim-cfn-cdk-out-deployer.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAKnF,OAAO,EAIL,KAAK,uCAAuC,EAC7C,MAAM,2BAA2B,CAAC;AAEnC,YAAY,EACV,wBAAwB,EACxB,6BAA6B,GAC9B,MAAM,oCAAoC,CAAC;AAC5C,YAAY,EAAE,uCAAuC,EAAE,MAAM,2BAA2B,CAAC;AAEzF,UAAU,8BAA8B;IACtC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;CACvD;AAED;;;;;;GAMG;AACH,qBAAa,oBAAoB;IACnB,OAAO,CAAC,QAAQ,CAAC,KAAK;IAAlC,YAA6B,KAAK,EAAE,8BAA8B,EAAI;IAEhE,MAAM,CACV,OAAO,EAAE,uCAAuC,GAAG,MAAM,GACxD,OAAO,CAAC,WAAW,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC,CAgBnD;YAEa,WAAW;CAqB1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cfn-cdk-out-deployer.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,oBAAoB,EACpB,gBAAgB,GACjB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,oBAAoB,GAIrB,MAAM,2BAA2B,CAAC;AAanC;;;;;;GAMG;AACH,MAAM,OAAO,oBAAoB;IACF,KAAK;IAAlC,YAA6B,KAAqC;qBAArC,KAAK;IAAmC,CAAC;IAEtE,KAAK,CAAC,MAAM,CACV,OAAyD;QAEzD,MAAM,IAAI,GAAG,MAAM,oBAAoB,CAAC;YACtC,OAAO;YACP,iBAAiB,EAAE,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAC,UAAU;SAC5D,CAAC,CAAC;QAEH,MAAM,QAAQ,GAAG,IAAI,GAAG,
|
|
1
|
+
{"version":3,"file":"sim-cfn-cdk-out-deployer.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,oBAAoB,EACpB,gBAAgB,GACjB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,oBAAoB,GAIrB,MAAM,2BAA2B,CAAC;AAanC;;;;;;GAMG;AACH,MAAM,OAAO,oBAAoB;IACF,KAAK;IAAlC,YAA6B,KAAqC;qBAArC,KAAK;IAAmC,CAAC;IAEtE,KAAK,CAAC,MAAM,CACV,OAAyD;QAEzD,MAAM,IAAI,GAAG,MAAM,oBAAoB,CAAC;YACtC,OAAO;YACP,iBAAiB,EAAE,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAC,UAAU;SAC5D,CAAC,CAAC;QAEH,MAAM,QAAQ,GAAG,IAAI,GAAG,EAA+B,CAAC;QAExD,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChC,mHAAmH;YACnH,MAAM,aAAa,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;YAEpE,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;QAC/C,CAAC;QAED,OAAO,QAAQ,CAAC;IAClB,CAAC;IAEO,KAAK,CAAC,WAAW,CACvB,KAA+B,EAC/B,IAAsB,EACtB,QAAkD;QAElD,MAAM,EAAE,MAAM,EAAE,kBAAkB,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;QAClD,MAAM,EAAE,SAAS,EAAE,GAAG,OAAO,EAAE,GAAG,gBAAgB,CAChD,KAAK,EACL,IAAI,CAAC,YAAY,CAClB,CAAC;QAEF,OAAO,MAAM,MAAM;aAChB,kBAAkB,CAAC,kBAAkB,CAAC,SAAS,EAAE,KAAK,CAAC,UAAU,CAAC;aAClE,cAAc,EAAE;aAChB,kBAAkB,CAAC;YAClB,YAAY,EAAE,KAAK,CAAC,YAAY;YAChC,SAAS,EAAE,KAAK,CAAC,SAAS;YAC1B,GAAG,OAAO;YACV,SAAS,EAAE,oBAAoB,CAAC,SAAS,EAAE,QAAQ,CAAC;SACrD,CAAC,CAAC;IACP,CAAC;CACF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SimCdkAssemblyStack } from "../cdk/sim-cdk-assembly-manifest.js";
|
|
2
2
|
import type { SimCfnDeployBinding } from "../bind/sim-cfn-deploy-binding.js";
|
|
3
|
-
import type {
|
|
3
|
+
import type { SimCfnDeployedStack } from "../stack/sim-cfn-deployed-stack.type.js";
|
|
4
4
|
import type { CfnTemplateBodyRecord } from "../template/sim-cfn-template.js";
|
|
5
5
|
import type { SimCfnTemplateFileTransform } from "./sim-cfn-template-file-transform.js";
|
|
6
6
|
/**
|
|
@@ -15,7 +15,7 @@ import type { SimCfnTemplateFileTransform } from "./sim-cfn-template-file-transf
|
|
|
15
15
|
* A transform taking the template alone is this type too, since the deployed
|
|
16
16
|
* Stacks are the second argument.
|
|
17
17
|
*/
|
|
18
|
-
export type SimCfnCdkOutTemplateTransform = (template: CfnTemplateBodyRecord, deployed: ReadonlyMap<string,
|
|
18
|
+
export type SimCfnCdkOutTemplateTransform = (template: CfnTemplateBodyRecord, deployed: ReadonlyMap<string, SimCfnDeployedStack>) => CfnTemplateBodyRecord;
|
|
19
19
|
/**
|
|
20
20
|
* What one Stack in a cloud assembly is deployed with.
|
|
21
21
|
*
|
|
@@ -39,7 +39,7 @@ export declare function cdkOutOptionsFor(stack: SimCdkAssemblyStack, optionsByNa
|
|
|
39
39
|
* The deployment is copied on the way in, so a transform holding on to the map
|
|
40
40
|
* keeps the deployment it was handed while the call goes on deploying.
|
|
41
41
|
*/
|
|
42
|
-
export declare function cdkOutBoundTransform(transform: SimCfnCdkOutTemplateTransform | undefined, deployed: ReadonlyMap<string,
|
|
42
|
+
export declare function cdkOutBoundTransform(transform: SimCfnCdkOutTemplateTransform | undefined, deployed: ReadonlyMap<string, SimCfnDeployedStack>): SimCfnTemplateFileTransform | undefined;
|
|
43
43
|
/**
|
|
44
44
|
* Refuse options keyed against a Stack that is not being deployed.
|
|
45
45
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cfn-cdk-out-stack-options.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"sim-cfn-cdk-out-stack-options.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,KAAK,E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stack-options.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.ts"],"names":[],"mappings":"AAyCA;;GAEG;AACH,MAAM,UAAU,gBAAgB,CAC9B,KAA0B,EAC1B,aAAyD;IAEzD,OAAO,CACL,aAAa,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,IAAI,aAAa,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,EAAE,CAC5E,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,oBAAoB,CAClC,SAAoD,EACpD,
|
|
1
|
+
{"version":3,"file":"sim-cfn-cdk-out-stack-options.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.ts"],"names":[],"mappings":"AAyCA;;GAEG;AACH,MAAM,UAAU,gBAAgB,CAC9B,KAA0B,EAC1B,aAAyD;IAEzD,OAAO,CACL,aAAa,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,IAAI,aAAa,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,EAAE,CAC5E,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,oBAAoB,CAClC,SAAoD,EACpD,QAAkD;IAElD,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;QAC5B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,aAAa,GAAG,IAAI,GAAG,CAAC,QAAQ,CAAC,CAAC;IAExC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,SAAS,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;AAC1D,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,8BAA8B,CAC5C,aAAyD,EACzD,SAAyC;IAEzC,MAAM,KAAK,GAAG,IAAI,GAAG,CACnB,SAAS,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,CAClE,CAAC;IACF,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,aAAa,IAAI,EAAE,CAAC,CAAC,MAAM,CACvD,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAC3B,CAAC;IAEF,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACzB,MAAM,IAAI,KAAK,CACb,0BAA0B,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,2EAA2E,UAAU,CAAC,SAAS,CAAC,GAAG,CAClJ,CAAC;IACJ,CAAC;AACH,CAAC;AAED,SAAS,UAAU,CAAC,MAAsC;IACxD,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC3D,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { SimCfnStack, SimCloudFormationStackName } from "../stack/sim-cfn-stack.js";
|
|
2
|
+
import type { SimCfnDeployedStack } from "../stack/sim-cfn-deployed-stack.type.js";
|
|
2
3
|
import type { CfnTemplateBodyRecord } from "../template/sim-cfn-template.js";
|
|
3
4
|
import { type SimCloudFormationDeployTemplateFileProperties as SimCloudFormationDeployTemplateFileProperties } from "./sim-cfn-template-file-loader.js";
|
|
4
5
|
import { type SimCloudFormationDeployCdkOutProperties } from "./sim-cfn-cdk-out-deployer.js";
|
|
@@ -55,7 +56,7 @@ export declare class SimCloudFormationTemplateDeployer {
|
|
|
55
56
|
* Create and deploy a simulated CloudFormation Stack from a parsed template
|
|
56
57
|
* object.
|
|
57
58
|
*/
|
|
58
|
-
deployTemplate(properties: SimCloudFormationCreateStackProperties): Promise<
|
|
59
|
+
deployTemplate(properties: SimCloudFormationCreateStackProperties): Promise<SimCfnDeployedStack>;
|
|
59
60
|
/**
|
|
60
61
|
* Create and deploy a simulated CloudFormation Stack from a synthesized CDK
|
|
61
62
|
* template file.
|
|
@@ -64,16 +65,16 @@ export declare class SimCloudFormationTemplateDeployer {
|
|
|
64
65
|
* deployed, so a template that could not be deployed at all is not one this
|
|
65
66
|
* keeps trying to update.
|
|
66
67
|
*/
|
|
67
|
-
deployTemplateFile(properties: SimCloudFormationDeployTemplateFileProperties | string): Promise<
|
|
68
|
+
deployTemplateFile(properties: SimCloudFormationDeployTemplateFileProperties | string): Promise<SimCfnDeployedStack>;
|
|
68
69
|
/**
|
|
69
70
|
* Deploy the Stacks a synthesized CDK cloud assembly holds.
|
|
70
71
|
*/
|
|
71
|
-
deployCdkOut(properties: SimCloudFormationDeployCdkOutProperties | string): Promise<ReadonlyMap<string,
|
|
72
|
+
deployCdkOut(properties: SimCloudFormationDeployCdkOutProperties | string): Promise<ReadonlyMap<string, SimCfnDeployedStack>>;
|
|
72
73
|
/**
|
|
73
74
|
* Apply a synthesized CDK template file to the Stack it was deployed as, and
|
|
74
75
|
* wait for the Resource work to finish.
|
|
75
76
|
*/
|
|
76
|
-
updateTemplateFile(properties: SimCloudFormationDeployTemplateFileProperties | string): Promise<
|
|
77
|
+
updateTemplateFile(properties: SimCloudFormationDeployTemplateFileProperties | string): Promise<SimCfnDeployedStack>;
|
|
77
78
|
/**
|
|
78
79
|
* The template files being watched for changes.
|
|
79
80
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cfn-template-deployer.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-deployer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,0BAA0B,EAC3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAO7E,OAAO,EAEL,KAAK,6CAA6C,IAAI,6CAA6C,EACpG,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAEL,KAAK,uCAAuC,EAC7C,MAAM,+BAA+B,CAAC;AAGvC,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AM,CAA+C;IACtE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA4C;IACvE,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA4B;IACpD,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAkC;IACrE,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAA4B;IAChE,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAuB;IACtD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA4B;IAEpD,YAAY,UAAU,EAAE,2CAA2C,EAmBlE;IAED;;;OAGG;IACG,cAAc,CAClB,UAAU,EAAE,sCAAsC,GACjD,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"sim-cfn-template-deployer.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-deployer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,0BAA0B,EAC3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAO7E,OAAO,EAEL,KAAK,6CAA6C,IAAI,6CAA6C,EACpG,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAEL,KAAK,uCAAuC,EAC7C,MAAM,+BAA+B,CAAC;AAGvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,EACV,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,wCAAwC,CAAC;AAIhD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAElE,MAAM,WAAW,sCAAsC;IACrD,QAAQ,CAAC,SAAS,CAAC,EAAE,0BAA0B,GAAG,MAAM,CAAC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AC,mBAAmB,CAAC,CAU9B;IAED;;;;;;;OAOG;IACG,kBAAkB,CACtB,UAAU,EAAE,6CAA6C,GAAG,MAAM,GACjE,OAAO,CAAC,mBAAmB,CAAC,CAS9B;IAED;;OAEG;IACG,YAAY,CAChB,UAAU,EAAE,uCAAuC,GAAG,MAAM,GAC3D,OAAO,CAAC,WAAW,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC,CAEnD;IAED;;;OAGG;IACG,kBAAkB,CACtB,UAAU,EAAE,6CAA6C,GAAG,MAAM,GACjE,OAAO,CAAC,mBAAmB,CAAC,CAI9B;IAED;;OAEG;IACH,oBAAoB,IAAI,SAAS,MAAM,EAAE,CAExC;IAED;;OAEG;IACH,yBAAyB,IAAI,IAAI,CAEhC;YAEa,yBAAyB;YAqCzB,sBAAsB;CA0BrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cfn-template-deployer.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-deployer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sim-cfn-template-deployer.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/deploy/sim-cfn-template-deployer.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,4BAA4B,GAE7B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,wBAAwB,GAEzB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EACL,oBAAoB,GAErB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAStF,OAAO,EAAE,yBAAyB,EAAE,MAAM,iDAAiD,CA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AM,EAAE,CAAC,EAAE,CAAC,EAAgC,CAAC;AAC7F,CAAC"}
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
export { SimCloudFormation } from "./sim-cloudformation.js";
|
|
2
|
+
export type { SimCfnDeployedStack } from "./stack/sim-cfn-deployed-stack.type.js";
|
|
3
|
+
export type { SimCfnDeployedResource } from "./resource/sim-cfn-deployed-resource.type.js";
|
|
4
|
+
export type { SimCfnStackOutput } from "./stack/output/sim-cfn-stack-output.js";
|
|
5
|
+
export type { SimCloudFormationStackStatus } from "./stack/sim-cfn-stack.type.js";
|
|
6
|
+
export type { SimCloudFormationResourceStatus } from "./resource/sim-cfn-resource.type.js";
|
|
7
|
+
export type { SimCfnIgnoredProperty } from "./resource/ignore/sim-cfn-ignored-property.type.js";
|
|
8
|
+
export type { SimCfnTemplateValue, SimCfnTemplateValueRecord, } from "./template/value/sim-cfn-template-value.js";
|
|
2
9
|
export type { CfnTemplateBodyRecord } from "./template/sim-cfn-template.js";
|
|
3
10
|
export type { SimCfnTemplateFileTransform } from "./deploy/sim-cfn-template-file-transform.js";
|
|
4
11
|
export type { SimCloudFormationDeployCdkOutProperties } from "./deploy/sim-cfn-cdk-out-deployer.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/service/cloudformation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,YAAY,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,YAAY,EAAE,2BAA2B,EAAE,MAAM,6CAA6C,CAAC;AAC/F,YAAY,EAAE,uCAAuC,EAAE,MAAM,sCAAsC,CAAC;AACpG,YAAY,EACV,wBAAwB,EACxB,6BAA6B,GAC9B,MAAM,2CAA2C,CAAC;AACnD,YAAY,EACV,8BAA8B,EAC9B,uBAAuB,GACxB,MAAM,wCAAwC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/service/cloudformation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,YAAY,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAClF,YAAY,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AAC3F,YAAY,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAChF,YAAY,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAClF,YAAY,EAAE,+BAA+B,EAAE,MAAM,qCAAqC,CAAC;AAC3F,YAAY,EAAE,qBAAqB,EAAE,MAAM,oDAAoD,CAAC;AAChG,YAAY,EACV,mBAAmB,EACnB,yBAAyB,GAC1B,MAAM,4CAA4C,CAAC;AACpD,YAAY,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,YAAY,EAAE,2BAA2B,EAAE,MAAM,6CAA6C,CAAC;AAC/F,YAAY,EAAE,uCAAuC,EAAE,MAAM,sCAAsC,CAAC;AACpG,YAAY,EACV,wBAAwB,EACxB,6BAA6B,GAC9B,MAAM,2CAA2C,CAAC;AACnD,YAAY,EACV,8BAA8B,EAC9B,uBAAuB,GACxB,MAAM,wCAAwC,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { SimCfnTemplateValue, SimCfnTemplateValueRecord } from "../template/value/sim-cfn-template-value.js";
|
|
2
|
+
import type { SimCfnIgnoredProperty } from "./ignore/sim-cfn-ignored-property.type.js";
|
|
3
|
+
import type { SimCloudFormationResourceStatus } from "./sim-cfn-resource.type.js";
|
|
4
|
+
/**
|
|
5
|
+
* One Resource of a deployed Stack, as the caller that deployed it reads one.
|
|
6
|
+
*
|
|
7
|
+
* Everything here answers a question about the Resource. Creating and deleting
|
|
8
|
+
* a Resource belongs to the deployment that owns it, and those members stay
|
|
9
|
+
* inside the package with the class implementing this.
|
|
10
|
+
*/
|
|
11
|
+
export interface SimCfnDeployedResource {
|
|
12
|
+
/** The logical ID the template declared this Resource under. */
|
|
13
|
+
readonly logicalId: string;
|
|
14
|
+
/** The Stack this Resource was deployed as part of. */
|
|
15
|
+
readonly stackName: string | undefined;
|
|
16
|
+
/** The Resource type, e.g. `AWS::S3::Bucket`. */
|
|
17
|
+
readonly type: string | undefined;
|
|
18
|
+
/** The Resource's template properties, with references resolved. */
|
|
19
|
+
readonly properties: SimCfnTemplateValueRecord;
|
|
20
|
+
/** Properties the deployment created this Resource without acting on. */
|
|
21
|
+
readonly ignoredProperties: readonly SimCfnIgnoredProperty[];
|
|
22
|
+
/** The Resource's `DeletionPolicy`, where the template declared one. */
|
|
23
|
+
readonly deletionPolicy: string | undefined;
|
|
24
|
+
/** Whether a Stack teardown leaves this Resource where it is. */
|
|
25
|
+
readonly retainedOnDelete: boolean;
|
|
26
|
+
/** What `Ref` on this Resource resolves to. */
|
|
27
|
+
readonly refValue: SimCfnTemplateValue;
|
|
28
|
+
/** The simulated AWS object this Resource created, once it has one. */
|
|
29
|
+
readonly simResource: object | undefined;
|
|
30
|
+
/** What CloudFormation last did to this Resource. */
|
|
31
|
+
readonly status: SimCloudFormationResourceStatus;
|
|
32
|
+
/** Whether the Resource reached simulated AWS. */
|
|
33
|
+
readonly deployed: boolean;
|
|
34
|
+
/** Whether the deployment skipped this Resource for want of a simulation. */
|
|
35
|
+
readonly skipped: boolean;
|
|
36
|
+
/** Why the Resource was skipped, where it was. */
|
|
37
|
+
readonly skippedReason: string | undefined;
|
|
38
|
+
/** Whether the Resource was created as nothing, because nothing reads it. */
|
|
39
|
+
readonly inert: boolean;
|
|
40
|
+
/** Why the Resource was created inert, where it was. */
|
|
41
|
+
readonly inertReason: string | undefined;
|
|
42
|
+
/** Whether creation finished. */
|
|
43
|
+
readonly createComplete: boolean;
|
|
44
|
+
/** Whether deletion finished. */
|
|
45
|
+
readonly deleteComplete: boolean;
|
|
46
|
+
/** Whether the Resource has been deleted from simulated AWS. */
|
|
47
|
+
readonly deleted: boolean;
|
|
48
|
+
/** Whether a teardown recorded this Resource in place of deleting it. */
|
|
49
|
+
readonly deletionSkipped: boolean;
|
|
50
|
+
/** Why the deletion was skipped, where it was. */
|
|
51
|
+
readonly deletionSkippedReason: string | undefined;
|
|
52
|
+
/** Whether a teardown left this Resource in simulated AWS. */
|
|
53
|
+
readonly retained: boolean;
|
|
54
|
+
/** What stopped this Resource, where something did. */
|
|
55
|
+
readonly error: Error | undefined;
|
|
56
|
+
/** What `Fn::GetAtt` for this attribute resolves to. */
|
|
57
|
+
attributeValue(attributeName: string): SimCfnTemplateValue;
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=sim-cfn-deployed-resource.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-deployed-resource.type.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/resource/sim-cfn-deployed-resource.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,yBAAyB,EAC1B,MAAM,6CAA6C,CAAC;AACrD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,4BAA4B,CAAC;AAElF;;;;;;GAMG;AACH,MAAM,WAAW,sBAAsB;IACrC,gEAAgE;IAChE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAE3B,uDAAuD;IACvD,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAEvC,iDAAiD;IACjD,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IAElC,oEAAoE;IACpE,QAAQ,CAAC,UAAU,EAAE,yBAAyB,CAAC;IAE/C,yEAAyE;IACzE,QAAQ,CAAC,iBAAiB,EAAE,SAAS,qBAAqB,EAAE,CAAC;IAE7D,wEAAwE;IACxE,QAAQ,CAAC,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;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":[],"mappings":""}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { SimAwsAccountRegionScope } from "../aws/sim-aws-account-region-scope.js";
|
|
2
2
|
import type { SimAws } from "../aws/sim-aws.js";
|
|
3
|
-
import type {
|
|
3
|
+
import type { SimCloudFormationStackName } from "./stack/sim-cfn-stack.js";
|
|
4
|
+
import type { SimCfnDeployedStack } from "./stack/sim-cfn-deployed-stack.type.js";
|
|
4
5
|
import type { BackgroundCompleter, BackgroundScheduler } from "../../util/background/background.js";
|
|
5
6
|
import type { SimCreateStackCommand, SimCreateStackCommandOutput } from "./command/create-stack/create-stack.command.js";
|
|
6
7
|
import type { SimDescribeStacksCommand, SimDescribeStacksCommandOutput } from "./command/describe-stacks/describe-stacks.command.js";
|
|
@@ -37,10 +38,8 @@ export declare class SimCloudFormation {
|
|
|
37
38
|
private readonly sdkRouter;
|
|
38
39
|
private readonly authorization;
|
|
39
40
|
constructor(properties: SimCloudFormationProperties);
|
|
40
|
-
/**
|
|
41
|
-
|
|
42
|
-
*/
|
|
43
|
-
getStackByName(stackName: SimCloudFormationStackName | string): SimCfnStack | undefined;
|
|
41
|
+
/** Get a deployed simulated CloudFormation Stack by name. */
|
|
42
|
+
getStackByName(stackName: SimCloudFormationStackName | string): SimCfnDeployedStack | undefined;
|
|
44
43
|
/**
|
|
45
44
|
* Handle a Create Stack Command from the SDK.
|
|
46
45
|
*/
|
|
@@ -76,17 +75,17 @@ export declare class SimCloudFormation {
|
|
|
76
75
|
* Convenience wrapper method to create and deploy a simulated CloudFormation
|
|
77
76
|
* Stack from a parsed template object.
|
|
78
77
|
*/
|
|
79
|
-
deployTemplate(properties: SimCloudFormationCreateStackProperties): Promise<
|
|
78
|
+
deployTemplate(properties: SimCloudFormationCreateStackProperties): Promise<SimCfnDeployedStack>;
|
|
80
79
|
/**
|
|
81
80
|
* Convenience wrapper method to create and deploy a simulated CloudFormation
|
|
82
81
|
* Stack from a synthesized CDK template file.
|
|
83
82
|
*/
|
|
84
|
-
deployTemplateFile(properties: SimCloudFormationDeployTemplateFileProperties | string): Promise<
|
|
83
|
+
deployTemplateFile(properties: SimCloudFormationDeployTemplateFileProperties | string): Promise<SimCfnDeployedStack>;
|
|
85
84
|
/**
|
|
86
85
|
* Convenience wrapper method to deploy the Stacks a synthesized CDK cloud
|
|
87
86
|
* assembly holds, each into the region its own environment names.
|
|
88
87
|
*/
|
|
89
|
-
deployCdkOut(properties: SimCloudFormationDeployCdkOutProperties | string): Promise<ReadonlyMap<string,
|
|
88
|
+
deployCdkOut(properties: SimCloudFormationDeployCdkOutProperties | string): Promise<ReadonlyMap<string, SimCfnDeployedStack>>;
|
|
90
89
|
/**
|
|
91
90
|
* Convenience wrapper method to apply a synthesized CDK template file to the
|
|
92
91
|
* simulated CloudFormation Stack it was deployed as.
|
|
@@ -100,7 +99,7 @@ export declare class SimCloudFormation {
|
|
|
100
99
|
* failed, including the `No updates are to be performed.` a file that was
|
|
101
100
|
* written without being changed is refused with.
|
|
102
101
|
*/
|
|
103
|
-
updateTemplateFile(properties: SimCloudFormationDeployTemplateFileProperties | string): Promise<
|
|
102
|
+
updateTemplateFile(properties: SimCloudFormationDeployTemplateFileProperties | string): Promise<SimCfnDeployedStack>;
|
|
104
103
|
/**
|
|
105
104
|
* The template files being watched for changes.
|
|
106
105
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cloudformation.d.ts","sourceRoot":"","sources":["../../../src/service/cloudformation/sim-cloudformation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AACvF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"sim-cloudformation.d.ts","sourceRoot":"","sources":["../../../src/service/cloudformation/sim-cloudformation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAA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,CAAC,IAAI,CAAC,CAKf;IAED;;;;;OAKG;IACG,0BAA0B,CAC9B,SAAS,EAAE,0BAA0B,GAAG,MAAM,GAC7C,OAAO,CAAC,IAAI,CAAC,CAEf;IAED;;;OAGG;IACG,cAAc,CAClB,UAAU,EAAE,sCAAsC,GACjD,OAAO,CAAC,mBAAmB,CAAC,CAE9B;IAED;;;OAGG;IACG,kBAAkB,CACtB,UAAU,EAAE,6CAA6C,GAAG,MAAM,GACjE,OAAO,CAAC,mBAAmB,CAAC,CAE9B;IAED;;;OAGG;IACG,YAAY,CAChB,UAAU,EAAE,uCAAuC,GAAG,MAAM,GAC3D,OAAO,CAAC,WAAW,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC,CAEnD;IAED;;;;;;;;;;;;OAYG;IACG,kBAAkB,CACtB,UAAU,EAAE,6CAA6C,GAAG,MAAM,GACjE,OAAO,CAAC,mBAAmB,CAAC,CAE9B;IAED;;;;;OAKG;IACH,oBAAoB,IAAI,SAAS,MAAM,EAAE,CAExC;IAED;;;;;;OAMG;IACH,yBAAyB,IAAI,IAAI,CAEhC;IAED;;;;;;;OAOG;IACH,KAAK,IAAI,IAAI,CAEZ;IAED;;OAEG;IACH,gBAAgB,IAAI,mBAAmB,CAEtC;CACF"}
|
|
@@ -38,9 +38,7 @@ export class SimCloudFormation {
|
|
|
38
38
|
exports: this.exports,
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
|
-
/**
|
|
42
|
-
* Get a simulated CloudFormation Stack by name.
|
|
43
|
-
*/
|
|
41
|
+
/** Get a deployed simulated CloudFormation Stack by name. */
|
|
44
42
|
getStackByName(stackName) {
|
|
45
43
|
return this.stacks.get(stackName);
|
|
46
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cloudformation.js","sourceRoot":"","sources":["../../../src/service/cloudformation/sim-cloudformation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sim-cloudformation.js","sourceRoot":"","sources":["../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d,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;CACF"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { SimCfnDeployedResource } from "../resource/sim-cfn-deployed-resource.type.js";
|
|
2
|
+
import type { SimCfnIgnoredProperty } from "../resource/ignore/sim-cfn-ignored-property.type.js";
|
|
3
|
+
import type { SimCfnStackOutput } from "./output/sim-cfn-stack-output.js";
|
|
4
|
+
import type { SimCloudFormationStackStatus } from "./sim-cfn-stack.type.js";
|
|
5
|
+
/**
|
|
6
|
+
* A Stack a deployment has put into simulated AWS.
|
|
7
|
+
*
|
|
8
|
+
* This is what `deployTemplate`, `deployTemplateFile`, `updateTemplateFile` and
|
|
9
|
+
* `deployCdkOut` answer with. It holds the Stack's Outputs, its Resources, the
|
|
10
|
+
* report of what the deployment skipped, made inert or retained, and the two
|
|
11
|
+
* operations a caller asks for itself, which are deleting and tearing down.
|
|
12
|
+
*
|
|
13
|
+
* Deploying a Stack and applying a changed template to one belong to the
|
|
14
|
+
* simulation. The class implementing this owns both, along with the Resource
|
|
15
|
+
* map and the parsed template, and it stays inside the package.
|
|
16
|
+
*/
|
|
17
|
+
export interface SimCfnDeployedStack {
|
|
18
|
+
/** What the Stack was deployed as. */
|
|
19
|
+
readonly stackName: string;
|
|
20
|
+
/** What CloudFormation last did to the Stack. */
|
|
21
|
+
readonly status: SimCloudFormationStackStatus;
|
|
22
|
+
/** What the operation the status reports failed with, where it failed. */
|
|
23
|
+
readonly error: Error | undefined;
|
|
24
|
+
/** Every resolved Stack Output whole, keyed by Output name. */
|
|
25
|
+
readonly outputs: ReadonlyMap<string, SimCfnStackOutput>;
|
|
26
|
+
/**
|
|
27
|
+
* One Stack Output's resolved value, as the string it is.
|
|
28
|
+
*
|
|
29
|
+
* An Output the template never declared throws, as does one that resolved to
|
|
30
|
+
* something other than a string. Read `outputs` for an Output whose value is
|
|
31
|
+
* a list, or for its description and export name.
|
|
32
|
+
*/
|
|
33
|
+
output(outputKey: string): string;
|
|
34
|
+
/**
|
|
35
|
+
* One Stack Resource, by logical ID or by the CDK construct ID a synthesized
|
|
36
|
+
* logical ID was generated from.
|
|
37
|
+
*
|
|
38
|
+
* A caller that bound a handler by construct ID can ask the Stack what it
|
|
39
|
+
* bound, without holding the hash CDK appended.
|
|
40
|
+
*/
|
|
41
|
+
getResource(logicalId: string): SimCfnDeployedResource | undefined;
|
|
42
|
+
/** Properties the deployment created Resources without acting on. */
|
|
43
|
+
readonly ignoredProperties: readonly SimCfnIgnoredProperty[];
|
|
44
|
+
/** Resources skipped because their sim implementation is unavailable. */
|
|
45
|
+
readonly skippedResources: readonly SimCfnDeployedResource[];
|
|
46
|
+
/** Resources deliberately created as nothing, because nothing reads them. */
|
|
47
|
+
readonly inertResources: readonly SimCfnDeployedResource[];
|
|
48
|
+
/** Resources a teardown recorded in place of deleting them. */
|
|
49
|
+
readonly skippedResourceDeletions: readonly SimCfnDeployedResource[];
|
|
50
|
+
/** Resources a teardown left in simulated AWS, as their policy says to. */
|
|
51
|
+
readonly retainedResources: readonly SimCfnDeployedResource[];
|
|
52
|
+
/** Wait for the deployment to reach `CREATE_COMPLETE` or fail. */
|
|
53
|
+
waitForDeployComplete(): Promise<void>;
|
|
54
|
+
/** Wait for an update to reach `UPDATE_COMPLETE` or fail. */
|
|
55
|
+
waitForUpdateComplete(): Promise<void>;
|
|
56
|
+
/** Wait for a delete to reach `DELETE_COMPLETE` or fail. */
|
|
57
|
+
waitForDeleteComplete(): Promise<void>;
|
|
58
|
+
/**
|
|
59
|
+
* Start deleting the Stack and everything it deployed.
|
|
60
|
+
*
|
|
61
|
+
* Returns once the deletion has been asked for. Wait for it with
|
|
62
|
+
* `waitForDeleteComplete()`, or use `teardown()` for both at once.
|
|
63
|
+
*/
|
|
64
|
+
delete(): Promise<void>;
|
|
65
|
+
/** Delete the Stack and everything it deployed, and wait for it to finish. */
|
|
66
|
+
teardown(): Promise<void>;
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=sim-cfn-deployed-stack.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-deployed-stack.type.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/stack/sim-cfn-deployed-stack.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AAC5F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qDAAqD,CAAC;AACjG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AAE5E;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,mBAAmB;IAClC,sCAAsC;IACtC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAE3B,iDAAiD;IACjD,QAAQ,CAAC,MAAM,EAAE,4BAA4B,CAAC;IAE9C,0EAA0E;IAC1E,QAAQ,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;IAElC,+DAA+D;IAC/D,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;IAEzD;;;;;;OAMG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC;IAElC;;;;;;OAMG;IACH,WAAW,CAAC,SAAS,EAAE,MAAM,GAAG,sBAAsB,GAAG,SAAS,CAAC;IAEnE,qEAAqE;IACrE,QAAQ,CAAC,iBAAiB,EAAE,SAAS,qBAAqB,EAAE,CAAC;IAE7D,yEAAyE;IACzE,QAAQ,CAAC,gBAAgB,EAAE,SAAS,sBAAsB,EAAE,CAAC;IAE7D,6EAA6E;IAC7E,QAAQ,CAAC,cAAc,EAAE,SAAS,sBAAsB,EAAE,CAAC;IAE3D,+DAA+D;IAC/D,QAAQ,CAAC,wBAAwB,EAAE,SAAS,sBAAsB,EAAE,CAAC;IAErE,2EAA2E;IAC3E,QAAQ,CAAC,iBAAiB,EAAE,SAAS,sBAAsB,EAAE,CAAC;IAE9D,kEAAkE;IAClE,qBAAqB,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEvC,6DAA6D;IAC7D,qBAAqB,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEvC,4DAA4D;IAC5D,qBAAqB,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEvC;;;;;OAKG;IACH,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAExB,8EAA8E;IAC9E,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-deployed-stack.type.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/stack/sim-cfn-deployed-stack.type.ts"],"names":[],"mappings":""}
|
|
@@ -5,6 +5,7 @@ import { SimCfnStackDeletionLifecycle, type SimCfnStackDeleteProperties } from "
|
|
|
5
5
|
import { SimCfnStackDeploymentLifecycle } from "./deploy/sim-cfn-stack-deployment-lifecycle.js";
|
|
6
6
|
import { SimCfnStackUpdateLifecycle } from "./update/sim-cfn-stack-update-lifecycle.js";
|
|
7
7
|
import type { SimCfnStackOutput } from "./output/sim-cfn-stack-output.js";
|
|
8
|
+
import type { SimCfnDeployedStack } from "./sim-cfn-deployed-stack.type.js";
|
|
8
9
|
import type { SimCloudFormationStackProperties, SimCloudFormationStackStatus, SimCfnStackUpdateProperties, SimCloudFormationStackName } from "./sim-cfn-stack.type.js";
|
|
9
10
|
/**
|
|
10
11
|
* Lightweight simulated CloudFormation Stack.
|
|
@@ -21,7 +22,7 @@ import type { SimCloudFormationStackProperties, SimCloudFormationStackStatus, Si
|
|
|
21
22
|
* simulated AWS, and SimCfnStackUpdater does some of each at once against a
|
|
22
23
|
* changed template.
|
|
23
24
|
*/
|
|
24
|
-
export declare class SimCfnStack {
|
|
25
|
+
export declare class SimCfnStack implements SimCfnDeployedStack {
|
|
25
26
|
readonly lifecycle: SimCfnStackDeploymentLifecycle;
|
|
26
27
|
readonly updating: SimCfnStackUpdateLifecycle;
|
|
27
28
|
readonly deletion: SimCfnStackDeletionLifecycle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cfn-stack.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/stack/sim-cfn-stack.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qDAAqD,CAAC;AACjG,OAAO,KAAK,EACV,qBAAqB,EACrB,cAAc,EACf,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,4BAA4B,EAC5B,KAAK,2BAA2B,EACjC,MAAM,gDAAgD,CAAC;AAGxD,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAEhG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-cfn-stack.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/stack/sim-cfn-stack.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qDAAqD,CAAC;AACjG,OAAO,KAAK,EACV,qBAAqB,EACrB,cAAc,EACf,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,4BAA4B,EAC5B,KAAK,2BAA2B,EACjC,MAAM,gDAAgD,CAAC;AAGxD,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAEhG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,KAA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AAgC,GAAG,OAAO,CAAC,IAAI,CAAC,CAExE;IAED;;OAEG;IACG,qBAAqB,IAAI,OAAO,CAAC,IAAI,CAAC,CAE3C;IAED;;;;;;OAMG;IACG,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,CAG9B;IAED;;;;;;;OAOG;IACH,WAAW,CAAC,SAAS,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAEzD;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAKhC;IAED,2EAA2E;IAC3E,IAAW,gBAAgB,IAAI,SAAS,cAAc,EAAE,CAEvD;IAED,6EAA6E;IAC7E,IAAW,cAAc,IAAI,SAAS,cAAc,EAAE,CAErD;IAED,yDAAyD;IACzD,IAAW,wBAAwB,IAAI,SAAS,cAAc,EAAE,CAE/D;IAED,2EAA2E;IAC3E,IAAW,iBAAiB,IAAI,SAAS,cAAc,EAAE,CAExD;IAED,+EAA+E;IAC/E,IAAW,iBAAiB,IAAI,SAAS,qBAAqB,EAAE,CAE/D;IAED,OAAO,KAAK,MAAM,GAEjB;YAEa,eAAe;IAK7B,OAAO,CAAC,cAAc;CAGvB;AAED,OAAO,EACL,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,GAClC,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { SimCfnDeployedResource } from "../resource/sim-cfn-deployed-resource.type.js";
|
|
2
|
+
import type { SimCfnResource } from "../resource/sim-cfn-resource.js";
|
|
3
|
+
import type { SimCfnDeployedStack } from "./sim-cfn-deployed-stack.type.js";
|
|
4
|
+
import type { SimCfnStack } from "./sim-cfn-stack.js";
|
|
5
|
+
/**
|
|
6
|
+
* The Stack object behind what a deployment answered with.
|
|
7
|
+
*
|
|
8
|
+
* A deployment answers with `SimCfnDeployedStack`, the surface a consumer of
|
|
9
|
+
* this package reads. A test in this package that drives the Stack's own
|
|
10
|
+
* lifecycle, or reads the Resource map the deployment builds, wants the object
|
|
11
|
+
* itself, and this says so where it happens.
|
|
12
|
+
*/
|
|
13
|
+
export declare function deployedStackObject(stack: SimCfnDeployedStack): SimCfnStack;
|
|
14
|
+
/**
|
|
15
|
+
* The Resource object behind one a deployed Stack answered with.
|
|
16
|
+
*
|
|
17
|
+
* The counterpart of `deployedStackObject`, for a test reaching the Resource
|
|
18
|
+
* members the deployment drives.
|
|
19
|
+
*/
|
|
20
|
+
export declare function deployedResourceObject(resource: SimCfnDeployedResource): SimCfnResource;
|
|
21
|
+
//# sourceMappingURL=sim-cfn-stack.fixture.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-stack.fixture.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/stack/sim-cfn-stack.fixture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AAC5F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,mBAAmB,GAAG,WAAW,CAE3E;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,sBAAsB,GAC/B,cAAc,CAEhB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Stack object behind what a deployment answered with.
|
|
3
|
+
*
|
|
4
|
+
* A deployment answers with `SimCfnDeployedStack`, the surface a consumer of
|
|
5
|
+
* this package reads. A test in this package that drives the Stack's own
|
|
6
|
+
* lifecycle, or reads the Resource map the deployment builds, wants the object
|
|
7
|
+
* itself, and this says so where it happens.
|
|
8
|
+
*/
|
|
9
|
+
export function deployedStackObject(stack) {
|
|
10
|
+
return stack;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* The Resource object behind one a deployed Stack answered with.
|
|
14
|
+
*
|
|
15
|
+
* The counterpart of `deployedStackObject`, for a test reaching the Resource
|
|
16
|
+
* members the deployment drives.
|
|
17
|
+
*/
|
|
18
|
+
export function deployedResourceObject(resource) {
|
|
19
|
+
return resource;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=sim-cfn-stack.fixture.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-stack.fixture.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/stack/sim-cfn-stack.fixture.ts"],"names":[],"mappings":"AAKA;;;;;;;GAOG;AACH,MAAM,UAAU,mBAAmB,CAAC,KAA0B;IAC5D,OAAO,KAAoB,CAAC;AAC9B,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,sBAAsB,CACpC,QAAgC;IAEhC,OAAO,QAA0B,CAAC;AACpC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cfn-stack.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/stack/sim-cfn-stack.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,4BAA4B,GAE7B,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,0BAA0B,EAAE,MAAM,8CAA8C,CAAC;AAC1F,OAAO,EAAE,yBAAyB,EAAE,MAAM,iDAAiD,CAAC;AAC5F,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AACvF,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-cfn-stack.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/stack/sim-cfn-stack.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,4BAA4B,GAE7B,MAAM,gDAAgD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AO,IAAI,yBAAyB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;IACzE,CAAC;IAEO,KAAK,CAAC,eAAe;QAC3B,MAAM,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAChD,IAAI,CAAC,cAAc,EAAE,CAAC;IACxB,CAAC;IAEO,cAAc;QACpB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;IAC7E,CAAC;CACF;AAED,OAAO,EAIN,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How one Terraform attribute is read off the CloudFormation Resource standing
|
|
3
|
+
* in for it.
|
|
4
|
+
*
|
|
5
|
+
* `Ref` means the CloudFormation Resource's own Ref value returns it, and any
|
|
6
|
+
* other string is the `Fn::GetAtt` attribute name. The table is per Terraform
|
|
7
|
+
* type because the provider and CloudFormation disagree about which value is
|
|
8
|
+
* the Ref. An `AWS::SNS::Topic` Ref is the topic ARN, an `AWS::SQS::Queue` Ref
|
|
9
|
+
* is the queue URL, and an `AWS::S3::Bucket` Ref is the bucket name.
|
|
10
|
+
*/
|
|
11
|
+
export declare const terraformAttributeReads: ReadonlyMap<string, string>;
|
|
12
|
+
//# sourceMappingURL=sim-tf-attribute-reads.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-tf-attribute-reads.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/terraform/sim-tf-attribute-reads.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,eAAO,MAAM,uBAAuB,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAgD9D,CAAC"}
|