@cdklabs/cdk-ssm-documents 0.0.20 → 0.0.23
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/.jsii +861 -240
- package/API.md +1301 -93
- package/README.md +8 -6
- package/changelog.md +3 -3
- package/lib/construct/synth-utils.js +1 -1
- package/lib/document/automation-document.js +1 -1
- package/lib/document/command-document.js +1 -1
- package/lib/document/document-builder.js +2 -2
- package/lib/document/ssm-document.d.ts +1 -0
- package/lib/document/ssm-document.js +3 -3
- package/lib/domain/choice.js +1 -1
- package/lib/domain/data-type.js +1 -1
- package/lib/domain/enum/install-action.js +2 -2
- package/lib/domain/enum/install-uninstall-repair.js +2 -2
- package/lib/domain/enum/installation-type.js +2 -2
- package/lib/domain/enum/package-name.js +2 -2
- package/lib/domain/input.js +1 -1
- package/lib/domain/operation.js +1 -1
- package/lib/domain/platform.js +1 -1
- package/lib/domain/precondition.js +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2 -1
- package/lib/interface/approve-hook.js +2 -2
- package/lib/interface/auth-method.js +3 -3
- package/lib/interface/aws-invoker.js +2 -2
- package/lib/interface/downloadable-content.js +8 -8
- package/lib/interface/environment.js +3 -3
- package/lib/interface/execute-automation-hook/api-execute-automation-hook.js +1 -1
- package/lib/interface/observer.js +1 -1
- package/lib/interface/on-failure.js +6 -6
- package/lib/interface/pause-hook.js +2 -2
- package/lib/interface/run-command-hook/api-run-command-hook.js +1 -1
- package/lib/interface/run-document-location.js +2 -2
- package/lib/interface/sleep-hook.js +2 -2
- package/lib/interface/step-ref.d.ts +21 -0
- package/lib/interface/step-ref.js +40 -0
- package/lib/interface/variables/boolean-variable.js +2 -2
- package/lib/interface/variables/map-list-variable.js +2 -2
- package/lib/interface/variables/number-variable.js +2 -2
- package/lib/interface/variables/secure-string-variable.js +4 -4
- package/lib/interface/variables/string-list-variable.js +2 -2
- package/lib/interface/variables/string-map-variable.js +2 -2
- package/lib/interface/variables/string-variable.js +4 -4
- package/lib/interface/variables/variable.js +2 -2
- package/lib/interface/webhook.js +1 -1
- package/lib/parent-steps/automation/approve-step.js +5 -3
- package/lib/parent-steps/automation/assert-aws-resource-step.js +1 -1
- package/lib/parent-steps/automation/aws-api-step.js +1 -1
- package/lib/parent-steps/automation/branch-step.js +1 -1
- package/lib/parent-steps/automation/change-instance-state-step.js +3 -3
- package/lib/parent-steps/automation/copy-image-step.js +1 -1
- package/lib/parent-steps/automation/create-image-step.js +1 -1
- package/lib/parent-steps/automation/create-stack-step.js +3 -3
- package/lib/parent-steps/automation/create-tags-step.js +3 -3
- package/lib/parent-steps/automation/delete-image-step.js +1 -1
- package/lib/parent-steps/automation/delete-stack-step.js +1 -1
- package/lib/parent-steps/automation/execute-automation-step.js +1 -1
- package/lib/parent-steps/automation/execute-script-step.d.ts +116 -39
- package/lib/parent-steps/automation/execute-script-step.js +157 -62
- package/lib/parent-steps/automation/execute-state-machine-step.js +1 -1
- package/lib/parent-steps/automation/invoke-lambda-function-step.js +1 -1
- package/lib/parent-steps/automation/invoke-webhook-step.js +1 -1
- package/lib/parent-steps/automation/pause-step.js +1 -1
- package/lib/parent-steps/automation/run-command-step.js +3 -3
- package/lib/parent-steps/automation/run-instance-step.js +1 -1
- package/lib/parent-steps/automation/sleep-step.js +1 -1
- package/lib/parent-steps/automation/wait-for-resource-step.js +1 -1
- package/lib/parent-steps/automation-step.d.ts +27 -19
- package/lib/parent-steps/automation-step.js +9 -5
- package/lib/parent-steps/command/applications-step.js +1 -1
- package/lib/parent-steps/command/configure-docker-step.js +1 -1
- package/lib/parent-steps/command/configure-package-step.js +1 -1
- package/lib/parent-steps/command/domain-join-step.js +1 -1
- package/lib/parent-steps/command/download-content-step.js +1 -1
- package/lib/parent-steps/command/ps-module-step.js +1 -1
- package/lib/parent-steps/command/run-docker-action-step.js +1 -1
- package/lib/parent-steps/command/run-document-step.js +1 -1
- package/lib/parent-steps/command/run-powershell-script-step.js +1 -1
- package/lib/parent-steps/command/run-shell-script-step.js +1 -1
- package/lib/parent-steps/command/software-inventory-step.js +1 -1
- package/lib/parent-steps/command/update-agent-step.js +1 -1
- package/lib/parent-steps/command/update-ssm-agent-step.js +1 -1
- package/lib/parent-steps/command-step.js +1 -1
- package/lib/parent-steps/step.js +1 -1
- package/lib/patterns/automation/composite-step.js +2 -2
- package/lib/patterns/automation/reboot-instance-and-wait.js +1 -1
- package/lib/patterns/automation/string-step.js +9 -7
- package/lib/patterns/document/string-document.js +1 -1
- package/lib/patterns/document/timed-document.js +10 -10
- package/lib/samples/hello-world.js +7 -8
- package/lib/simulation/automation/approve-simulation.js +1 -1
- package/lib/simulation/automation/assert-aws-resource-simulation.js +1 -1
- package/lib/simulation/automation/automation-simulation-base.js +1 -1
- package/lib/simulation/automation/aws-api-simulation.js +1 -1
- package/lib/simulation/automation/branch-simulation.js +1 -1
- package/lib/simulation/automation/change-instance-state-simulation.js +1 -1
- package/lib/simulation/automation/copy-image-simulation.js +1 -1
- package/lib/simulation/automation/create-image-simulation.js +1 -1
- package/lib/simulation/automation/create-stack-simulation.js +1 -1
- package/lib/simulation/automation/create-tags-simulation.js +1 -1
- package/lib/simulation/automation/delete-image-simulation.js +1 -1
- package/lib/simulation/automation/delete-stack-simulation.js +1 -1
- package/lib/simulation/automation/execute-script-simulation.js +5 -11
- package/lib/simulation/automation/execute-state-machine-simulation.js +1 -1
- package/lib/simulation/automation/invoke-lambda-function-simulation.js +1 -1
- package/lib/simulation/automation/invoke-webhook-simulation.js +1 -1
- package/lib/simulation/automation/pause-simulation.js +1 -1
- package/lib/simulation/automation/run-command-simulation.js +1 -1
- package/lib/simulation/automation/run-instance-simulation.js +1 -1
- package/lib/simulation/automation/sleep-simulation.js +1 -1
- package/lib/simulation/automation/wait-for-resource-simulation.js +1 -1
- package/lib/simulation/automation-step-simulation.js +1 -1
- package/lib/simulation/command/command-simulation-base.js +1 -1
- package/lib/simulation/command/ps-module-simulation.js +1 -1
- package/lib/simulation/command/run-powershell-script-simulation.js +1 -1
- package/lib/simulation/command/run-shell-script-simulation.js +1 -1
- package/lib/simulation/command-step-simulation.js +1 -1
- package/lib/simulation/document/automation-simulation.js +3 -3
- package/lib/simulation/document/command-simulation.js +1 -1
- package/lib/simulation/simulation.js +1 -1
- package/package.json +1 -1
- package/releasetag.txt +1 -1
- package/version.txt +1 -1
package/.jsii
CHANGED
|
@@ -2798,7 +2798,7 @@
|
|
|
2798
2798
|
},
|
|
2799
2799
|
"name": "@cdklabs/cdk-ssm-documents",
|
|
2800
2800
|
"readme": {
|
|
2801
|
-
"markdown": "# SSM Document CDK\nThis library provides a code-based utility for implementing SSM Documents. The SSM Document objects can be used to print YAML/JSON documents and to mimic document processing locally.\n\nThis library abstracts SSM Documents at a high level, with each step as well as the document itself being objects. The properties needed to build these objects correlate to the settings that apply to them, making them simple to make.\nThis library can be used to test your document locally before deploying it to SSM.\n\nSince the library is written in JSII, it can be exported to other languages that support JSII (Java, Python).\n\nThis is what you'd use if you wanted to:\n1. The ability to test without deploying resources or executing an actual SSM on AWS.\n2. Reusability of steps between documents by reusing existing items\n3. Create logical higher-level groupings of reusable groups of steps (\"Patterns\")\n4. Simple to use interface for writing documents\n5. Import existing documents from a file (or string) and mimic them locally to test them.\n\n## Usage\n\n### Document Creation\n\nTypescript usage (Execute AWS API Step)...\nThe below creates the AutomationDocument in an AWS CDK stack.\n```ts\nimport { AutomationDocument } from './automation-document';\n\nexport class HelloWorld extends Stack {\n constructor(app: Construct, id: string) {\n super(app, id);\n\n // Create AutomationDocument\n const myDoc = new AutomationDocument(this, \"MyDoc\", {\n documentFormat: DocumentFormat.JSON,\n documentName: \"MyDoc\",\n docInputs: [Input.ofTypeString('MyInput', { defaultValue: 'a' })],\n });\n\n // Define your steps...\n myDoc.addStep(new PauseStep(this, \"MyPauseStep\", {
|
|
2801
|
+
"markdown": "# SSM Document CDK\nThis library provides a code-based utility for implementing SSM Documents. The SSM Document objects can be used to print YAML/JSON documents and to mimic document processing locally.\n\nThis library abstracts SSM Documents at a high level, with each step as well as the document itself being objects. The properties needed to build these objects correlate to the settings that apply to them, making them simple to make.\nThis library can be used to test your document locally before deploying it to SSM.\n\nSince the library is written in JSII, it can be exported to other languages that support JSII (Java, Python).\n\nThis is what you'd use if you wanted to:\n1. The ability to test without deploying resources or executing an actual SSM on AWS.\n2. Reusability of steps between documents by reusing existing items\n3. Create logical higher-level groupings of reusable groups of steps (\"Patterns\")\n4. Simple to use interface for writing documents\n5. Import existing documents from a file (or string) and mimic them locally to test them.\n\n## Usage\n\n### Document Creation\n\nTypescript usage (Execute AWS API Step)...\nThe below creates the AutomationDocument in an AWS CDK stack.\n```ts\nimport { AutomationDocument } from './automation-document';\n\nexport class HelloWorld extends Stack {\n constructor(app: Construct, id: string) {\n super(app, id);\n\n // Create AutomationDocument\n const myDoc = new AutomationDocument(this, \"MyDoc\", {\n documentFormat: DocumentFormat.JSON,\n documentName: \"MyDoc\",\n docInputs: [Input.ofTypeString('MyInput', { defaultValue: 'a' })],\n });\n\n // Define your steps...\n myDoc.addStep(new PauseStep(this, \"MyPauseStep\", {\n name: \"MyPauseStep\",\n explicitNextStep: StepRef.fromName(\"step1\") // Optional (will default to next added step)\n }));\n\n myDoc.addStep(new ExecuteScriptStep(this, \"MyExecuteStep\", {\n name: \"step1\",\n language: ScriptLanguage.python(PythonVersion.VERSION_3_6, 'my_func'),\n code: ScriptCode.fromFile(resolve(\"test/test_file.py\")),\n // OR ScriptCode.inline(\"def my_func(args, context):\\n return {'MyReturn': args['MyInput'] + '-suffix'}\\n\"),\n outputs: [{\n outputType: DataTypeEnum.STRING,\n name: \"MyFuncOut\",\n selector: \"$.Payload.MyReturn\"\n }],\n onFailure: OnFailure.abort(),\n inputPayload: { MyInput: StringVariable.of('MyInput') },\n }));\n }\n}\n```\n\n### Document JSON/YAML Export as YAML/JSON\n\nYou can deploy the above document using CDK.\nTo print the above document object as a JSON (or YAML), do the following:\n\n```ts\nconst myDocJson = myDoc.print(); // Print YAML by setting the documentFormat to YAML\n```\n\n\n### Document Simulation\n\nTo run the document object in simulation mode, use the below. Simulation mode does NOT hit the SSM API, rather it mimics the execution that will happen in an SSM execution. The run happens locally and allows you to mock the calls to external services (AWS APIs for example) or to invoke those services using your local credentials.\n\n```ts\nimport { Simulation } from './simulation';\n\nconst myDocJson = Simulation.ofAutomation(myDoc, {}).simulate({ MyInput: \"FooBar\" });\n```\n\n### Command Documents\n\nBelow is an example of how to use the library to create Command documents.\nSimulation for command documents is not yet supported for all command plugins.\nYou can use a Docker image/container as a playground for testing the Command document execution for the supported plugins.\n\nIn this example there is a complete CDK stack. Notice that the `CommandDocument` is saved as a field so that it can be tested from the test code.\n```typescript\nexport class HelloCdkStack extends Stack {\n readonly myCommandDoc: CommandDocument;\n constructor(scope: Construct, id: string, props?: StackProps) {\n super(scope, id, props);\n this.myCommandDoc = new CommandDocument(this, \"MyCommandDoc\", {\n docInputs: [Input.ofTypeString('FirstCommand', { defaultValue: 'a' })],\n })\n const runScriptStep = new RunShellScriptStep(this, \"MyShellScript\", {\n runCommand: [\n StringVariable.of(\"FirstCommand\"),\n HardCodedString.of(\"mkdir asdf\"),\n ],\n });\n this.myCommandDoc.addStep(runScriptStep);\n }\n}\n```\n\nBelow is an example of how you would run a simulation against the above `CommandDocument`.\n\nCurrently, `bash` must be available in the container or the executions against the docker will not succeed.\n\n```typescript\ntest('Test command doc', () => {\n const app = new cdk.App();\n const stack = new HelloCdk.HelloCdkStack(app, 'MyTestStack');\n // 1. $ docker pull amazonlinux\n // 2. $ docker run -di amazonlinux\n const simulation = Simulation.ofCommand(stack.myCommandDoc, {\n simulationPlatform: Platform.LINUX,\n environment: DockerEnvironment.fromContainer('MY_CONTAINER_ID')\n });\n simulation.simulate({FirstCommand: 'mkdir foobar'})\n // 3. The document should run the first command (create 'foobar') and create file 'asdf'\n // 4. $ docker exec -it <container name> bash\n // 5. Ensure that 'asdf' and 'foobar' were written to /tmp\n});\n```\n\n## Patterns (High-Level Constructs)\n\nIn typical CDK style, you can assemble often used groups of steps into higher level Constructs.\n\nConsider if you typically create AutomationDocuments that start with logging the time and end with logging the total time taken. You can create a high-level Automation Document and extend that when you implement an Automation.\n\nSee the `TimedDocument` class to see such implementation.\n\nOr consider the case of multiple steps that are always run together such as rebooting and instance and waiting for it to be active.\n\nThe below example is copied from the `RebootInstanceAndWait` class:\n\n```ts\nexport class RebootInstanceAndWait extends CompositeAutomationStep {\n\n readonly reboot: AwsApiStep;\n readonly describe: WaitForResourceStep;\n\n constructor(scope: Construct, id: string, instanceId: IStringVariable) {\n super(scope, id);\n this.reboot = new AwsApiStep(this, 'RebootInstances', {\n service: 'ec2',\n pascalCaseApi: 'RebootInstances',\n apiParams: { InstanceIds: [instanceId] },\n outputs: [],\n });\n this.describe = new WaitForResourceStep(this, 'DescribeInstances', {\n service: 'ec2',\n pascalCaseApi: 'DescribeInstances',\n apiParams: { InstanceIds: [instanceId] },\n selector: '$.Reservations[0].Instances[0].State.Name',\n desiredValues: ['running'],\n });\n }\n\n addToDocument(doc: AutomationDocumentBuilder): void {\n doc.addStep(this.reboot);\n doc.addStep(this.describe);\n }\n}\n\n```\n\nNow, you can use `RebootInstanceAndWait` as a step in a document and the child steps will be included.\n\n## Existing Documents\n\nDo you have an existing document that you want to convert to code and/or test locally using the simulation?\n\n### Import Existing Document\n\nHere is an example of how you can import an existing document and then simulate it locally with mocked AWS resources:\n\n```ts\n// Initialize Mocks\nconst sleeper = new MockSleep();\nconst awsInvoker = new MockAwsInvoker();\nawsInvoker.whenThen(\n // when invoked with...\n {awsApi: 'listBuckets', awsParams: {}, service: 'S3'},\n // then response with...\n {Owner: {ID: \"BUCKET_ID\"}})\n\n// ======> Create document from file <=======\nconst stack: Stack = new Stack();\nconst myAutomationDoc = StringDocument.fromFile(stack, \"MyAutomationDoc\", 'test/myAutomation.json', {\n // ======================\n});\n\n// Execute simulation\nconst simOutput = Simulation.ofAutomation(myAutomationDoc, {\n sleepHook: sleeper,\n awsInvoker: awsInvoker\n}).simulate({});\n\n// Assert simulation result\nassert.deepEqual(awsInvoker.previousInvocations, [\n { awsApi: 'listBuckets', awsParams: {}, service: 'S3' }]);\nassert.deepEqual(sleeper.sleepMilliInvocations, [3000]);\nassert.deepEqual(simOutput.outputs['simulationSteps'], ['MySleep', 'GetBucketId']);\n```\n\n### Import Existing Steps\n\nYou can also grab a string step (or steps) and import them as CDK step constructs.\nThis can be used to convert existing documents into CDK with each step defined separately.\nDoing so will allow you do modify steps and reuse them in other documents.\n\nHere's a simple example of a sleep step copy and pasted from its original yaml:\n\n```ts\nStringStep.fromYaml(this, `\n name: sleep\n action: aws:sleep\n inputs:\n Duration: PT0M\n`, {});\n```\n\nThe above will return the CDK construct SleepStep.\n\n## What is Planned?\n\nThis library currently contains AutomationDocument steps.\n\nAlso planned is the ability to run Command documents.\n\nStay tuned!\n\n## Related Projects\n\n- https://github.com/udondan/cdk-ssm-document\n\n## Security\nSee [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.\n\n## License\nThis project is licensed under the Apache-2.0 License.\n\n"
|
|
2802
2802
|
},
|
|
2803
2803
|
"repository": {
|
|
2804
2804
|
"type": "git",
|
|
@@ -3828,7 +3828,7 @@
|
|
|
3828
3828
|
},
|
|
3829
3829
|
"locationInModule": {
|
|
3830
3830
|
"filename": "src/parent-steps/automation/approve-step.ts",
|
|
3831
|
-
"line":
|
|
3831
|
+
"line": 98
|
|
3832
3832
|
},
|
|
3833
3833
|
"name": "provideDate",
|
|
3834
3834
|
"protected": true,
|
|
@@ -5167,7 +5167,7 @@
|
|
|
5167
5167
|
},
|
|
5168
5168
|
"locationInModule": {
|
|
5169
5169
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5170
|
-
"line":
|
|
5170
|
+
"line": 75
|
|
5171
5171
|
},
|
|
5172
5172
|
"parameters": [
|
|
5173
5173
|
{
|
|
@@ -5196,7 +5196,7 @@
|
|
|
5196
5196
|
"kind": "class",
|
|
5197
5197
|
"locationInModule": {
|
|
5198
5198
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5199
|
-
"line":
|
|
5199
|
+
"line": 62
|
|
5200
5200
|
},
|
|
5201
5201
|
"methods": [
|
|
5202
5202
|
{
|
|
@@ -5205,7 +5205,7 @@
|
|
|
5205
5205
|
},
|
|
5206
5206
|
"locationInModule": {
|
|
5207
5207
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5208
|
-
"line":
|
|
5208
|
+
"line": 85
|
|
5209
5209
|
},
|
|
5210
5210
|
"name": "addToDocument",
|
|
5211
5211
|
"overrides": "@cdklabs/cdk-ssm-documents.IAutomationComponent",
|
|
@@ -5224,7 +5224,7 @@
|
|
|
5224
5224
|
},
|
|
5225
5225
|
"locationInModule": {
|
|
5226
5226
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5227
|
-
"line":
|
|
5227
|
+
"line": 89
|
|
5228
5228
|
},
|
|
5229
5229
|
"name": "prepareSsmEntry",
|
|
5230
5230
|
"parameters": [
|
|
@@ -5258,7 +5258,7 @@
|
|
|
5258
5258
|
},
|
|
5259
5259
|
"locationInModule": {
|
|
5260
5260
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5261
|
-
"line":
|
|
5261
|
+
"line": 139
|
|
5262
5262
|
},
|
|
5263
5263
|
"name": "variables",
|
|
5264
5264
|
"returns": {
|
|
@@ -5283,7 +5283,7 @@
|
|
|
5283
5283
|
"immutable": true,
|
|
5284
5284
|
"locationInModule": {
|
|
5285
5285
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5286
|
-
"line":
|
|
5286
|
+
"line": 64
|
|
5287
5287
|
},
|
|
5288
5288
|
"name": "DEFAULT_MAX_ATTEMPTS",
|
|
5289
5289
|
"static": true,
|
|
@@ -5299,7 +5299,7 @@
|
|
|
5299
5299
|
"immutable": true,
|
|
5300
5300
|
"locationInModule": {
|
|
5301
5301
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5302
|
-
"line":
|
|
5302
|
+
"line": 63
|
|
5303
5303
|
},
|
|
5304
5304
|
"name": "DEFAULT_TIMEOUT",
|
|
5305
5305
|
"static": true,
|
|
@@ -5314,7 +5314,7 @@
|
|
|
5314
5314
|
"immutable": true,
|
|
5315
5315
|
"locationInModule": {
|
|
5316
5316
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5317
|
-
"line":
|
|
5317
|
+
"line": 67
|
|
5318
5318
|
},
|
|
5319
5319
|
"name": "isEnd",
|
|
5320
5320
|
"type": {
|
|
@@ -5328,7 +5328,7 @@
|
|
|
5328
5328
|
"immutable": true,
|
|
5329
5329
|
"locationInModule": {
|
|
5330
5330
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5331
|
-
"line":
|
|
5331
|
+
"line": 65
|
|
5332
5332
|
},
|
|
5333
5333
|
"name": "maxAttempts",
|
|
5334
5334
|
"type": {
|
|
@@ -5342,7 +5342,7 @@
|
|
|
5342
5342
|
"immutable": true,
|
|
5343
5343
|
"locationInModule": {
|
|
5344
5344
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5345
|
-
"line":
|
|
5345
|
+
"line": 69
|
|
5346
5346
|
},
|
|
5347
5347
|
"name": "onCancel",
|
|
5348
5348
|
"type": {
|
|
@@ -5356,7 +5356,7 @@
|
|
|
5356
5356
|
"immutable": true,
|
|
5357
5357
|
"locationInModule": {
|
|
5358
5358
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5359
|
-
"line":
|
|
5359
|
+
"line": 68
|
|
5360
5360
|
},
|
|
5361
5361
|
"name": "onFailure",
|
|
5362
5362
|
"type": {
|
|
@@ -5370,7 +5370,7 @@
|
|
|
5370
5370
|
"immutable": true,
|
|
5371
5371
|
"locationInModule": {
|
|
5372
5372
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5373
|
-
"line":
|
|
5373
|
+
"line": 66
|
|
5374
5374
|
},
|
|
5375
5375
|
"name": "timeoutSeconds",
|
|
5376
5376
|
"type": {
|
|
@@ -5381,9 +5381,24 @@
|
|
|
5381
5381
|
"docs": {
|
|
5382
5382
|
"stability": "stable"
|
|
5383
5383
|
},
|
|
5384
|
+
"immutable": true,
|
|
5384
5385
|
"locationInModule": {
|
|
5385
5386
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5386
|
-
"line":
|
|
5387
|
+
"line": 70
|
|
5388
|
+
},
|
|
5389
|
+
"name": "explicitNextStep",
|
|
5390
|
+
"optional": true,
|
|
5391
|
+
"type": {
|
|
5392
|
+
"fqn": "@cdklabs/cdk-ssm-documents.StepRef"
|
|
5393
|
+
}
|
|
5394
|
+
},
|
|
5395
|
+
{
|
|
5396
|
+
"docs": {
|
|
5397
|
+
"stability": "stable"
|
|
5398
|
+
},
|
|
5399
|
+
"locationInModule": {
|
|
5400
|
+
"filename": "src/parent-steps/automation-step.ts",
|
|
5401
|
+
"line": 73
|
|
5387
5402
|
},
|
|
5388
5403
|
"name": "allStepsInExecution",
|
|
5389
5404
|
"optional": true,
|
|
@@ -5402,7 +5417,7 @@
|
|
|
5402
5417
|
},
|
|
5403
5418
|
"locationInModule": {
|
|
5404
5419
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5405
|
-
"line":
|
|
5420
|
+
"line": 72
|
|
5406
5421
|
},
|
|
5407
5422
|
"name": "nextStep",
|
|
5408
5423
|
"optional": true,
|
|
@@ -5426,10 +5441,29 @@
|
|
|
5426
5441
|
"kind": "interface",
|
|
5427
5442
|
"locationInModule": {
|
|
5428
5443
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5429
|
-
"line":
|
|
5444
|
+
"line": 11
|
|
5430
5445
|
},
|
|
5431
5446
|
"name": "AutomationStepProps",
|
|
5432
5447
|
"properties": [
|
|
5448
|
+
{
|
|
5449
|
+
"abstract": true,
|
|
5450
|
+
"docs": {
|
|
5451
|
+
"default": "will implicitly choose the next step in the sequence that the steps are added to the document.",
|
|
5452
|
+
"remarks": "https://docs.aws.amazon.com/systems-manager/latest/userguide/automation-actions.html#nextProp",
|
|
5453
|
+
"stability": "stable",
|
|
5454
|
+
"summary": "(Optional) explicit step to go to after this step completes."
|
|
5455
|
+
},
|
|
5456
|
+
"immutable": true,
|
|
5457
|
+
"locationInModule": {
|
|
5458
|
+
"filename": "src/parent-steps/automation-step.ts",
|
|
5459
|
+
"line": 50
|
|
5460
|
+
},
|
|
5461
|
+
"name": "explicitNextStep",
|
|
5462
|
+
"optional": true,
|
|
5463
|
+
"type": {
|
|
5464
|
+
"fqn": "@cdklabs/cdk-ssm-documents.StepRef"
|
|
5465
|
+
}
|
|
5466
|
+
},
|
|
5433
5467
|
{
|
|
5434
5468
|
"abstract": true,
|
|
5435
5469
|
"docs": {
|
|
@@ -5440,7 +5474,7 @@
|
|
|
5440
5474
|
"immutable": true,
|
|
5441
5475
|
"locationInModule": {
|
|
5442
5476
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5443
|
-
"line":
|
|
5477
|
+
"line": 17
|
|
5444
5478
|
},
|
|
5445
5479
|
"name": "isEnd",
|
|
5446
5480
|
"optional": true,
|
|
@@ -5458,7 +5492,7 @@
|
|
|
5458
5492
|
"immutable": true,
|
|
5459
5493
|
"locationInModule": {
|
|
5460
5494
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5461
|
-
"line":
|
|
5495
|
+
"line": 36
|
|
5462
5496
|
},
|
|
5463
5497
|
"name": "maxAttempts",
|
|
5464
5498
|
"optional": true,
|
|
@@ -5476,7 +5510,7 @@
|
|
|
5476
5510
|
"immutable": true,
|
|
5477
5511
|
"locationInModule": {
|
|
5478
5512
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5479
|
-
"line":
|
|
5513
|
+
"line": 29
|
|
5480
5514
|
},
|
|
5481
5515
|
"name": "onCancel",
|
|
5482
5516
|
"optional": true,
|
|
@@ -5494,7 +5528,7 @@
|
|
|
5494
5528
|
"immutable": true,
|
|
5495
5529
|
"locationInModule": {
|
|
5496
5530
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5497
|
-
"line":
|
|
5531
|
+
"line": 23
|
|
5498
5532
|
},
|
|
5499
5533
|
"name": "onFailure",
|
|
5500
5534
|
"optional": true,
|
|
@@ -5513,7 +5547,7 @@
|
|
|
5513
5547
|
"immutable": true,
|
|
5514
5548
|
"locationInModule": {
|
|
5515
5549
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5516
|
-
"line":
|
|
5550
|
+
"line": 43
|
|
5517
5551
|
},
|
|
5518
5552
|
"name": "timeoutSeconds",
|
|
5519
5553
|
"optional": true,
|
|
@@ -13856,7 +13890,7 @@
|
|
|
13856
13890
|
},
|
|
13857
13891
|
"locationInModule": {
|
|
13858
13892
|
"filename": "src/simulation/automation/execute-script-simulation.ts",
|
|
13859
|
-
"line":
|
|
13893
|
+
"line": 12
|
|
13860
13894
|
},
|
|
13861
13895
|
"parameters": [
|
|
13862
13896
|
{
|
|
@@ -13870,7 +13904,7 @@
|
|
|
13870
13904
|
"kind": "class",
|
|
13871
13905
|
"locationInModule": {
|
|
13872
13906
|
"filename": "src/simulation/automation/execute-script-simulation.ts",
|
|
13873
|
-
"line":
|
|
13907
|
+
"line": 8
|
|
13874
13908
|
},
|
|
13875
13909
|
"methods": [
|
|
13876
13910
|
{
|
|
@@ -13881,7 +13915,7 @@
|
|
|
13881
13915
|
},
|
|
13882
13916
|
"locationInModule": {
|
|
13883
13917
|
"filename": "src/simulation/automation/execute-script-simulation.ts",
|
|
13884
|
-
"line":
|
|
13918
|
+
"line": 21
|
|
13885
13919
|
},
|
|
13886
13920
|
"name": "executeStep",
|
|
13887
13921
|
"overrides": "@cdklabs/cdk-ssm-documents.AutomationSimulationBase",
|
|
@@ -13919,7 +13953,7 @@
|
|
|
13919
13953
|
"immutable": true,
|
|
13920
13954
|
"locationInModule": {
|
|
13921
13955
|
"filename": "src/simulation/automation/execute-script-simulation.ts",
|
|
13922
|
-
"line":
|
|
13956
|
+
"line": 10
|
|
13923
13957
|
},
|
|
13924
13958
|
"name": "action",
|
|
13925
13959
|
"type": {
|
|
@@ -13933,7 +13967,7 @@
|
|
|
13933
13967
|
"immutable": true,
|
|
13934
13968
|
"locationInModule": {
|
|
13935
13969
|
"filename": "src/simulation/automation/execute-script-simulation.ts",
|
|
13936
|
-
"line":
|
|
13970
|
+
"line": 11
|
|
13937
13971
|
},
|
|
13938
13972
|
"name": "executeScriptStep",
|
|
13939
13973
|
"type": {
|
|
@@ -13957,7 +13991,7 @@
|
|
|
13957
13991
|
},
|
|
13958
13992
|
"locationInModule": {
|
|
13959
13993
|
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
13960
|
-
"line":
|
|
13994
|
+
"line": 242
|
|
13961
13995
|
},
|
|
13962
13996
|
"parameters": [
|
|
13963
13997
|
{
|
|
@@ -13983,33 +14017,9 @@
|
|
|
13983
14017
|
"kind": "class",
|
|
13984
14018
|
"locationInModule": {
|
|
13985
14019
|
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
13986
|
-
"line":
|
|
14020
|
+
"line": 234
|
|
13987
14021
|
},
|
|
13988
14022
|
"methods": [
|
|
13989
|
-
{
|
|
13990
|
-
"docs": {
|
|
13991
|
-
"stability": "stable"
|
|
13992
|
-
},
|
|
13993
|
-
"locationInModule": {
|
|
13994
|
-
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
13995
|
-
"line": 64
|
|
13996
|
-
},
|
|
13997
|
-
"name": "getLanguage",
|
|
13998
|
-
"parameters": [
|
|
13999
|
-
{
|
|
14000
|
-
"name": "runtime",
|
|
14001
|
-
"type": {
|
|
14002
|
-
"primitive": "string"
|
|
14003
|
-
}
|
|
14004
|
-
}
|
|
14005
|
-
],
|
|
14006
|
-
"returns": {
|
|
14007
|
-
"type": {
|
|
14008
|
-
"fqn": "@cdklabs/cdk-ssm-documents.ScriptLanguage"
|
|
14009
|
-
}
|
|
14010
|
-
},
|
|
14011
|
-
"static": true
|
|
14012
|
-
},
|
|
14013
14023
|
{
|
|
14014
14024
|
"docs": {
|
|
14015
14025
|
"stability": "stable",
|
|
@@ -14017,7 +14027,7 @@
|
|
|
14017
14027
|
},
|
|
14018
14028
|
"locationInModule": {
|
|
14019
14029
|
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
14020
|
-
"line":
|
|
14030
|
+
"line": 259
|
|
14021
14031
|
},
|
|
14022
14032
|
"name": "listInputs",
|
|
14023
14033
|
"overrides": "@cdklabs/cdk-ssm-documents.Step",
|
|
@@ -14039,7 +14049,7 @@
|
|
|
14039
14049
|
},
|
|
14040
14050
|
"locationInModule": {
|
|
14041
14051
|
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
14042
|
-
"line":
|
|
14052
|
+
"line": 255
|
|
14043
14053
|
},
|
|
14044
14054
|
"name": "listOutputs",
|
|
14045
14055
|
"overrides": "@cdklabs/cdk-ssm-documents.Step",
|
|
@@ -14061,7 +14071,7 @@
|
|
|
14061
14071
|
},
|
|
14062
14072
|
"locationInModule": {
|
|
14063
14073
|
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
14064
|
-
"line":
|
|
14074
|
+
"line": 263
|
|
14065
14075
|
},
|
|
14066
14076
|
"name": "toSsmEntry",
|
|
14067
14077
|
"overrides": "@cdklabs/cdk-ssm-documents.Step",
|
|
@@ -14086,7 +14096,7 @@
|
|
|
14086
14096
|
"immutable": true,
|
|
14087
14097
|
"locationInModule": {
|
|
14088
14098
|
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
14089
|
-
"line":
|
|
14099
|
+
"line": 240
|
|
14090
14100
|
},
|
|
14091
14101
|
"name": "action",
|
|
14092
14102
|
"overrides": "@cdklabs/cdk-ssm-documents.Step",
|
|
@@ -14101,25 +14111,11 @@
|
|
|
14101
14111
|
"immutable": true,
|
|
14102
14112
|
"locationInModule": {
|
|
14103
14113
|
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
14104
|
-
"line":
|
|
14105
|
-
},
|
|
14106
|
-
"name": "fullPathToCode",
|
|
14107
|
-
"type": {
|
|
14108
|
-
"primitive": "string"
|
|
14109
|
-
}
|
|
14110
|
-
},
|
|
14111
|
-
{
|
|
14112
|
-
"docs": {
|
|
14113
|
-
"stability": "stable"
|
|
14114
|
-
},
|
|
14115
|
-
"immutable": true,
|
|
14116
|
-
"locationInModule": {
|
|
14117
|
-
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
14118
|
-
"line": 79
|
|
14114
|
+
"line": 237
|
|
14119
14115
|
},
|
|
14120
|
-
"name": "
|
|
14116
|
+
"name": "code",
|
|
14121
14117
|
"type": {
|
|
14122
|
-
"
|
|
14118
|
+
"fqn": "@cdklabs/cdk-ssm-documents.ScriptCode"
|
|
14123
14119
|
}
|
|
14124
14120
|
},
|
|
14125
14121
|
{
|
|
@@ -14129,15 +14125,15 @@
|
|
|
14129
14125
|
"immutable": true,
|
|
14130
14126
|
"locationInModule": {
|
|
14131
14127
|
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
14132
|
-
"line":
|
|
14128
|
+
"line": 239
|
|
14133
14129
|
},
|
|
14134
14130
|
"name": "inputs",
|
|
14135
14131
|
"type": {
|
|
14136
14132
|
"collection": {
|
|
14137
14133
|
"elementtype": {
|
|
14138
|
-
"
|
|
14134
|
+
"fqn": "@cdklabs/cdk-ssm-documents.IGenericVariable"
|
|
14139
14135
|
},
|
|
14140
|
-
"kind": "
|
|
14136
|
+
"kind": "map"
|
|
14141
14137
|
}
|
|
14142
14138
|
}
|
|
14143
14139
|
},
|
|
@@ -14148,7 +14144,7 @@
|
|
|
14148
14144
|
"immutable": true,
|
|
14149
14145
|
"locationInModule": {
|
|
14150
14146
|
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
14151
|
-
"line":
|
|
14147
|
+
"line": 236
|
|
14152
14148
|
},
|
|
14153
14149
|
"name": "language",
|
|
14154
14150
|
"type": {
|
|
@@ -14162,7 +14158,7 @@
|
|
|
14162
14158
|
"immutable": true,
|
|
14163
14159
|
"locationInModule": {
|
|
14164
14160
|
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
14165
|
-
"line":
|
|
14161
|
+
"line": 238
|
|
14166
14162
|
},
|
|
14167
14163
|
"name": "outputs",
|
|
14168
14164
|
"type": {
|
|
@@ -14191,100 +14187,63 @@
|
|
|
14191
14187
|
"kind": "interface",
|
|
14192
14188
|
"locationInModule": {
|
|
14193
14189
|
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
14194
|
-
"line":
|
|
14190
|
+
"line": 201
|
|
14195
14191
|
},
|
|
14196
14192
|
"name": "ExecuteScriptStepProps",
|
|
14197
14193
|
"properties": [
|
|
14198
14194
|
{
|
|
14199
14195
|
"abstract": true,
|
|
14200
14196
|
"docs": {
|
|
14201
|
-
"
|
|
14202
|
-
"stability": "stable",
|
|
14203
|
-
"summary": "(Optional) Inputs that the function needs in order to execute."
|
|
14204
|
-
},
|
|
14205
|
-
"immutable": true,
|
|
14206
|
-
"locationInModule": {
|
|
14207
|
-
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
14208
|
-
"line": 55
|
|
14209
|
-
},
|
|
14210
|
-
"name": "inputs",
|
|
14211
|
-
"type": {
|
|
14212
|
-
"collection": {
|
|
14213
|
-
"elementtype": {
|
|
14214
|
-
"primitive": "string"
|
|
14215
|
-
},
|
|
14216
|
-
"kind": "array"
|
|
14217
|
-
}
|
|
14218
|
-
}
|
|
14219
|
-
},
|
|
14220
|
-
{
|
|
14221
|
-
"abstract": true,
|
|
14222
|
-
"docs": {
|
|
14223
|
-
"stability": "stable",
|
|
14224
|
-
"summary": "(Required) Language used to execute the script."
|
|
14225
|
-
},
|
|
14226
|
-
"immutable": true,
|
|
14227
|
-
"locationInModule": {
|
|
14228
|
-
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
14229
|
-
"line": 22
|
|
14230
|
-
},
|
|
14231
|
-
"name": "language",
|
|
14232
|
-
"type": {
|
|
14233
|
-
"fqn": "@cdklabs/cdk-ssm-documents.ScriptLanguage"
|
|
14234
|
-
}
|
|
14235
|
-
},
|
|
14236
|
-
{
|
|
14237
|
-
"abstract": true,
|
|
14238
|
-
"docs": {
|
|
14239
|
-
"remarks": "File is parsed to produce yaml/json.\nSimulation will execute this file using the language specified.\nEither this OR inclineCode must be provided.",
|
|
14197
|
+
"remarks": "String will be used to produce function in yaml/json.\nSimulation will execute the function in this code using the language specified.",
|
|
14240
14198
|
"stability": "stable",
|
|
14241
|
-
"summary": "
|
|
14199
|
+
"summary": "Inline code to be executed."
|
|
14242
14200
|
},
|
|
14243
14201
|
"immutable": true,
|
|
14244
14202
|
"locationInModule": {
|
|
14245
14203
|
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
14246
|
-
"line":
|
|
14204
|
+
"line": 212
|
|
14247
14205
|
},
|
|
14248
|
-
"name": "
|
|
14249
|
-
"optional": true,
|
|
14206
|
+
"name": "code",
|
|
14250
14207
|
"type": {
|
|
14251
|
-
"
|
|
14208
|
+
"fqn": "@cdklabs/cdk-ssm-documents.ScriptCode"
|
|
14252
14209
|
}
|
|
14253
14210
|
},
|
|
14254
14211
|
{
|
|
14255
14212
|
"abstract": true,
|
|
14256
14213
|
"docs": {
|
|
14257
|
-
"
|
|
14214
|
+
"remarks": "This can be used to pass input data to the script.\nThe key of this dict is the variable name that will be available to the code.\nThe value is the Variable object.",
|
|
14258
14215
|
"stability": "stable",
|
|
14259
|
-
"summary": "
|
|
14216
|
+
"summary": "InputPayload that will be passed to the first parameter of the handler."
|
|
14260
14217
|
},
|
|
14261
14218
|
"immutable": true,
|
|
14262
14219
|
"locationInModule": {
|
|
14263
14220
|
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
14264
|
-
"line":
|
|
14221
|
+
"line": 227
|
|
14265
14222
|
},
|
|
14266
|
-
"name": "
|
|
14267
|
-
"optional": true,
|
|
14223
|
+
"name": "inputPayload",
|
|
14268
14224
|
"type": {
|
|
14269
|
-
"
|
|
14225
|
+
"collection": {
|
|
14226
|
+
"elementtype": {
|
|
14227
|
+
"fqn": "@cdklabs/cdk-ssm-documents.IGenericVariable"
|
|
14228
|
+
},
|
|
14229
|
+
"kind": "map"
|
|
14230
|
+
}
|
|
14270
14231
|
}
|
|
14271
14232
|
},
|
|
14272
14233
|
{
|
|
14273
14234
|
"abstract": true,
|
|
14274
14235
|
"docs": {
|
|
14275
|
-
"remarks": "String will be used to produce function in yaml/json.\nSimulation will execute the function in this string using the language specified.\nEither this OR fullPathToCode must be provided.",
|
|
14276
14236
|
"stability": "stable",
|
|
14277
|
-
"summary": "
|
|
14237
|
+
"summary": "(Required) Language used to execute the script."
|
|
14278
14238
|
},
|
|
14279
14239
|
"immutable": true,
|
|
14280
14240
|
"locationInModule": {
|
|
14281
14241
|
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
14282
|
-
"line":
|
|
14242
|
+
"line": 206
|
|
14283
14243
|
},
|
|
14284
|
-
"name": "
|
|
14285
|
-
"optional": true,
|
|
14244
|
+
"name": "language",
|
|
14286
14245
|
"type": {
|
|
14287
|
-
"
|
|
14246
|
+
"fqn": "@cdklabs/cdk-ssm-documents.ScriptLanguage"
|
|
14288
14247
|
}
|
|
14289
14248
|
},
|
|
14290
14249
|
{
|
|
@@ -14298,7 +14257,7 @@
|
|
|
14298
14257
|
"immutable": true,
|
|
14299
14258
|
"locationInModule": {
|
|
14300
14259
|
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
14301
|
-
"line":
|
|
14260
|
+
"line": 219
|
|
14302
14261
|
},
|
|
14303
14262
|
"name": "outputs",
|
|
14304
14263
|
"optional": true,
|
|
@@ -14679,91 +14638,183 @@
|
|
|
14679
14638
|
],
|
|
14680
14639
|
"symbolId": "src/parent-steps/automation/execute-state-machine-step:ExecuteStateMachineStepProps"
|
|
14681
14640
|
},
|
|
14682
|
-
"@cdklabs/cdk-ssm-documents.
|
|
14683
|
-
"abstract": true,
|
|
14641
|
+
"@cdklabs/cdk-ssm-documents.FileScriptCode": {
|
|
14684
14642
|
"assembly": "@cdklabs/cdk-ssm-documents",
|
|
14643
|
+
"base": "@cdklabs/cdk-ssm-documents.ScriptCode",
|
|
14685
14644
|
"docs": {
|
|
14686
|
-
"
|
|
14687
|
-
"stability": "stable",
|
|
14688
|
-
"summary": "Abstraction of SSM variables."
|
|
14645
|
+
"stability": "stable"
|
|
14689
14646
|
},
|
|
14690
|
-
"fqn": "@cdklabs/cdk-ssm-documents.
|
|
14647
|
+
"fqn": "@cdklabs/cdk-ssm-documents.FileScriptCode",
|
|
14691
14648
|
"initializer": {
|
|
14692
14649
|
"docs": {
|
|
14693
14650
|
"stability": "stable"
|
|
14694
14651
|
},
|
|
14695
14652
|
"locationInModule": {
|
|
14696
|
-
"filename": "src/
|
|
14697
|
-
"line":
|
|
14653
|
+
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
14654
|
+
"line": 75
|
|
14698
14655
|
},
|
|
14699
14656
|
"parameters": [
|
|
14700
14657
|
{
|
|
14701
|
-
"name": "
|
|
14658
|
+
"name": "fullPath",
|
|
14702
14659
|
"type": {
|
|
14703
14660
|
"primitive": "string"
|
|
14704
14661
|
}
|
|
14705
14662
|
}
|
|
14706
14663
|
]
|
|
14707
14664
|
},
|
|
14708
|
-
"interfaces": [
|
|
14709
|
-
"@cdklabs/cdk-ssm-documents.IGenericVariable"
|
|
14710
|
-
],
|
|
14711
14665
|
"kind": "class",
|
|
14712
14666
|
"locationInModule": {
|
|
14713
|
-
"filename": "src/
|
|
14714
|
-
"line":
|
|
14667
|
+
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
14668
|
+
"line": 73
|
|
14715
14669
|
},
|
|
14716
14670
|
"methods": [
|
|
14717
14671
|
{
|
|
14718
|
-
"abstract": true,
|
|
14719
14672
|
"docs": {
|
|
14720
14673
|
"stability": "stable"
|
|
14721
14674
|
},
|
|
14722
14675
|
"locationInModule": {
|
|
14723
|
-
"filename": "src/
|
|
14724
|
-
"line":
|
|
14676
|
+
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
14677
|
+
"line": 79
|
|
14725
14678
|
},
|
|
14726
|
-
"name": "
|
|
14727
|
-
"
|
|
14728
|
-
|
|
14729
|
-
|
|
14730
|
-
"
|
|
14731
|
-
"primitive": "any"
|
|
14732
|
-
}
|
|
14679
|
+
"name": "codeAsString",
|
|
14680
|
+
"overrides": "@cdklabs/cdk-ssm-documents.ScriptCode",
|
|
14681
|
+
"returns": {
|
|
14682
|
+
"type": {
|
|
14683
|
+
"primitive": "string"
|
|
14733
14684
|
}
|
|
14734
|
-
|
|
14735
|
-
"protected": true
|
|
14685
|
+
}
|
|
14736
14686
|
},
|
|
14737
14687
|
{
|
|
14738
14688
|
"docs": {
|
|
14739
|
-
"remarks": "
|
|
14689
|
+
"remarks": "Otherwise, create a file with the specified suffix.",
|
|
14740
14690
|
"stability": "stable",
|
|
14741
|
-
"summary": "
|
|
14691
|
+
"summary": "If there is a file for this code, return it."
|
|
14742
14692
|
},
|
|
14743
14693
|
"locationInModule": {
|
|
14744
|
-
"filename": "src/
|
|
14694
|
+
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
14745
14695
|
"line": 83
|
|
14746
14696
|
},
|
|
14747
|
-
"name": "
|
|
14748
|
-
"overrides": "@cdklabs/cdk-ssm-documents.
|
|
14697
|
+
"name": "createOrGetFile",
|
|
14698
|
+
"overrides": "@cdklabs/cdk-ssm-documents.ScriptCode",
|
|
14699
|
+
"parameters": [
|
|
14700
|
+
{
|
|
14701
|
+
"name": "_suffix",
|
|
14702
|
+
"type": {
|
|
14703
|
+
"primitive": "string"
|
|
14704
|
+
}
|
|
14705
|
+
}
|
|
14706
|
+
],
|
|
14749
14707
|
"returns": {
|
|
14750
14708
|
"type": {
|
|
14751
|
-
"primitive": "
|
|
14709
|
+
"primitive": "string"
|
|
14752
14710
|
}
|
|
14753
14711
|
}
|
|
14754
|
-
}
|
|
14712
|
+
}
|
|
14713
|
+
],
|
|
14714
|
+
"name": "FileScriptCode",
|
|
14715
|
+
"properties": [
|
|
14755
14716
|
{
|
|
14756
14717
|
"docs": {
|
|
14757
|
-
"
|
|
14758
|
-
"stability": "stable",
|
|
14759
|
-
"summary": "The inputs that are required for determining the value of this variable."
|
|
14718
|
+
"stability": "stable"
|
|
14760
14719
|
},
|
|
14720
|
+
"immutable": true,
|
|
14761
14721
|
"locationInModule": {
|
|
14762
|
-
"filename": "src/
|
|
14763
|
-
"line":
|
|
14722
|
+
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
14723
|
+
"line": 74
|
|
14764
14724
|
},
|
|
14765
|
-
"name": "
|
|
14766
|
-
"
|
|
14725
|
+
"name": "fullPath",
|
|
14726
|
+
"type": {
|
|
14727
|
+
"primitive": "string"
|
|
14728
|
+
}
|
|
14729
|
+
}
|
|
14730
|
+
],
|
|
14731
|
+
"symbolId": "src/parent-steps/automation/execute-script-step:FileScriptCode"
|
|
14732
|
+
},
|
|
14733
|
+
"@cdklabs/cdk-ssm-documents.GenericVariable": {
|
|
14734
|
+
"abstract": true,
|
|
14735
|
+
"assembly": "@cdklabs/cdk-ssm-documents",
|
|
14736
|
+
"docs": {
|
|
14737
|
+
"remarks": "Variables are printed as using this syntax: {{ myVariable }}\nTo resolve a variable, you must supply the available inputs and the variable will resolve the value.",
|
|
14738
|
+
"stability": "stable",
|
|
14739
|
+
"summary": "Abstraction of SSM variables."
|
|
14740
|
+
},
|
|
14741
|
+
"fqn": "@cdklabs/cdk-ssm-documents.GenericVariable",
|
|
14742
|
+
"initializer": {
|
|
14743
|
+
"docs": {
|
|
14744
|
+
"stability": "stable"
|
|
14745
|
+
},
|
|
14746
|
+
"locationInModule": {
|
|
14747
|
+
"filename": "src/interface/variables/variable.ts",
|
|
14748
|
+
"line": 72
|
|
14749
|
+
},
|
|
14750
|
+
"parameters": [
|
|
14751
|
+
{
|
|
14752
|
+
"name": "reference",
|
|
14753
|
+
"type": {
|
|
14754
|
+
"primitive": "string"
|
|
14755
|
+
}
|
|
14756
|
+
}
|
|
14757
|
+
]
|
|
14758
|
+
},
|
|
14759
|
+
"interfaces": [
|
|
14760
|
+
"@cdklabs/cdk-ssm-documents.IGenericVariable"
|
|
14761
|
+
],
|
|
14762
|
+
"kind": "class",
|
|
14763
|
+
"locationInModule": {
|
|
14764
|
+
"filename": "src/interface/variables/variable.ts",
|
|
14765
|
+
"line": 69
|
|
14766
|
+
},
|
|
14767
|
+
"methods": [
|
|
14768
|
+
{
|
|
14769
|
+
"abstract": true,
|
|
14770
|
+
"docs": {
|
|
14771
|
+
"stability": "stable"
|
|
14772
|
+
},
|
|
14773
|
+
"locationInModule": {
|
|
14774
|
+
"filename": "src/interface/variables/variable.ts",
|
|
14775
|
+
"line": 99
|
|
14776
|
+
},
|
|
14777
|
+
"name": "assertType",
|
|
14778
|
+
"parameters": [
|
|
14779
|
+
{
|
|
14780
|
+
"name": "value",
|
|
14781
|
+
"type": {
|
|
14782
|
+
"primitive": "any"
|
|
14783
|
+
}
|
|
14784
|
+
}
|
|
14785
|
+
],
|
|
14786
|
+
"protected": true
|
|
14787
|
+
},
|
|
14788
|
+
{
|
|
14789
|
+
"docs": {
|
|
14790
|
+
"remarks": "This is typically in the form of {{ Variable }} or the value.",
|
|
14791
|
+
"stability": "stable",
|
|
14792
|
+
"summary": "Prints the variable in a way that SSM understands."
|
|
14793
|
+
},
|
|
14794
|
+
"locationInModule": {
|
|
14795
|
+
"filename": "src/interface/variables/variable.ts",
|
|
14796
|
+
"line": 83
|
|
14797
|
+
},
|
|
14798
|
+
"name": "print",
|
|
14799
|
+
"overrides": "@cdklabs/cdk-ssm-documents.IGenericVariable",
|
|
14800
|
+
"returns": {
|
|
14801
|
+
"type": {
|
|
14802
|
+
"primitive": "any"
|
|
14803
|
+
}
|
|
14804
|
+
}
|
|
14805
|
+
},
|
|
14806
|
+
{
|
|
14807
|
+
"docs": {
|
|
14808
|
+
"remarks": "In the case of a single variable string, this will return a single value.",
|
|
14809
|
+
"stability": "stable",
|
|
14810
|
+
"summary": "The inputs that are required for determining the value of this variable."
|
|
14811
|
+
},
|
|
14812
|
+
"locationInModule": {
|
|
14813
|
+
"filename": "src/interface/variables/variable.ts",
|
|
14814
|
+
"line": 91
|
|
14815
|
+
},
|
|
14816
|
+
"name": "requiredInputs",
|
|
14817
|
+
"overrides": "@cdklabs/cdk-ssm-documents.IGenericVariable",
|
|
14767
14818
|
"returns": {
|
|
14768
14819
|
"type": {
|
|
14769
14820
|
"collection": {
|
|
@@ -17114,7 +17165,7 @@
|
|
|
17114
17165
|
},
|
|
17115
17166
|
"locationInModule": {
|
|
17116
17167
|
"filename": "src/samples/hello-world.ts",
|
|
17117
|
-
"line":
|
|
17168
|
+
"line": 16
|
|
17118
17169
|
},
|
|
17119
17170
|
"parameters": [
|
|
17120
17171
|
{
|
|
@@ -17134,7 +17185,7 @@
|
|
|
17134
17185
|
"kind": "class",
|
|
17135
17186
|
"locationInModule": {
|
|
17136
17187
|
"filename": "src/samples/hello-world.ts",
|
|
17137
|
-
"line":
|
|
17188
|
+
"line": 15
|
|
17138
17189
|
},
|
|
17139
17190
|
"name": "HelloWorld",
|
|
17140
17191
|
"symbolId": "src/samples/hello-world:HelloWorld"
|
|
@@ -18524,6 +18575,98 @@
|
|
|
18524
18575
|
"name": "IWebhook",
|
|
18525
18576
|
"symbolId": "src/interface/webhook:IWebhook"
|
|
18526
18577
|
},
|
|
18578
|
+
"@cdklabs/cdk-ssm-documents.InlineScriptCode": {
|
|
18579
|
+
"assembly": "@cdklabs/cdk-ssm-documents",
|
|
18580
|
+
"base": "@cdklabs/cdk-ssm-documents.ScriptCode",
|
|
18581
|
+
"docs": {
|
|
18582
|
+
"stability": "stable"
|
|
18583
|
+
},
|
|
18584
|
+
"fqn": "@cdklabs/cdk-ssm-documents.InlineScriptCode",
|
|
18585
|
+
"initializer": {
|
|
18586
|
+
"docs": {
|
|
18587
|
+
"stability": "stable"
|
|
18588
|
+
},
|
|
18589
|
+
"locationInModule": {
|
|
18590
|
+
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
18591
|
+
"line": 59
|
|
18592
|
+
},
|
|
18593
|
+
"parameters": [
|
|
18594
|
+
{
|
|
18595
|
+
"name": "inlineCode",
|
|
18596
|
+
"type": {
|
|
18597
|
+
"primitive": "string"
|
|
18598
|
+
}
|
|
18599
|
+
}
|
|
18600
|
+
]
|
|
18601
|
+
},
|
|
18602
|
+
"kind": "class",
|
|
18603
|
+
"locationInModule": {
|
|
18604
|
+
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
18605
|
+
"line": 48
|
|
18606
|
+
},
|
|
18607
|
+
"methods": [
|
|
18608
|
+
{
|
|
18609
|
+
"docs": {
|
|
18610
|
+
"stability": "stable"
|
|
18611
|
+
},
|
|
18612
|
+
"locationInModule": {
|
|
18613
|
+
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
18614
|
+
"line": 64
|
|
18615
|
+
},
|
|
18616
|
+
"name": "codeAsString",
|
|
18617
|
+
"overrides": "@cdklabs/cdk-ssm-documents.ScriptCode",
|
|
18618
|
+
"returns": {
|
|
18619
|
+
"type": {
|
|
18620
|
+
"primitive": "string"
|
|
18621
|
+
}
|
|
18622
|
+
}
|
|
18623
|
+
},
|
|
18624
|
+
{
|
|
18625
|
+
"docs": {
|
|
18626
|
+
"remarks": "Otherwise, create a file with the specified suffix.",
|
|
18627
|
+
"stability": "stable",
|
|
18628
|
+
"summary": "If there is a file for this code, return it."
|
|
18629
|
+
},
|
|
18630
|
+
"locationInModule": {
|
|
18631
|
+
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
18632
|
+
"line": 68
|
|
18633
|
+
},
|
|
18634
|
+
"name": "createOrGetFile",
|
|
18635
|
+
"overrides": "@cdklabs/cdk-ssm-documents.ScriptCode",
|
|
18636
|
+
"parameters": [
|
|
18637
|
+
{
|
|
18638
|
+
"name": "suffix",
|
|
18639
|
+
"type": {
|
|
18640
|
+
"primitive": "string"
|
|
18641
|
+
}
|
|
18642
|
+
}
|
|
18643
|
+
],
|
|
18644
|
+
"returns": {
|
|
18645
|
+
"type": {
|
|
18646
|
+
"primitive": "string"
|
|
18647
|
+
}
|
|
18648
|
+
}
|
|
18649
|
+
}
|
|
18650
|
+
],
|
|
18651
|
+
"name": "InlineScriptCode",
|
|
18652
|
+
"properties": [
|
|
18653
|
+
{
|
|
18654
|
+
"docs": {
|
|
18655
|
+
"stability": "stable"
|
|
18656
|
+
},
|
|
18657
|
+
"immutable": true,
|
|
18658
|
+
"locationInModule": {
|
|
18659
|
+
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
18660
|
+
"line": 58
|
|
18661
|
+
},
|
|
18662
|
+
"name": "inlineCode",
|
|
18663
|
+
"type": {
|
|
18664
|
+
"primitive": "string"
|
|
18665
|
+
}
|
|
18666
|
+
}
|
|
18667
|
+
],
|
|
18668
|
+
"symbolId": "src/parent-steps/automation/execute-script-step:InlineScriptCode"
|
|
18669
|
+
},
|
|
18527
18670
|
"@cdklabs/cdk-ssm-documents.Input": {
|
|
18528
18671
|
"abstract": true,
|
|
18529
18672
|
"assembly": "@cdklabs/cdk-ssm-documents",
|
|
@@ -23306,6 +23449,42 @@
|
|
|
23306
23449
|
],
|
|
23307
23450
|
"symbolId": "src/parent-steps/command/ps-module-step:PsModuleStepProps"
|
|
23308
23451
|
},
|
|
23452
|
+
"@cdklabs/cdk-ssm-documents.PythonVersion": {
|
|
23453
|
+
"assembly": "@cdklabs/cdk-ssm-documents",
|
|
23454
|
+
"docs": {
|
|
23455
|
+
"remarks": "Simulation will use local python version.",
|
|
23456
|
+
"stability": "stable",
|
|
23457
|
+
"summary": "Python runtime to use when writing SSM Document."
|
|
23458
|
+
},
|
|
23459
|
+
"fqn": "@cdklabs/cdk-ssm-documents.PythonVersion",
|
|
23460
|
+
"kind": "enum",
|
|
23461
|
+
"locationInModule": {
|
|
23462
|
+
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
23463
|
+
"line": 192
|
|
23464
|
+
},
|
|
23465
|
+
"members": [
|
|
23466
|
+
{
|
|
23467
|
+
"docs": {
|
|
23468
|
+
"stability": "stable"
|
|
23469
|
+
},
|
|
23470
|
+
"name": "VERSION_3_6"
|
|
23471
|
+
},
|
|
23472
|
+
{
|
|
23473
|
+
"docs": {
|
|
23474
|
+
"stability": "stable"
|
|
23475
|
+
},
|
|
23476
|
+
"name": "VERSION_3_7"
|
|
23477
|
+
},
|
|
23478
|
+
{
|
|
23479
|
+
"docs": {
|
|
23480
|
+
"stability": "stable"
|
|
23481
|
+
},
|
|
23482
|
+
"name": "VERSION_3_8"
|
|
23483
|
+
}
|
|
23484
|
+
],
|
|
23485
|
+
"name": "PythonVersion",
|
|
23486
|
+
"symbolId": "src/parent-steps/automation/execute-script-step:PythonVersion"
|
|
23487
|
+
},
|
|
23309
23488
|
"@cdklabs/cdk-ssm-documents.RebootInstanceAndWait": {
|
|
23310
23489
|
"assembly": "@cdklabs/cdk-ssm-documents",
|
|
23311
23490
|
"base": "@cdklabs/cdk-ssm-documents.CompositeAutomationStep",
|
|
@@ -27458,63 +27637,40 @@
|
|
|
27458
27637
|
],
|
|
27459
27638
|
"symbolId": "src/interface/downloadable-content:SSMDocumentContent"
|
|
27460
27639
|
},
|
|
27461
|
-
"@cdklabs/cdk-ssm-documents.
|
|
27462
|
-
"assembly": "@cdklabs/cdk-ssm-documents",
|
|
27463
|
-
"docs": {
|
|
27464
|
-
"stability": "stable"
|
|
27465
|
-
},
|
|
27466
|
-
"fqn": "@cdklabs/cdk-ssm-documents.ScriptLanguage",
|
|
27467
|
-
"kind": "enum",
|
|
27468
|
-
"locationInModule": {
|
|
27469
|
-
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
27470
|
-
"line": 10
|
|
27471
|
-
},
|
|
27472
|
-
"members": [
|
|
27473
|
-
{
|
|
27474
|
-
"docs": {
|
|
27475
|
-
"stability": "stable"
|
|
27476
|
-
},
|
|
27477
|
-
"name": "PYTHON"
|
|
27478
|
-
}
|
|
27479
|
-
],
|
|
27480
|
-
"name": "ScriptLanguage",
|
|
27481
|
-
"symbolId": "src/parent-steps/automation/execute-script-step:ScriptLanguage"
|
|
27482
|
-
},
|
|
27483
|
-
"@cdklabs/cdk-ssm-documents.SecureVariable": {
|
|
27640
|
+
"@cdklabs/cdk-ssm-documents.ScriptCode": {
|
|
27484
27641
|
"abstract": true,
|
|
27485
27642
|
"assembly": "@cdklabs/cdk-ssm-documents",
|
|
27486
27643
|
"docs": {
|
|
27487
|
-
"remarks": "
|
|
27644
|
+
"remarks": "See \"script\" parameter here:\nhttps://docs.aws.amazon.com/systems-manager/latest/userguide/automation-action-executeScript.html\nAttachments are not yet supported.",
|
|
27488
27645
|
"stability": "stable",
|
|
27489
|
-
"summary": "
|
|
27646
|
+
"summary": "The code to run for the execution."
|
|
27490
27647
|
},
|
|
27491
|
-
"fqn": "@cdklabs/cdk-ssm-documents.
|
|
27648
|
+
"fqn": "@cdklabs/cdk-ssm-documents.ScriptCode",
|
|
27492
27649
|
"initializer": {
|
|
27493
27650
|
"docs": {
|
|
27494
27651
|
"stability": "stable"
|
|
27495
27652
|
}
|
|
27496
27653
|
},
|
|
27497
|
-
"interfaces": [
|
|
27498
|
-
"@cdklabs/cdk-ssm-documents.IGenericVariable"
|
|
27499
|
-
],
|
|
27500
27654
|
"kind": "class",
|
|
27501
27655
|
"locationInModule": {
|
|
27502
|
-
"filename": "src/
|
|
27503
|
-
"line":
|
|
27656
|
+
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
27657
|
+
"line": 18
|
|
27504
27658
|
},
|
|
27505
27659
|
"methods": [
|
|
27506
27660
|
{
|
|
27507
27661
|
"docs": {
|
|
27508
|
-
"
|
|
27662
|
+
"remarks": "File is parsed to produce yaml/json.\nSimulation will execute this file using the language specified.\n(Attachments not yet supported)",
|
|
27663
|
+
"stability": "stable",
|
|
27664
|
+
"summary": "Full path to the code to execute."
|
|
27509
27665
|
},
|
|
27510
27666
|
"locationInModule": {
|
|
27511
|
-
"filename": "src/
|
|
27512
|
-
"line":
|
|
27667
|
+
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
27668
|
+
"line": 31
|
|
27513
27669
|
},
|
|
27514
|
-
"name": "
|
|
27670
|
+
"name": "fromFile",
|
|
27515
27671
|
"parameters": [
|
|
27516
27672
|
{
|
|
27517
|
-
"name": "
|
|
27673
|
+
"name": "fullPath",
|
|
27518
27674
|
"type": {
|
|
27519
27675
|
"primitive": "string"
|
|
27520
27676
|
}
|
|
@@ -27522,23 +27678,25 @@
|
|
|
27522
27678
|
],
|
|
27523
27679
|
"returns": {
|
|
27524
27680
|
"type": {
|
|
27525
|
-
"fqn": "@cdklabs/cdk-ssm-documents.
|
|
27681
|
+
"fqn": "@cdklabs/cdk-ssm-documents.FileScriptCode"
|
|
27526
27682
|
}
|
|
27527
27683
|
},
|
|
27528
27684
|
"static": true
|
|
27529
27685
|
},
|
|
27530
27686
|
{
|
|
27531
27687
|
"docs": {
|
|
27532
|
-
"
|
|
27688
|
+
"remarks": "String will be used to produce function in yaml/json.\nSimulation will execute the function in this string using the language specified.",
|
|
27689
|
+
"stability": "stable",
|
|
27690
|
+
"summary": "Inline code to be executed."
|
|
27533
27691
|
},
|
|
27534
27692
|
"locationInModule": {
|
|
27535
|
-
"filename": "src/
|
|
27536
|
-
"line":
|
|
27693
|
+
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
27694
|
+
"line": 23
|
|
27537
27695
|
},
|
|
27538
|
-
"name": "
|
|
27696
|
+
"name": "inline",
|
|
27539
27697
|
"parameters": [
|
|
27540
27698
|
{
|
|
27541
|
-
"name": "
|
|
27699
|
+
"name": "code",
|
|
27542
27700
|
"type": {
|
|
27543
27701
|
"primitive": "string"
|
|
27544
27702
|
}
|
|
@@ -27546,19 +27704,337 @@
|
|
|
27546
27704
|
],
|
|
27547
27705
|
"returns": {
|
|
27548
27706
|
"type": {
|
|
27549
|
-
"fqn": "@cdklabs/cdk-ssm-documents.
|
|
27707
|
+
"fqn": "@cdklabs/cdk-ssm-documents.InlineScriptCode"
|
|
27550
27708
|
}
|
|
27551
27709
|
},
|
|
27552
27710
|
"static": true
|
|
27553
27711
|
},
|
|
27554
27712
|
{
|
|
27713
|
+
"abstract": true,
|
|
27555
27714
|
"docs": {
|
|
27715
|
+
"returns": "code as a string",
|
|
27556
27716
|
"stability": "stable"
|
|
27557
27717
|
},
|
|
27558
27718
|
"locationInModule": {
|
|
27559
|
-
"filename": "src/
|
|
27560
|
-
"line":
|
|
27561
|
-
},
|
|
27719
|
+
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
27720
|
+
"line": 38
|
|
27721
|
+
},
|
|
27722
|
+
"name": "codeAsString",
|
|
27723
|
+
"returns": {
|
|
27724
|
+
"type": {
|
|
27725
|
+
"primitive": "string"
|
|
27726
|
+
}
|
|
27727
|
+
}
|
|
27728
|
+
},
|
|
27729
|
+
{
|
|
27730
|
+
"abstract": true,
|
|
27731
|
+
"docs": {
|
|
27732
|
+
"remarks": "Otherwise, create a file with the specified suffix.",
|
|
27733
|
+
"stability": "stable",
|
|
27734
|
+
"summary": "If there is a file for this code, return it."
|
|
27735
|
+
},
|
|
27736
|
+
"locationInModule": {
|
|
27737
|
+
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
27738
|
+
"line": 45
|
|
27739
|
+
},
|
|
27740
|
+
"name": "createOrGetFile",
|
|
27741
|
+
"parameters": [
|
|
27742
|
+
{
|
|
27743
|
+
"docs": {
|
|
27744
|
+
"summary": "of the file to create (such as \".py\")."
|
|
27745
|
+
},
|
|
27746
|
+
"name": "suffix",
|
|
27747
|
+
"type": {
|
|
27748
|
+
"primitive": "string"
|
|
27749
|
+
}
|
|
27750
|
+
}
|
|
27751
|
+
],
|
|
27752
|
+
"returns": {
|
|
27753
|
+
"type": {
|
|
27754
|
+
"primitive": "string"
|
|
27755
|
+
}
|
|
27756
|
+
}
|
|
27757
|
+
}
|
|
27758
|
+
],
|
|
27759
|
+
"name": "ScriptCode",
|
|
27760
|
+
"symbolId": "src/parent-steps/automation/execute-script-step:ScriptCode"
|
|
27761
|
+
},
|
|
27762
|
+
"@cdklabs/cdk-ssm-documents.ScriptLanguage": {
|
|
27763
|
+
"abstract": true,
|
|
27764
|
+
"assembly": "@cdklabs/cdk-ssm-documents",
|
|
27765
|
+
"docs": {
|
|
27766
|
+
"stability": "stable",
|
|
27767
|
+
"summary": "Specifies the script language as described in the \"Runtime\" argument here: https://docs.aws.amazon.com/systems-manager/latest/userguide/automation-action-executeScript.html."
|
|
27768
|
+
},
|
|
27769
|
+
"fqn": "@cdklabs/cdk-ssm-documents.ScriptLanguage",
|
|
27770
|
+
"initializer": {
|
|
27771
|
+
"docs": {
|
|
27772
|
+
"stability": "stable"
|
|
27773
|
+
}
|
|
27774
|
+
},
|
|
27775
|
+
"kind": "class",
|
|
27776
|
+
"locationInModule": {
|
|
27777
|
+
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
27778
|
+
"line": 92
|
|
27779
|
+
},
|
|
27780
|
+
"methods": [
|
|
27781
|
+
{
|
|
27782
|
+
"docs": {
|
|
27783
|
+
"remarks": "Prefer one of the other static constructors if possible.",
|
|
27784
|
+
"stability": "stable",
|
|
27785
|
+
"summary": "Creates a ScriptLanguage based on the provided runtime."
|
|
27786
|
+
},
|
|
27787
|
+
"locationInModule": {
|
|
27788
|
+
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
27789
|
+
"line": 109
|
|
27790
|
+
},
|
|
27791
|
+
"name": "fromRuntime",
|
|
27792
|
+
"parameters": [
|
|
27793
|
+
{
|
|
27794
|
+
"docs": {
|
|
27795
|
+
"summary": "is the runtime name (such as \"python3.6\")."
|
|
27796
|
+
},
|
|
27797
|
+
"name": "runtime",
|
|
27798
|
+
"type": {
|
|
27799
|
+
"primitive": "string"
|
|
27800
|
+
}
|
|
27801
|
+
},
|
|
27802
|
+
{
|
|
27803
|
+
"docs": {
|
|
27804
|
+
"summary": "to be provided for python executions."
|
|
27805
|
+
},
|
|
27806
|
+
"name": "handlerName",
|
|
27807
|
+
"optional": true,
|
|
27808
|
+
"type": {
|
|
27809
|
+
"primitive": "string"
|
|
27810
|
+
}
|
|
27811
|
+
}
|
|
27812
|
+
],
|
|
27813
|
+
"returns": {
|
|
27814
|
+
"type": {
|
|
27815
|
+
"fqn": "@cdklabs/cdk-ssm-documents.ScriptLanguage"
|
|
27816
|
+
}
|
|
27817
|
+
},
|
|
27818
|
+
"static": true
|
|
27819
|
+
},
|
|
27820
|
+
{
|
|
27821
|
+
"docs": {
|
|
27822
|
+
"stability": "stable",
|
|
27823
|
+
"summary": "Create a new ScriptLanguage for python execution."
|
|
27824
|
+
},
|
|
27825
|
+
"locationInModule": {
|
|
27826
|
+
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
27827
|
+
"line": 99
|
|
27828
|
+
},
|
|
27829
|
+
"name": "python",
|
|
27830
|
+
"parameters": [
|
|
27831
|
+
{
|
|
27832
|
+
"docs": {
|
|
27833
|
+
"summary": "is the pythonVersion to use when writing the document (for simulation will not matter)."
|
|
27834
|
+
},
|
|
27835
|
+
"name": "version",
|
|
27836
|
+
"type": {
|
|
27837
|
+
"fqn": "@cdklabs/cdk-ssm-documents.PythonVersion"
|
|
27838
|
+
}
|
|
27839
|
+
},
|
|
27840
|
+
{
|
|
27841
|
+
"docs": {
|
|
27842
|
+
"summary": "is the function name in code as entry point for script handler."
|
|
27843
|
+
},
|
|
27844
|
+
"name": "handlerName",
|
|
27845
|
+
"type": {
|
|
27846
|
+
"primitive": "string"
|
|
27847
|
+
}
|
|
27848
|
+
}
|
|
27849
|
+
],
|
|
27850
|
+
"returns": {
|
|
27851
|
+
"type": {
|
|
27852
|
+
"fqn": "@cdklabs/cdk-ssm-documents.ScriptLanguage"
|
|
27853
|
+
}
|
|
27854
|
+
},
|
|
27855
|
+
"static": true
|
|
27856
|
+
},
|
|
27857
|
+
{
|
|
27858
|
+
"abstract": true,
|
|
27859
|
+
"docs": {
|
|
27860
|
+
"stability": "stable",
|
|
27861
|
+
"summary": "The suffix to apply to file names of this type of execution."
|
|
27862
|
+
},
|
|
27863
|
+
"locationInModule": {
|
|
27864
|
+
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
27865
|
+
"line": 142
|
|
27866
|
+
},
|
|
27867
|
+
"name": "fileSuffix",
|
|
27868
|
+
"returns": {
|
|
27869
|
+
"type": {
|
|
27870
|
+
"primitive": "string"
|
|
27871
|
+
}
|
|
27872
|
+
}
|
|
27873
|
+
},
|
|
27874
|
+
{
|
|
27875
|
+
"abstract": true,
|
|
27876
|
+
"docs": {
|
|
27877
|
+
"stability": "stable",
|
|
27878
|
+
"summary": "The associated runtime of this ScriptLanguage."
|
|
27879
|
+
},
|
|
27880
|
+
"locationInModule": {
|
|
27881
|
+
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
27882
|
+
"line": 137
|
|
27883
|
+
},
|
|
27884
|
+
"name": "runtime",
|
|
27885
|
+
"returns": {
|
|
27886
|
+
"type": {
|
|
27887
|
+
"primitive": "string"
|
|
27888
|
+
}
|
|
27889
|
+
}
|
|
27890
|
+
},
|
|
27891
|
+
{
|
|
27892
|
+
"abstract": true,
|
|
27893
|
+
"docs": {
|
|
27894
|
+
"remarks": "Provide the inputs after replaced with the actual values (not variables).",
|
|
27895
|
+
"stability": "stable",
|
|
27896
|
+
"summary": "Simulate an execution of this ScriptLanguage."
|
|
27897
|
+
},
|
|
27898
|
+
"locationInModule": {
|
|
27899
|
+
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
27900
|
+
"line": 148
|
|
27901
|
+
},
|
|
27902
|
+
"name": "simulate",
|
|
27903
|
+
"parameters": [
|
|
27904
|
+
{
|
|
27905
|
+
"name": "code",
|
|
27906
|
+
"type": {
|
|
27907
|
+
"fqn": "@cdklabs/cdk-ssm-documents.ScriptCode"
|
|
27908
|
+
}
|
|
27909
|
+
},
|
|
27910
|
+
{
|
|
27911
|
+
"name": "inputs",
|
|
27912
|
+
"type": {
|
|
27913
|
+
"collection": {
|
|
27914
|
+
"elementtype": {
|
|
27915
|
+
"primitive": "string"
|
|
27916
|
+
},
|
|
27917
|
+
"kind": "map"
|
|
27918
|
+
}
|
|
27919
|
+
}
|
|
27920
|
+
}
|
|
27921
|
+
],
|
|
27922
|
+
"returns": {
|
|
27923
|
+
"type": {
|
|
27924
|
+
"collection": {
|
|
27925
|
+
"elementtype": {
|
|
27926
|
+
"primitive": "string"
|
|
27927
|
+
},
|
|
27928
|
+
"kind": "map"
|
|
27929
|
+
}
|
|
27930
|
+
}
|
|
27931
|
+
}
|
|
27932
|
+
},
|
|
27933
|
+
{
|
|
27934
|
+
"abstract": true,
|
|
27935
|
+
"docs": {
|
|
27936
|
+
"stability": "stable",
|
|
27937
|
+
"summary": "Builds the ssm inputs."
|
|
27938
|
+
},
|
|
27939
|
+
"locationInModule": {
|
|
27940
|
+
"filename": "src/parent-steps/automation/execute-script-step.ts",
|
|
27941
|
+
"line": 132
|
|
27942
|
+
},
|
|
27943
|
+
"name": "ssmInputs",
|
|
27944
|
+
"returns": {
|
|
27945
|
+
"type": {
|
|
27946
|
+
"collection": {
|
|
27947
|
+
"elementtype": {
|
|
27948
|
+
"primitive": "string"
|
|
27949
|
+
},
|
|
27950
|
+
"kind": "map"
|
|
27951
|
+
}
|
|
27952
|
+
}
|
|
27953
|
+
}
|
|
27954
|
+
}
|
|
27955
|
+
],
|
|
27956
|
+
"name": "ScriptLanguage",
|
|
27957
|
+
"symbolId": "src/parent-steps/automation/execute-script-step:ScriptLanguage"
|
|
27958
|
+
},
|
|
27959
|
+
"@cdklabs/cdk-ssm-documents.SecureVariable": {
|
|
27960
|
+
"abstract": true,
|
|
27961
|
+
"assembly": "@cdklabs/cdk-ssm-documents",
|
|
27962
|
+
"docs": {
|
|
27963
|
+
"remarks": "Only supported by Command documents (only supported in downloadContent plugin).",
|
|
27964
|
+
"stability": "stable",
|
|
27965
|
+
"summary": "A secure string variable."
|
|
27966
|
+
},
|
|
27967
|
+
"fqn": "@cdklabs/cdk-ssm-documents.SecureVariable",
|
|
27968
|
+
"initializer": {
|
|
27969
|
+
"docs": {
|
|
27970
|
+
"stability": "stable"
|
|
27971
|
+
}
|
|
27972
|
+
},
|
|
27973
|
+
"interfaces": [
|
|
27974
|
+
"@cdklabs/cdk-ssm-documents.IGenericVariable"
|
|
27975
|
+
],
|
|
27976
|
+
"kind": "class",
|
|
27977
|
+
"locationInModule": {
|
|
27978
|
+
"filename": "src/interface/variables/secure-string-variable.ts",
|
|
27979
|
+
"line": 6
|
|
27980
|
+
},
|
|
27981
|
+
"methods": [
|
|
27982
|
+
{
|
|
27983
|
+
"docs": {
|
|
27984
|
+
"stability": "stable"
|
|
27985
|
+
},
|
|
27986
|
+
"locationInModule": {
|
|
27987
|
+
"filename": "src/interface/variables/secure-string-variable.ts",
|
|
27988
|
+
"line": 10
|
|
27989
|
+
},
|
|
27990
|
+
"name": "ofParameter",
|
|
27991
|
+
"parameters": [
|
|
27992
|
+
{
|
|
27993
|
+
"name": "reference",
|
|
27994
|
+
"type": {
|
|
27995
|
+
"primitive": "string"
|
|
27996
|
+
}
|
|
27997
|
+
}
|
|
27998
|
+
],
|
|
27999
|
+
"returns": {
|
|
28000
|
+
"type": {
|
|
28001
|
+
"fqn": "@cdklabs/cdk-ssm-documents.NonSecureVariable"
|
|
28002
|
+
}
|
|
28003
|
+
},
|
|
28004
|
+
"static": true
|
|
28005
|
+
},
|
|
28006
|
+
{
|
|
28007
|
+
"docs": {
|
|
28008
|
+
"stability": "stable"
|
|
28009
|
+
},
|
|
28010
|
+
"locationInModule": {
|
|
28011
|
+
"filename": "src/interface/variables/secure-string-variable.ts",
|
|
28012
|
+
"line": 7
|
|
28013
|
+
},
|
|
28014
|
+
"name": "ofSecureToken",
|
|
28015
|
+
"parameters": [
|
|
28016
|
+
{
|
|
28017
|
+
"name": "secureToken",
|
|
28018
|
+
"type": {
|
|
28019
|
+
"primitive": "string"
|
|
28020
|
+
}
|
|
28021
|
+
}
|
|
28022
|
+
],
|
|
28023
|
+
"returns": {
|
|
28024
|
+
"type": {
|
|
28025
|
+
"fqn": "@cdklabs/cdk-ssm-documents.SsmSecureVariable"
|
|
28026
|
+
}
|
|
28027
|
+
},
|
|
28028
|
+
"static": true
|
|
28029
|
+
},
|
|
28030
|
+
{
|
|
28031
|
+
"docs": {
|
|
28032
|
+
"stability": "stable"
|
|
28033
|
+
},
|
|
28034
|
+
"locationInModule": {
|
|
28035
|
+
"filename": "src/interface/variables/secure-string-variable.ts",
|
|
28036
|
+
"line": 13
|
|
28037
|
+
},
|
|
27562
28038
|
"name": "ofValue",
|
|
27563
28039
|
"parameters": [
|
|
27564
28040
|
{
|
|
@@ -28973,7 +29449,7 @@
|
|
|
28973
29449
|
},
|
|
28974
29450
|
"locationInModule": {
|
|
28975
29451
|
"filename": "src/document/ssm-document.ts",
|
|
28976
|
-
"line":
|
|
29452
|
+
"line": 92
|
|
28977
29453
|
},
|
|
28978
29454
|
"parameters": [
|
|
28979
29455
|
{
|
|
@@ -29010,7 +29486,7 @@
|
|
|
29010
29486
|
},
|
|
29011
29487
|
"locationInModule": {
|
|
29012
29488
|
"filename": "src/document/ssm-document.ts",
|
|
29013
|
-
"line":
|
|
29489
|
+
"line": 140
|
|
29014
29490
|
},
|
|
29015
29491
|
"name": "buildSsmDocument",
|
|
29016
29492
|
"protected": true,
|
|
@@ -29032,7 +29508,7 @@
|
|
|
29032
29508
|
},
|
|
29033
29509
|
"locationInModule": {
|
|
29034
29510
|
"filename": "src/document/ssm-document.ts",
|
|
29035
|
-
"line":
|
|
29511
|
+
"line": 135
|
|
29036
29512
|
},
|
|
29037
29513
|
"name": "documentType",
|
|
29038
29514
|
"returns": {
|
|
@@ -29049,7 +29525,7 @@
|
|
|
29049
29525
|
},
|
|
29050
29526
|
"locationInModule": {
|
|
29051
29527
|
"filename": "src/document/ssm-document.ts",
|
|
29052
|
-
"line":
|
|
29528
|
+
"line": 127
|
|
29053
29529
|
},
|
|
29054
29530
|
"name": "formatInputs",
|
|
29055
29531
|
"protected": true,
|
|
@@ -29073,7 +29549,7 @@
|
|
|
29073
29549
|
},
|
|
29074
29550
|
"locationInModule": {
|
|
29075
29551
|
"filename": "src/document/ssm-document.ts",
|
|
29076
|
-
"line":
|
|
29552
|
+
"line": 151
|
|
29077
29553
|
},
|
|
29078
29554
|
"name": "print",
|
|
29079
29555
|
"returns": {
|
|
@@ -29085,6 +29561,20 @@
|
|
|
29085
29561
|
],
|
|
29086
29562
|
"name": "SsmDocument",
|
|
29087
29563
|
"properties": [
|
|
29564
|
+
{
|
|
29565
|
+
"docs": {
|
|
29566
|
+
"stability": "stable"
|
|
29567
|
+
},
|
|
29568
|
+
"immutable": true,
|
|
29569
|
+
"locationInModule": {
|
|
29570
|
+
"filename": "src/document/ssm-document.ts",
|
|
29571
|
+
"line": 90
|
|
29572
|
+
},
|
|
29573
|
+
"name": "cfnDocument",
|
|
29574
|
+
"type": {
|
|
29575
|
+
"fqn": "aws-cdk-lib.aws_ssm.CfnDocument"
|
|
29576
|
+
}
|
|
29577
|
+
},
|
|
29088
29578
|
{
|
|
29089
29579
|
"docs": {
|
|
29090
29580
|
"stability": "stable"
|
|
@@ -30189,6 +30679,137 @@
|
|
|
30189
30679
|
],
|
|
30190
30680
|
"symbolId": "src/parent-steps/step:StepProps"
|
|
30191
30681
|
},
|
|
30682
|
+
"@cdklabs/cdk-ssm-documents.StepRef": {
|
|
30683
|
+
"assembly": "@cdklabs/cdk-ssm-documents",
|
|
30684
|
+
"docs": {
|
|
30685
|
+
"remarks": "The class allows steps to be referenced by the Step object or by the step name.",
|
|
30686
|
+
"stability": "stable",
|
|
30687
|
+
"summary": "Class to reference AutomationSteps."
|
|
30688
|
+
},
|
|
30689
|
+
"fqn": "@cdklabs/cdk-ssm-documents.StepRef",
|
|
30690
|
+
"initializer": {
|
|
30691
|
+
"docs": {
|
|
30692
|
+
"stability": "stable"
|
|
30693
|
+
},
|
|
30694
|
+
"locationInModule": {
|
|
30695
|
+
"filename": "src/interface/step-ref.ts",
|
|
30696
|
+
"line": 22
|
|
30697
|
+
},
|
|
30698
|
+
"parameters": [
|
|
30699
|
+
{
|
|
30700
|
+
"name": "stepName",
|
|
30701
|
+
"type": {
|
|
30702
|
+
"primitive": "string"
|
|
30703
|
+
}
|
|
30704
|
+
}
|
|
30705
|
+
]
|
|
30706
|
+
},
|
|
30707
|
+
"kind": "class",
|
|
30708
|
+
"locationInModule": {
|
|
30709
|
+
"filename": "src/interface/step-ref.ts",
|
|
30710
|
+
"line": 7
|
|
30711
|
+
},
|
|
30712
|
+
"methods": [
|
|
30713
|
+
{
|
|
30714
|
+
"docs": {
|
|
30715
|
+
"stability": "stable",
|
|
30716
|
+
"summary": "Static constructor for creating a reference to a step from a step name."
|
|
30717
|
+
},
|
|
30718
|
+
"locationInModule": {
|
|
30719
|
+
"filename": "src/interface/step-ref.ts",
|
|
30720
|
+
"line": 18
|
|
30721
|
+
},
|
|
30722
|
+
"name": "fromName",
|
|
30723
|
+
"parameters": [
|
|
30724
|
+
{
|
|
30725
|
+
"name": "stepName",
|
|
30726
|
+
"type": {
|
|
30727
|
+
"primitive": "string"
|
|
30728
|
+
}
|
|
30729
|
+
}
|
|
30730
|
+
],
|
|
30731
|
+
"returns": {
|
|
30732
|
+
"type": {
|
|
30733
|
+
"fqn": "@cdklabs/cdk-ssm-documents.StepRef"
|
|
30734
|
+
}
|
|
30735
|
+
},
|
|
30736
|
+
"static": true
|
|
30737
|
+
},
|
|
30738
|
+
{
|
|
30739
|
+
"docs": {
|
|
30740
|
+
"stability": "stable",
|
|
30741
|
+
"summary": "Static constructor for creating a reference to a step from an AutomationStep object."
|
|
30742
|
+
},
|
|
30743
|
+
"locationInModule": {
|
|
30744
|
+
"filename": "src/interface/step-ref.ts",
|
|
30745
|
+
"line": 11
|
|
30746
|
+
},
|
|
30747
|
+
"name": "fromObject",
|
|
30748
|
+
"parameters": [
|
|
30749
|
+
{
|
|
30750
|
+
"name": "step",
|
|
30751
|
+
"type": {
|
|
30752
|
+
"fqn": "@cdklabs/cdk-ssm-documents.AutomationStep"
|
|
30753
|
+
}
|
|
30754
|
+
}
|
|
30755
|
+
],
|
|
30756
|
+
"returns": {
|
|
30757
|
+
"type": {
|
|
30758
|
+
"fqn": "@cdklabs/cdk-ssm-documents.StepRef"
|
|
30759
|
+
}
|
|
30760
|
+
},
|
|
30761
|
+
"static": true
|
|
30762
|
+
},
|
|
30763
|
+
{
|
|
30764
|
+
"docs": {
|
|
30765
|
+
"remarks": "Provide all the steps in the execution to find the associated step.",
|
|
30766
|
+
"stability": "stable",
|
|
30767
|
+
"summary": "Resolve to an AutomationStep object."
|
|
30768
|
+
},
|
|
30769
|
+
"locationInModule": {
|
|
30770
|
+
"filename": "src/interface/step-ref.ts",
|
|
30771
|
+
"line": 29
|
|
30772
|
+
},
|
|
30773
|
+
"name": "resolve",
|
|
30774
|
+
"parameters": [
|
|
30775
|
+
{
|
|
30776
|
+
"name": "allStepsInExecution",
|
|
30777
|
+
"type": {
|
|
30778
|
+
"collection": {
|
|
30779
|
+
"elementtype": {
|
|
30780
|
+
"fqn": "@cdklabs/cdk-ssm-documents.AutomationStep"
|
|
30781
|
+
},
|
|
30782
|
+
"kind": "array"
|
|
30783
|
+
}
|
|
30784
|
+
}
|
|
30785
|
+
}
|
|
30786
|
+
],
|
|
30787
|
+
"returns": {
|
|
30788
|
+
"type": {
|
|
30789
|
+
"fqn": "@cdklabs/cdk-ssm-documents.AutomationStep"
|
|
30790
|
+
}
|
|
30791
|
+
}
|
|
30792
|
+
}
|
|
30793
|
+
],
|
|
30794
|
+
"name": "StepRef",
|
|
30795
|
+
"properties": [
|
|
30796
|
+
{
|
|
30797
|
+
"docs": {
|
|
30798
|
+
"stability": "stable"
|
|
30799
|
+
},
|
|
30800
|
+
"immutable": true,
|
|
30801
|
+
"locationInModule": {
|
|
30802
|
+
"filename": "src/interface/step-ref.ts",
|
|
30803
|
+
"line": 21
|
|
30804
|
+
},
|
|
30805
|
+
"name": "stepName",
|
|
30806
|
+
"type": {
|
|
30807
|
+
"primitive": "string"
|
|
30808
|
+
}
|
|
30809
|
+
}
|
|
30810
|
+
],
|
|
30811
|
+
"symbolId": "src/interface/step-ref:StepRef"
|
|
30812
|
+
},
|
|
30192
30813
|
"@cdklabs/cdk-ssm-documents.StringDocument": {
|
|
30193
30814
|
"assembly": "@cdklabs/cdk-ssm-documents",
|
|
30194
30815
|
"docs": {
|
|
@@ -31131,7 +31752,7 @@
|
|
|
31131
31752
|
"kind": "class",
|
|
31132
31753
|
"locationInModule": {
|
|
31133
31754
|
"filename": "src/patterns/automation/string-step.ts",
|
|
31134
|
-
"line":
|
|
31755
|
+
"line": 27
|
|
31135
31756
|
},
|
|
31136
31757
|
"methods": [
|
|
31137
31758
|
{
|
|
@@ -31143,7 +31764,7 @@
|
|
|
31143
31764
|
},
|
|
31144
31765
|
"locationInModule": {
|
|
31145
31766
|
"filename": "src/patterns/automation/string-step.ts",
|
|
31146
|
-
"line":
|
|
31767
|
+
"line": 45
|
|
31147
31768
|
},
|
|
31148
31769
|
"name": "fromJson",
|
|
31149
31770
|
"parameters": [
|
|
@@ -31176,7 +31797,7 @@
|
|
|
31176
31797
|
},
|
|
31177
31798
|
"locationInModule": {
|
|
31178
31799
|
"filename": "src/patterns/automation/string-step.ts",
|
|
31179
|
-
"line":
|
|
31800
|
+
"line": 55
|
|
31180
31801
|
},
|
|
31181
31802
|
"name": "fromObject",
|
|
31182
31803
|
"parameters": [
|
|
@@ -31214,7 +31835,7 @@
|
|
|
31214
31835
|
},
|
|
31215
31836
|
"locationInModule": {
|
|
31216
31837
|
"filename": "src/patterns/automation/string-step.ts",
|
|
31217
|
-
"line":
|
|
31838
|
+
"line": 35
|
|
31218
31839
|
},
|
|
31219
31840
|
"name": "fromYaml",
|
|
31220
31841
|
"parameters": [
|
|
@@ -31244,7 +31865,7 @@
|
|
|
31244
31865
|
},
|
|
31245
31866
|
"locationInModule": {
|
|
31246
31867
|
"filename": "src/patterns/automation/string-step.ts",
|
|
31247
|
-
"line":
|
|
31868
|
+
"line": 158
|
|
31248
31869
|
},
|
|
31249
31870
|
"name": "addToDocument",
|
|
31250
31871
|
"overrides": "@cdklabs/cdk-ssm-documents.CompositeAutomationStep",
|
|
@@ -31435,7 +32056,7 @@
|
|
|
31435
32056
|
},
|
|
31436
32057
|
"locationInModule": {
|
|
31437
32058
|
"filename": "src/patterns/document/timed-document.ts",
|
|
31438
|
-
"line":
|
|
32059
|
+
"line": 15
|
|
31439
32060
|
},
|
|
31440
32061
|
"parameters": [
|
|
31441
32062
|
{
|
|
@@ -31461,7 +32082,7 @@
|
|
|
31461
32082
|
"kind": "class",
|
|
31462
32083
|
"locationInModule": {
|
|
31463
32084
|
"filename": "src/patterns/document/timed-document.ts",
|
|
31464
|
-
"line":
|
|
32085
|
+
"line": 13
|
|
31465
32086
|
},
|
|
31466
32087
|
"methods": [
|
|
31467
32088
|
{
|
|
@@ -31470,7 +32091,7 @@
|
|
|
31470
32091
|
},
|
|
31471
32092
|
"locationInModule": {
|
|
31472
32093
|
"filename": "src/patterns/document/timed-document.ts",
|
|
31473
|
-
"line":
|
|
32094
|
+
"line": 19
|
|
31474
32095
|
},
|
|
31475
32096
|
"name": "collectedSteps",
|
|
31476
32097
|
"overrides": "@cdklabs/cdk-ssm-documents.AutomationDocument",
|
|
@@ -32523,6 +33144,6 @@
|
|
|
32523
33144
|
"symbolId": "src/interface/webhook:WebhookImpl"
|
|
32524
33145
|
}
|
|
32525
33146
|
},
|
|
32526
|
-
"version": "0.0.
|
|
32527
|
-
"fingerprint": "
|
|
33147
|
+
"version": "0.0.23",
|
|
33148
|
+
"fingerprint": "Ctap8KnsNiYj+Lcypo9lDdJDv1Pun4Q+GhOE8+2T1xY="
|
|
32528
33149
|
}
|