@cdklabs/cdk-ssm-documents 0.0.17 → 0.0.20
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 +691 -94
- package/API.md +1212 -426
- package/README.md +1 -0
- 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.js +6 -4
- 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.d.ts +75 -0
- package/lib/interface/on-failure.js +141 -0
- 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/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 +1 -1
- 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.js +1 -1
- 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 +9 -8
- package/lib/parent-steps/automation-step.js +10 -9
- 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 +1 -1
- package/lib/patterns/document/string-document.js +1 -1
- package/lib/patterns/document/timed-document.js +1 -1
- package/lib/samples/hello-world.js +1 -1
- 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 +1 -1
- 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 +18 -8
- 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 +1 -1
- 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\", { name: \"MyPauseStep\" }));\n\n myDoc.addStep(new ExecuteScriptStep(this, \"MyExecuteStep\", {\n name: \"step1\",\n handlerName: \"my_func\",\n language: ScriptLanguage.PYTHON,\n fullPathToCode: resolve(\"test/test_file.py\"),\n // OR .inlineCode(\"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 inputs: [\"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"
|
|
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\", { name: \"MyPauseStep\" }));\n\n myDoc.addStep(new ExecuteScriptStep(this, \"MyExecuteStep\", {\n name: \"step1\",\n handlerName: \"my_func\",\n language: ScriptLanguage.PYTHON,\n fullPathToCode: resolve(\"test/test_file.py\"),\n // OR .inlineCode(\"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 inputs: [\"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",
|
|
@@ -2826,6 +2826,68 @@
|
|
|
2826
2826
|
}
|
|
2827
2827
|
},
|
|
2828
2828
|
"types": {
|
|
2829
|
+
"@cdklabs/cdk-ssm-documents.Abort": {
|
|
2830
|
+
"assembly": "@cdklabs/cdk-ssm-documents",
|
|
2831
|
+
"base": "@cdklabs/cdk-ssm-documents.OnCancel",
|
|
2832
|
+
"docs": {
|
|
2833
|
+
"stability": "stable"
|
|
2834
|
+
},
|
|
2835
|
+
"fqn": "@cdklabs/cdk-ssm-documents.Abort",
|
|
2836
|
+
"initializer": {
|
|
2837
|
+
"docs": {
|
|
2838
|
+
"stability": "stable"
|
|
2839
|
+
}
|
|
2840
|
+
},
|
|
2841
|
+
"kind": "class",
|
|
2842
|
+
"locationInModule": {
|
|
2843
|
+
"filename": "src/interface/on-failure.ts",
|
|
2844
|
+
"line": 122
|
|
2845
|
+
},
|
|
2846
|
+
"methods": [
|
|
2847
|
+
{
|
|
2848
|
+
"docs": {
|
|
2849
|
+
"stability": "stable"
|
|
2850
|
+
},
|
|
2851
|
+
"locationInModule": {
|
|
2852
|
+
"filename": "src/interface/on-failure.ts",
|
|
2853
|
+
"line": 124
|
|
2854
|
+
},
|
|
2855
|
+
"name": "stepToInvoke",
|
|
2856
|
+
"overrides": "@cdklabs/cdk-ssm-documents.OnFailure",
|
|
2857
|
+
"parameters": [
|
|
2858
|
+
{
|
|
2859
|
+
"name": "_currentStep",
|
|
2860
|
+
"type": {
|
|
2861
|
+
"fqn": "@cdklabs/cdk-ssm-documents.AutomationStep"
|
|
2862
|
+
}
|
|
2863
|
+
}
|
|
2864
|
+
],
|
|
2865
|
+
"returns": {
|
|
2866
|
+
"type": {
|
|
2867
|
+
"primitive": "string"
|
|
2868
|
+
}
|
|
2869
|
+
}
|
|
2870
|
+
},
|
|
2871
|
+
{
|
|
2872
|
+
"docs": {
|
|
2873
|
+
"stability": "stable"
|
|
2874
|
+
},
|
|
2875
|
+
"locationInModule": {
|
|
2876
|
+
"filename": "src/interface/on-failure.ts",
|
|
2877
|
+
"line": 128
|
|
2878
|
+
},
|
|
2879
|
+
"name": "toSsmValue",
|
|
2880
|
+
"overrides": "@cdklabs/cdk-ssm-documents.OnFailure",
|
|
2881
|
+
"returns": {
|
|
2882
|
+
"type": {
|
|
2883
|
+
"primitive": "string"
|
|
2884
|
+
}
|
|
2885
|
+
}
|
|
2886
|
+
}
|
|
2887
|
+
],
|
|
2888
|
+
"name": "Abort",
|
|
2889
|
+
"symbolId": "src/interface/on-failure:Abort"
|
|
2890
|
+
},
|
|
2829
2891
|
"@cdklabs/cdk-ssm-documents.ActionVariable": {
|
|
2830
2892
|
"assembly": "@cdklabs/cdk-ssm-documents",
|
|
2831
2893
|
"base": "@cdklabs/cdk-ssm-documents.StringVariable",
|
|
@@ -5105,7 +5167,7 @@
|
|
|
5105
5167
|
},
|
|
5106
5168
|
"locationInModule": {
|
|
5107
5169
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5108
|
-
"line":
|
|
5170
|
+
"line": 66
|
|
5109
5171
|
},
|
|
5110
5172
|
"parameters": [
|
|
5111
5173
|
{
|
|
@@ -5134,7 +5196,7 @@
|
|
|
5134
5196
|
"kind": "class",
|
|
5135
5197
|
"locationInModule": {
|
|
5136
5198
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5137
|
-
"line":
|
|
5199
|
+
"line": 54
|
|
5138
5200
|
},
|
|
5139
5201
|
"methods": [
|
|
5140
5202
|
{
|
|
@@ -5143,7 +5205,7 @@
|
|
|
5143
5205
|
},
|
|
5144
5206
|
"locationInModule": {
|
|
5145
5207
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5146
|
-
"line":
|
|
5208
|
+
"line": 75
|
|
5147
5209
|
},
|
|
5148
5210
|
"name": "addToDocument",
|
|
5149
5211
|
"overrides": "@cdklabs/cdk-ssm-documents.IAutomationComponent",
|
|
@@ -5162,7 +5224,7 @@
|
|
|
5162
5224
|
},
|
|
5163
5225
|
"locationInModule": {
|
|
5164
5226
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5165
|
-
"line":
|
|
5227
|
+
"line": 79
|
|
5166
5228
|
},
|
|
5167
5229
|
"name": "prepareSsmEntry",
|
|
5168
5230
|
"parameters": [
|
|
@@ -5196,7 +5258,7 @@
|
|
|
5196
5258
|
},
|
|
5197
5259
|
"locationInModule": {
|
|
5198
5260
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5199
|
-
"line":
|
|
5261
|
+
"line": 126
|
|
5200
5262
|
},
|
|
5201
5263
|
"name": "variables",
|
|
5202
5264
|
"returns": {
|
|
@@ -5221,7 +5283,7 @@
|
|
|
5221
5283
|
"immutable": true,
|
|
5222
5284
|
"locationInModule": {
|
|
5223
5285
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5224
|
-
"line":
|
|
5286
|
+
"line": 56
|
|
5225
5287
|
},
|
|
5226
5288
|
"name": "DEFAULT_MAX_ATTEMPTS",
|
|
5227
5289
|
"static": true,
|
|
@@ -5237,7 +5299,7 @@
|
|
|
5237
5299
|
"immutable": true,
|
|
5238
5300
|
"locationInModule": {
|
|
5239
5301
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5240
|
-
"line":
|
|
5302
|
+
"line": 55
|
|
5241
5303
|
},
|
|
5242
5304
|
"name": "DEFAULT_TIMEOUT",
|
|
5243
5305
|
"static": true,
|
|
@@ -5252,7 +5314,7 @@
|
|
|
5252
5314
|
"immutable": true,
|
|
5253
5315
|
"locationInModule": {
|
|
5254
5316
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5255
|
-
"line":
|
|
5317
|
+
"line": 59
|
|
5256
5318
|
},
|
|
5257
5319
|
"name": "isEnd",
|
|
5258
5320
|
"type": {
|
|
@@ -5266,7 +5328,7 @@
|
|
|
5266
5328
|
"immutable": true,
|
|
5267
5329
|
"locationInModule": {
|
|
5268
5330
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5269
|
-
"line":
|
|
5331
|
+
"line": 57
|
|
5270
5332
|
},
|
|
5271
5333
|
"name": "maxAttempts",
|
|
5272
5334
|
"type": {
|
|
@@ -5280,11 +5342,11 @@
|
|
|
5280
5342
|
"immutable": true,
|
|
5281
5343
|
"locationInModule": {
|
|
5282
5344
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5283
|
-
"line":
|
|
5345
|
+
"line": 61
|
|
5284
5346
|
},
|
|
5285
|
-
"name": "
|
|
5347
|
+
"name": "onCancel",
|
|
5286
5348
|
"type": {
|
|
5287
|
-
"
|
|
5349
|
+
"fqn": "@cdklabs/cdk-ssm-documents.OnCancel"
|
|
5288
5350
|
}
|
|
5289
5351
|
},
|
|
5290
5352
|
{
|
|
@@ -5296,10 +5358,9 @@
|
|
|
5296
5358
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5297
5359
|
"line": 60
|
|
5298
5360
|
},
|
|
5299
|
-
"name": "
|
|
5300
|
-
"optional": true,
|
|
5361
|
+
"name": "onFailure",
|
|
5301
5362
|
"type": {
|
|
5302
|
-
"fqn": "@cdklabs/cdk-ssm-documents.
|
|
5363
|
+
"fqn": "@cdklabs/cdk-ssm-documents.OnFailure"
|
|
5303
5364
|
}
|
|
5304
5365
|
},
|
|
5305
5366
|
{
|
|
@@ -5309,12 +5370,11 @@
|
|
|
5309
5370
|
"immutable": true,
|
|
5310
5371
|
"locationInModule": {
|
|
5311
5372
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5312
|
-
"line":
|
|
5373
|
+
"line": 58
|
|
5313
5374
|
},
|
|
5314
|
-
"name": "
|
|
5315
|
-
"optional": true,
|
|
5375
|
+
"name": "timeoutSeconds",
|
|
5316
5376
|
"type": {
|
|
5317
|
-
"
|
|
5377
|
+
"primitive": "number"
|
|
5318
5378
|
}
|
|
5319
5379
|
},
|
|
5320
5380
|
{
|
|
@@ -5323,7 +5383,7 @@
|
|
|
5323
5383
|
},
|
|
5324
5384
|
"locationInModule": {
|
|
5325
5385
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5326
|
-
"line":
|
|
5386
|
+
"line": 64
|
|
5327
5387
|
},
|
|
5328
5388
|
"name": "allStepsInExecution",
|
|
5329
5389
|
"optional": true,
|
|
@@ -5342,7 +5402,7 @@
|
|
|
5342
5402
|
},
|
|
5343
5403
|
"locationInModule": {
|
|
5344
5404
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5345
|
-
"line":
|
|
5405
|
+
"line": 63
|
|
5346
5406
|
},
|
|
5347
5407
|
"name": "nextStep",
|
|
5348
5408
|
"optional": true,
|
|
@@ -5366,7 +5426,7 @@
|
|
|
5366
5426
|
"kind": "interface",
|
|
5367
5427
|
"locationInModule": {
|
|
5368
5428
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5369
|
-
"line":
|
|
5429
|
+
"line": 10
|
|
5370
5430
|
},
|
|
5371
5431
|
"name": "AutomationStepProps",
|
|
5372
5432
|
"properties": [
|
|
@@ -5380,7 +5440,7 @@
|
|
|
5380
5440
|
"immutable": true,
|
|
5381
5441
|
"locationInModule": {
|
|
5382
5442
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5383
|
-
"line":
|
|
5443
|
+
"line": 16
|
|
5384
5444
|
},
|
|
5385
5445
|
"name": "isEnd",
|
|
5386
5446
|
"optional": true,
|
|
@@ -5398,7 +5458,7 @@
|
|
|
5398
5458
|
"immutable": true,
|
|
5399
5459
|
"locationInModule": {
|
|
5400
5460
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5401
|
-
"line":
|
|
5461
|
+
"line": 35
|
|
5402
5462
|
},
|
|
5403
5463
|
"name": "maxAttempts",
|
|
5404
5464
|
"optional": true,
|
|
@@ -5411,17 +5471,17 @@
|
|
|
5411
5471
|
"docs": {
|
|
5412
5472
|
"default": "undefined",
|
|
5413
5473
|
"stability": "stable",
|
|
5414
|
-
"summary": "(Optional)
|
|
5474
|
+
"summary": "(Optional) Fallback action to take in the event that this step is cancelled."
|
|
5415
5475
|
},
|
|
5416
5476
|
"immutable": true,
|
|
5417
5477
|
"locationInModule": {
|
|
5418
5478
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5419
|
-
"line":
|
|
5479
|
+
"line": 28
|
|
5420
5480
|
},
|
|
5421
5481
|
"name": "onCancel",
|
|
5422
5482
|
"optional": true,
|
|
5423
5483
|
"type": {
|
|
5424
|
-
"fqn": "@cdklabs/cdk-ssm-documents.
|
|
5484
|
+
"fqn": "@cdklabs/cdk-ssm-documents.OnCancel"
|
|
5425
5485
|
}
|
|
5426
5486
|
},
|
|
5427
5487
|
{
|
|
@@ -5429,17 +5489,17 @@
|
|
|
5429
5489
|
"docs": {
|
|
5430
5490
|
"default": "undefined",
|
|
5431
5491
|
"stability": "stable",
|
|
5432
|
-
"summary": "(Optional)
|
|
5492
|
+
"summary": "(Optional) Fallback action to take in the event that this step fails."
|
|
5433
5493
|
},
|
|
5434
5494
|
"immutable": true,
|
|
5435
5495
|
"locationInModule": {
|
|
5436
5496
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5437
|
-
"line":
|
|
5497
|
+
"line": 22
|
|
5438
5498
|
},
|
|
5439
5499
|
"name": "onFailure",
|
|
5440
5500
|
"optional": true,
|
|
5441
5501
|
"type": {
|
|
5442
|
-
"fqn": "@cdklabs/cdk-ssm-documents.
|
|
5502
|
+
"fqn": "@cdklabs/cdk-ssm-documents.OnFailure"
|
|
5443
5503
|
}
|
|
5444
5504
|
},
|
|
5445
5505
|
{
|
|
@@ -5453,7 +5513,7 @@
|
|
|
5453
5513
|
"immutable": true,
|
|
5454
5514
|
"locationInModule": {
|
|
5455
5515
|
"filename": "src/parent-steps/automation-step.ts",
|
|
5456
|
-
"line":
|
|
5516
|
+
"line": 42
|
|
5457
5517
|
},
|
|
5458
5518
|
"name": "timeoutSeconds",
|
|
5459
5519
|
"optional": true,
|
|
@@ -5540,7 +5600,7 @@
|
|
|
5540
5600
|
},
|
|
5541
5601
|
"locationInModule": {
|
|
5542
5602
|
"filename": "src/simulation/automation-step-simulation.ts",
|
|
5543
|
-
"line":
|
|
5603
|
+
"line": 206
|
|
5544
5604
|
},
|
|
5545
5605
|
"name": "prependSelf",
|
|
5546
5606
|
"parameters": [
|
|
@@ -8922,6 +8982,68 @@
|
|
|
8922
8982
|
],
|
|
8923
8983
|
"symbolId": "src/parent-steps/command/configure-package-step:ConfigurePackageStepProps"
|
|
8924
8984
|
},
|
|
8985
|
+
"@cdklabs/cdk-ssm-documents.Continue": {
|
|
8986
|
+
"assembly": "@cdklabs/cdk-ssm-documents",
|
|
8987
|
+
"base": "@cdklabs/cdk-ssm-documents.OnFailure",
|
|
8988
|
+
"docs": {
|
|
8989
|
+
"stability": "stable"
|
|
8990
|
+
},
|
|
8991
|
+
"fqn": "@cdklabs/cdk-ssm-documents.Continue",
|
|
8992
|
+
"initializer": {
|
|
8993
|
+
"docs": {
|
|
8994
|
+
"stability": "stable"
|
|
8995
|
+
}
|
|
8996
|
+
},
|
|
8997
|
+
"kind": "class",
|
|
8998
|
+
"locationInModule": {
|
|
8999
|
+
"filename": "src/interface/on-failure.ts",
|
|
9000
|
+
"line": 133
|
|
9001
|
+
},
|
|
9002
|
+
"methods": [
|
|
9003
|
+
{
|
|
9004
|
+
"docs": {
|
|
9005
|
+
"stability": "stable"
|
|
9006
|
+
},
|
|
9007
|
+
"locationInModule": {
|
|
9008
|
+
"filename": "src/interface/on-failure.ts",
|
|
9009
|
+
"line": 135
|
|
9010
|
+
},
|
|
9011
|
+
"name": "stepToInvoke",
|
|
9012
|
+
"overrides": "@cdklabs/cdk-ssm-documents.OnFailure",
|
|
9013
|
+
"parameters": [
|
|
9014
|
+
{
|
|
9015
|
+
"name": "currentStep",
|
|
9016
|
+
"type": {
|
|
9017
|
+
"fqn": "@cdklabs/cdk-ssm-documents.AutomationStep"
|
|
9018
|
+
}
|
|
9019
|
+
}
|
|
9020
|
+
],
|
|
9021
|
+
"returns": {
|
|
9022
|
+
"type": {
|
|
9023
|
+
"primitive": "string"
|
|
9024
|
+
}
|
|
9025
|
+
}
|
|
9026
|
+
},
|
|
9027
|
+
{
|
|
9028
|
+
"docs": {
|
|
9029
|
+
"stability": "stable"
|
|
9030
|
+
},
|
|
9031
|
+
"locationInModule": {
|
|
9032
|
+
"filename": "src/interface/on-failure.ts",
|
|
9033
|
+
"line": 139
|
|
9034
|
+
},
|
|
9035
|
+
"name": "toSsmValue",
|
|
9036
|
+
"overrides": "@cdklabs/cdk-ssm-documents.OnFailure",
|
|
9037
|
+
"returns": {
|
|
9038
|
+
"type": {
|
|
9039
|
+
"primitive": "string"
|
|
9040
|
+
}
|
|
9041
|
+
}
|
|
9042
|
+
}
|
|
9043
|
+
],
|
|
9044
|
+
"name": "Continue",
|
|
9045
|
+
"symbolId": "src/interface/on-failure:Continue"
|
|
9046
|
+
},
|
|
8925
9047
|
"@cdklabs/cdk-ssm-documents.CopyImageSimulation": {
|
|
8926
9048
|
"assembly": "@cdklabs/cdk-ssm-documents",
|
|
8927
9049
|
"base": "@cdklabs/cdk-ssm-documents.AutomationSimulationBase",
|
|
@@ -21469,107 +21591,355 @@
|
|
|
21469
21591
|
"name": "NumberVariable",
|
|
21470
21592
|
"symbolId": "src/interface/variables/number-variable:NumberVariable"
|
|
21471
21593
|
},
|
|
21472
|
-
"@cdklabs/cdk-ssm-documents.
|
|
21594
|
+
"@cdklabs/cdk-ssm-documents.OnCancel": {
|
|
21595
|
+
"abstract": true,
|
|
21473
21596
|
"assembly": "@cdklabs/cdk-ssm-documents",
|
|
21474
|
-
"base": "@cdklabs/cdk-ssm-documents.
|
|
21597
|
+
"base": "@cdklabs/cdk-ssm-documents.OnFailure",
|
|
21475
21598
|
"docs": {
|
|
21476
|
-
"
|
|
21599
|
+
"remarks": "See docs here: https://docs.aws.amazon.com/systems-manager/latest/userguide/automation-actions.html#canProp\nThe supported actions are abort (default) or invoking a specific step.\nThis behavior can be adopted by using the static methods available on OnCancel.",
|
|
21600
|
+
"stability": "stable",
|
|
21601
|
+
"summary": "Steps can specify an action to take onCancel."
|
|
21477
21602
|
},
|
|
21478
|
-
"fqn": "@cdklabs/cdk-ssm-documents.
|
|
21603
|
+
"fqn": "@cdklabs/cdk-ssm-documents.OnCancel",
|
|
21479
21604
|
"initializer": {
|
|
21480
21605
|
"docs": {
|
|
21481
21606
|
"stability": "stable"
|
|
21482
|
-
}
|
|
21483
|
-
"locationInModule": {
|
|
21484
|
-
"filename": "src/interface/variables/variable.ts",
|
|
21485
|
-
"line": 72
|
|
21486
|
-
},
|
|
21487
|
-
"parameters": [
|
|
21488
|
-
{
|
|
21489
|
-
"name": "reference",
|
|
21490
|
-
"type": {
|
|
21491
|
-
"primitive": "string"
|
|
21492
|
-
}
|
|
21493
|
-
}
|
|
21494
|
-
]
|
|
21607
|
+
}
|
|
21495
21608
|
},
|
|
21496
|
-
"interfaces": [
|
|
21497
|
-
"@cdklabs/cdk-ssm-documents.IOnFailureVariable"
|
|
21498
|
-
],
|
|
21499
21609
|
"kind": "class",
|
|
21500
21610
|
"locationInModule": {
|
|
21501
|
-
"filename": "src/
|
|
21502
|
-
"line":
|
|
21611
|
+
"filename": "src/interface/on-failure.ts",
|
|
21612
|
+
"line": 49
|
|
21503
21613
|
},
|
|
21504
21614
|
"methods": [
|
|
21505
21615
|
{
|
|
21506
21616
|
"docs": {
|
|
21507
|
-
"
|
|
21617
|
+
"remarks": "(This is the default behavior.)",
|
|
21618
|
+
"stability": "stable",
|
|
21619
|
+
"summary": "To abort execution if a cancellation occurs during execution of the current step."
|
|
21508
21620
|
},
|
|
21509
21621
|
"locationInModule": {
|
|
21510
|
-
"filename": "src/
|
|
21622
|
+
"filename": "src/interface/on-failure.ts",
|
|
21623
|
+
"line": 71
|
|
21624
|
+
},
|
|
21625
|
+
"name": "abort",
|
|
21626
|
+
"overrides": "@cdklabs/cdk-ssm-documents.OnFailure",
|
|
21627
|
+
"returns": {
|
|
21628
|
+
"type": {
|
|
21629
|
+
"fqn": "@cdklabs/cdk-ssm-documents.OnCancel"
|
|
21630
|
+
}
|
|
21631
|
+
},
|
|
21632
|
+
"static": true
|
|
21633
|
+
},
|
|
21634
|
+
{
|
|
21635
|
+
"docs": {
|
|
21636
|
+
"remarks": "Provide the step object to execute for the onCancel action.\nIf you don't have a handle to the step object, use the invokeStepByName function.\nNot all action types may be invoked during cancellation. See documentation referenced on this class.",
|
|
21637
|
+
"stability": "stable",
|
|
21638
|
+
"summary": "Invoke a specific step."
|
|
21639
|
+
},
|
|
21640
|
+
"locationInModule": {
|
|
21641
|
+
"filename": "src/interface/on-failure.ts",
|
|
21511
21642
|
"line": 55
|
|
21512
21643
|
},
|
|
21513
|
-
"name": "
|
|
21514
|
-
"overrides": "@cdklabs/cdk-ssm-documents.
|
|
21644
|
+
"name": "invokeStep",
|
|
21645
|
+
"overrides": "@cdklabs/cdk-ssm-documents.OnFailure",
|
|
21515
21646
|
"parameters": [
|
|
21516
21647
|
{
|
|
21517
|
-
"name": "
|
|
21648
|
+
"name": "step",
|
|
21518
21649
|
"type": {
|
|
21519
|
-
"
|
|
21650
|
+
"fqn": "@cdklabs/cdk-ssm-documents.AutomationStep"
|
|
21520
21651
|
}
|
|
21521
21652
|
}
|
|
21522
21653
|
],
|
|
21523
|
-
"
|
|
21524
|
-
|
|
21525
|
-
|
|
21526
|
-
|
|
21527
|
-
|
|
21654
|
+
"returns": {
|
|
21655
|
+
"type": {
|
|
21656
|
+
"fqn": "@cdklabs/cdk-ssm-documents.OnCancel"
|
|
21657
|
+
}
|
|
21658
|
+
},
|
|
21659
|
+
"static": true
|
|
21660
|
+
},
|
|
21528
21661
|
{
|
|
21529
21662
|
"docs": {
|
|
21530
|
-
"
|
|
21663
|
+
"remarks": "Not all action types may be invoked during cancellation. See documentation referenced on this class.",
|
|
21664
|
+
"stability": "stable",
|
|
21665
|
+
"summary": "Invoke a specific step by the step name for the OnCancel action."
|
|
21531
21666
|
},
|
|
21532
|
-
"immutable": true,
|
|
21533
21667
|
"locationInModule": {
|
|
21534
|
-
"filename": "src/
|
|
21535
|
-
"line":
|
|
21668
|
+
"filename": "src/interface/on-failure.ts",
|
|
21669
|
+
"line": 63
|
|
21536
21670
|
},
|
|
21537
|
-
"name": "
|
|
21538
|
-
"
|
|
21539
|
-
|
|
21540
|
-
|
|
21671
|
+
"name": "invokeStepByName",
|
|
21672
|
+
"overrides": "@cdklabs/cdk-ssm-documents.OnFailure",
|
|
21673
|
+
"parameters": [
|
|
21674
|
+
{
|
|
21675
|
+
"name": "stepName",
|
|
21676
|
+
"type": {
|
|
21541
21677
|
"primitive": "string"
|
|
21542
|
-
}
|
|
21543
|
-
"kind": "array"
|
|
21678
|
+
}
|
|
21544
21679
|
}
|
|
21545
|
-
|
|
21680
|
+
],
|
|
21681
|
+
"returns": {
|
|
21682
|
+
"type": {
|
|
21683
|
+
"fqn": "@cdklabs/cdk-ssm-documents.OnCancel"
|
|
21684
|
+
}
|
|
21685
|
+
},
|
|
21686
|
+
"static": true
|
|
21546
21687
|
}
|
|
21547
21688
|
],
|
|
21548
|
-
"
|
|
21689
|
+
"name": "OnCancel",
|
|
21690
|
+
"symbolId": "src/interface/on-failure:OnCancel"
|
|
21549
21691
|
},
|
|
21550
|
-
"@cdklabs/cdk-ssm-documents.
|
|
21692
|
+
"@cdklabs/cdk-ssm-documents.OnFailure": {
|
|
21693
|
+
"abstract": true,
|
|
21551
21694
|
"assembly": "@cdklabs/cdk-ssm-documents",
|
|
21552
21695
|
"docs": {
|
|
21553
|
-
"remarks": "See https://docs.aws.amazon.com/systems-manager/latest/userguide/automation-
|
|
21696
|
+
"remarks": "See docs here: https://docs.aws.amazon.com/systems-manager/latest/userguide/automation-actions.html#failProp\nThe supported actions are abort (default), continue, or invoking a specific step.\nThis behavior can be adopted by using the static methods available on OnFailure.",
|
|
21554
21697
|
"stability": "stable",
|
|
21555
|
-
"summary": "
|
|
21698
|
+
"summary": "Steps can specify an action to take onFailure."
|
|
21556
21699
|
},
|
|
21557
|
-
"fqn": "@cdklabs/cdk-ssm-documents.
|
|
21558
|
-
"
|
|
21700
|
+
"fqn": "@cdklabs/cdk-ssm-documents.OnFailure",
|
|
21701
|
+
"initializer": {
|
|
21702
|
+
"docs": {
|
|
21703
|
+
"stability": "stable"
|
|
21704
|
+
}
|
|
21705
|
+
},
|
|
21706
|
+
"kind": "class",
|
|
21559
21707
|
"locationInModule": {
|
|
21560
|
-
"filename": "src/
|
|
21561
|
-
"line":
|
|
21708
|
+
"filename": "src/interface/on-failure.ts",
|
|
21709
|
+
"line": 9
|
|
21562
21710
|
},
|
|
21563
|
-
"
|
|
21711
|
+
"methods": [
|
|
21564
21712
|
{
|
|
21565
21713
|
"docs": {
|
|
21566
|
-
"
|
|
21714
|
+
"remarks": "(This is the default behavior.)",
|
|
21715
|
+
"stability": "stable",
|
|
21716
|
+
"summary": "To abort execution if a failure occurs during execution of the current step."
|
|
21567
21717
|
},
|
|
21568
|
-
"
|
|
21569
|
-
|
|
21570
|
-
|
|
21571
|
-
|
|
21572
|
-
|
|
21718
|
+
"locationInModule": {
|
|
21719
|
+
"filename": "src/interface/on-failure.ts",
|
|
21720
|
+
"line": 29
|
|
21721
|
+
},
|
|
21722
|
+
"name": "abort",
|
|
21723
|
+
"returns": {
|
|
21724
|
+
"type": {
|
|
21725
|
+
"fqn": "@cdklabs/cdk-ssm-documents.OnCancel"
|
|
21726
|
+
}
|
|
21727
|
+
},
|
|
21728
|
+
"static": true
|
|
21729
|
+
},
|
|
21730
|
+
{
|
|
21731
|
+
"docs": {
|
|
21732
|
+
"stability": "stable",
|
|
21733
|
+
"summary": "To continue execution of the subsequent step if a failure occurs during execution of the current step."
|
|
21734
|
+
},
|
|
21735
|
+
"locationInModule": {
|
|
21736
|
+
"filename": "src/interface/on-failure.ts",
|
|
21737
|
+
"line": 36
|
|
21738
|
+
},
|
|
21739
|
+
"name": "continue",
|
|
21740
|
+
"returns": {
|
|
21741
|
+
"type": {
|
|
21742
|
+
"fqn": "@cdklabs/cdk-ssm-documents.OnFailure"
|
|
21743
|
+
}
|
|
21744
|
+
},
|
|
21745
|
+
"static": true
|
|
21746
|
+
},
|
|
21747
|
+
{
|
|
21748
|
+
"docs": {
|
|
21749
|
+
"remarks": "Provide the step object to execute for the onFailure action.\nIf you don't have a handle to the step object, use the invokeStepByName function.",
|
|
21750
|
+
"stability": "stable",
|
|
21751
|
+
"summary": "Invoke a specific step."
|
|
21752
|
+
},
|
|
21753
|
+
"locationInModule": {
|
|
21754
|
+
"filename": "src/interface/on-failure.ts",
|
|
21755
|
+
"line": 14
|
|
21756
|
+
},
|
|
21757
|
+
"name": "invokeStep",
|
|
21758
|
+
"parameters": [
|
|
21759
|
+
{
|
|
21760
|
+
"name": "step",
|
|
21761
|
+
"type": {
|
|
21762
|
+
"fqn": "@cdklabs/cdk-ssm-documents.AutomationStep"
|
|
21763
|
+
}
|
|
21764
|
+
}
|
|
21765
|
+
],
|
|
21766
|
+
"returns": {
|
|
21767
|
+
"type": {
|
|
21768
|
+
"fqn": "@cdklabs/cdk-ssm-documents.OnCancel"
|
|
21769
|
+
}
|
|
21770
|
+
},
|
|
21771
|
+
"static": true
|
|
21772
|
+
},
|
|
21773
|
+
{
|
|
21774
|
+
"docs": {
|
|
21775
|
+
"stability": "stable",
|
|
21776
|
+
"summary": "Invoke a specific step by the step name for the OnFailure action."
|
|
21777
|
+
},
|
|
21778
|
+
"locationInModule": {
|
|
21779
|
+
"filename": "src/interface/on-failure.ts",
|
|
21780
|
+
"line": 21
|
|
21781
|
+
},
|
|
21782
|
+
"name": "invokeStepByName",
|
|
21783
|
+
"parameters": [
|
|
21784
|
+
{
|
|
21785
|
+
"name": "stepName",
|
|
21786
|
+
"type": {
|
|
21787
|
+
"primitive": "string"
|
|
21788
|
+
}
|
|
21789
|
+
}
|
|
21790
|
+
],
|
|
21791
|
+
"returns": {
|
|
21792
|
+
"type": {
|
|
21793
|
+
"fqn": "@cdklabs/cdk-ssm-documents.OnCancel"
|
|
21794
|
+
}
|
|
21795
|
+
},
|
|
21796
|
+
"static": true
|
|
21797
|
+
},
|
|
21798
|
+
{
|
|
21799
|
+
"abstract": true,
|
|
21800
|
+
"docs": {
|
|
21801
|
+
"stability": "stable"
|
|
21802
|
+
},
|
|
21803
|
+
"locationInModule": {
|
|
21804
|
+
"filename": "src/interface/on-failure.ts",
|
|
21805
|
+
"line": 39
|
|
21806
|
+
},
|
|
21807
|
+
"name": "stepToInvoke",
|
|
21808
|
+
"parameters": [
|
|
21809
|
+
{
|
|
21810
|
+
"name": "currentStep",
|
|
21811
|
+
"type": {
|
|
21812
|
+
"fqn": "@cdklabs/cdk-ssm-documents.AutomationStep"
|
|
21813
|
+
}
|
|
21814
|
+
}
|
|
21815
|
+
],
|
|
21816
|
+
"returns": {
|
|
21817
|
+
"type": {
|
|
21818
|
+
"primitive": "string"
|
|
21819
|
+
}
|
|
21820
|
+
}
|
|
21821
|
+
},
|
|
21822
|
+
{
|
|
21823
|
+
"abstract": true,
|
|
21824
|
+
"docs": {
|
|
21825
|
+
"stability": "stable"
|
|
21826
|
+
},
|
|
21827
|
+
"locationInModule": {
|
|
21828
|
+
"filename": "src/interface/on-failure.ts",
|
|
21829
|
+
"line": 40
|
|
21830
|
+
},
|
|
21831
|
+
"name": "toSsmValue",
|
|
21832
|
+
"returns": {
|
|
21833
|
+
"type": {
|
|
21834
|
+
"primitive": "string"
|
|
21835
|
+
}
|
|
21836
|
+
}
|
|
21837
|
+
}
|
|
21838
|
+
],
|
|
21839
|
+
"name": "OnFailure",
|
|
21840
|
+
"symbolId": "src/interface/on-failure:OnFailure"
|
|
21841
|
+
},
|
|
21842
|
+
"@cdklabs/cdk-ssm-documents.OnFailureVariable": {
|
|
21843
|
+
"assembly": "@cdklabs/cdk-ssm-documents",
|
|
21844
|
+
"base": "@cdklabs/cdk-ssm-documents.StringVariable",
|
|
21845
|
+
"docs": {
|
|
21846
|
+
"stability": "stable"
|
|
21847
|
+
},
|
|
21848
|
+
"fqn": "@cdklabs/cdk-ssm-documents.OnFailureVariable",
|
|
21849
|
+
"initializer": {
|
|
21850
|
+
"docs": {
|
|
21851
|
+
"stability": "stable"
|
|
21852
|
+
},
|
|
21853
|
+
"locationInModule": {
|
|
21854
|
+
"filename": "src/interface/variables/variable.ts",
|
|
21855
|
+
"line": 72
|
|
21856
|
+
},
|
|
21857
|
+
"parameters": [
|
|
21858
|
+
{
|
|
21859
|
+
"name": "reference",
|
|
21860
|
+
"type": {
|
|
21861
|
+
"primitive": "string"
|
|
21862
|
+
}
|
|
21863
|
+
}
|
|
21864
|
+
]
|
|
21865
|
+
},
|
|
21866
|
+
"interfaces": [
|
|
21867
|
+
"@cdklabs/cdk-ssm-documents.IOnFailureVariable"
|
|
21868
|
+
],
|
|
21869
|
+
"kind": "class",
|
|
21870
|
+
"locationInModule": {
|
|
21871
|
+
"filename": "src/parent-steps/automation/create-stack-step.ts",
|
|
21872
|
+
"line": 52
|
|
21873
|
+
},
|
|
21874
|
+
"methods": [
|
|
21875
|
+
{
|
|
21876
|
+
"docs": {
|
|
21877
|
+
"stability": "stable"
|
|
21878
|
+
},
|
|
21879
|
+
"locationInModule": {
|
|
21880
|
+
"filename": "src/parent-steps/automation/create-stack-step.ts",
|
|
21881
|
+
"line": 55
|
|
21882
|
+
},
|
|
21883
|
+
"name": "assertType",
|
|
21884
|
+
"overrides": "@cdklabs/cdk-ssm-documents.StringVariable",
|
|
21885
|
+
"parameters": [
|
|
21886
|
+
{
|
|
21887
|
+
"name": "value",
|
|
21888
|
+
"type": {
|
|
21889
|
+
"primitive": "any"
|
|
21890
|
+
}
|
|
21891
|
+
}
|
|
21892
|
+
],
|
|
21893
|
+
"protected": true
|
|
21894
|
+
}
|
|
21895
|
+
],
|
|
21896
|
+
"name": "OnFailureVariable",
|
|
21897
|
+
"properties": [
|
|
21898
|
+
{
|
|
21899
|
+
"docs": {
|
|
21900
|
+
"stability": "stable"
|
|
21901
|
+
},
|
|
21902
|
+
"immutable": true,
|
|
21903
|
+
"locationInModule": {
|
|
21904
|
+
"filename": "src/parent-steps/automation/create-stack-step.ts",
|
|
21905
|
+
"line": 53
|
|
21906
|
+
},
|
|
21907
|
+
"name": "validValues",
|
|
21908
|
+
"type": {
|
|
21909
|
+
"collection": {
|
|
21910
|
+
"elementtype": {
|
|
21911
|
+
"primitive": "string"
|
|
21912
|
+
},
|
|
21913
|
+
"kind": "array"
|
|
21914
|
+
}
|
|
21915
|
+
}
|
|
21916
|
+
}
|
|
21917
|
+
],
|
|
21918
|
+
"symbolId": "src/parent-steps/automation/create-stack-step:OnFailureVariable"
|
|
21919
|
+
},
|
|
21920
|
+
"@cdklabs/cdk-ssm-documents.Operation": {
|
|
21921
|
+
"assembly": "@cdklabs/cdk-ssm-documents",
|
|
21922
|
+
"docs": {
|
|
21923
|
+
"remarks": "See https://docs.aws.amazon.com/systems-manager/latest/userguide/automation-action-branch.html\nor https://docs.aws.amazon.com/systems-manager/latest/userguide/document-schemas-features.html",
|
|
21924
|
+
"stability": "stable",
|
|
21925
|
+
"summary": "Operation to use for comparing a Choice's or Preconditions with provided value."
|
|
21926
|
+
},
|
|
21927
|
+
"fqn": "@cdklabs/cdk-ssm-documents.Operation",
|
|
21928
|
+
"kind": "enum",
|
|
21929
|
+
"locationInModule": {
|
|
21930
|
+
"filename": "src/domain/operation.ts",
|
|
21931
|
+
"line": 6
|
|
21932
|
+
},
|
|
21933
|
+
"members": [
|
|
21934
|
+
{
|
|
21935
|
+
"docs": {
|
|
21936
|
+
"stability": "stable"
|
|
21937
|
+
},
|
|
21938
|
+
"name": "BOOLEAN_EQUALS"
|
|
21939
|
+
},
|
|
21940
|
+
{
|
|
21941
|
+
"docs": {
|
|
21942
|
+
"stability": "stable"
|
|
21573
21943
|
},
|
|
21574
21944
|
"name": "CONTAINS"
|
|
21575
21945
|
},
|
|
@@ -29503,6 +29873,233 @@
|
|
|
29503
29873
|
],
|
|
29504
29874
|
"symbolId": "src/parent-steps/step:Step"
|
|
29505
29875
|
},
|
|
29876
|
+
"@cdklabs/cdk-ssm-documents.StepFallback": {
|
|
29877
|
+
"assembly": "@cdklabs/cdk-ssm-documents",
|
|
29878
|
+
"base": "@cdklabs/cdk-ssm-documents.OnCancel",
|
|
29879
|
+
"docs": {
|
|
29880
|
+
"stability": "stable"
|
|
29881
|
+
},
|
|
29882
|
+
"fqn": "@cdklabs/cdk-ssm-documents.StepFallback",
|
|
29883
|
+
"initializer": {
|
|
29884
|
+
"docs": {
|
|
29885
|
+
"stability": "stable"
|
|
29886
|
+
},
|
|
29887
|
+
"locationInModule": {
|
|
29888
|
+
"filename": "src/interface/on-failure.ts",
|
|
29889
|
+
"line": 80
|
|
29890
|
+
},
|
|
29891
|
+
"parameters": [
|
|
29892
|
+
{
|
|
29893
|
+
"name": "step",
|
|
29894
|
+
"type": {
|
|
29895
|
+
"fqn": "@cdklabs/cdk-ssm-documents.AutomationStep"
|
|
29896
|
+
}
|
|
29897
|
+
},
|
|
29898
|
+
{
|
|
29899
|
+
"name": "validateStepAction",
|
|
29900
|
+
"type": {
|
|
29901
|
+
"primitive": "boolean"
|
|
29902
|
+
}
|
|
29903
|
+
}
|
|
29904
|
+
]
|
|
29905
|
+
},
|
|
29906
|
+
"kind": "class",
|
|
29907
|
+
"locationInModule": {
|
|
29908
|
+
"filename": "src/interface/on-failure.ts",
|
|
29909
|
+
"line": 76
|
|
29910
|
+
},
|
|
29911
|
+
"methods": [
|
|
29912
|
+
{
|
|
29913
|
+
"docs": {
|
|
29914
|
+
"stability": "stable"
|
|
29915
|
+
},
|
|
29916
|
+
"locationInModule": {
|
|
29917
|
+
"filename": "src/interface/on-failure.ts",
|
|
29918
|
+
"line": 88
|
|
29919
|
+
},
|
|
29920
|
+
"name": "stepToInvoke",
|
|
29921
|
+
"overrides": "@cdklabs/cdk-ssm-documents.OnFailure",
|
|
29922
|
+
"parameters": [
|
|
29923
|
+
{
|
|
29924
|
+
"name": "_currentStep",
|
|
29925
|
+
"type": {
|
|
29926
|
+
"fqn": "@cdklabs/cdk-ssm-documents.AutomationStep"
|
|
29927
|
+
}
|
|
29928
|
+
}
|
|
29929
|
+
],
|
|
29930
|
+
"returns": {
|
|
29931
|
+
"type": {
|
|
29932
|
+
"primitive": "string"
|
|
29933
|
+
}
|
|
29934
|
+
}
|
|
29935
|
+
},
|
|
29936
|
+
{
|
|
29937
|
+
"docs": {
|
|
29938
|
+
"stability": "stable"
|
|
29939
|
+
},
|
|
29940
|
+
"locationInModule": {
|
|
29941
|
+
"filename": "src/interface/on-failure.ts",
|
|
29942
|
+
"line": 92
|
|
29943
|
+
},
|
|
29944
|
+
"name": "toSsmValue",
|
|
29945
|
+
"overrides": "@cdklabs/cdk-ssm-documents.OnFailure",
|
|
29946
|
+
"returns": {
|
|
29947
|
+
"type": {
|
|
29948
|
+
"primitive": "string"
|
|
29949
|
+
}
|
|
29950
|
+
}
|
|
29951
|
+
}
|
|
29952
|
+
],
|
|
29953
|
+
"name": "StepFallback",
|
|
29954
|
+
"properties": [
|
|
29955
|
+
{
|
|
29956
|
+
"const": true,
|
|
29957
|
+
"docs": {
|
|
29958
|
+
"stability": "stable"
|
|
29959
|
+
},
|
|
29960
|
+
"immutable": true,
|
|
29961
|
+
"locationInModule": {
|
|
29962
|
+
"filename": "src/interface/on-failure.ts",
|
|
29963
|
+
"line": 77
|
|
29964
|
+
},
|
|
29965
|
+
"name": "ILLEGAL_FALLBACK_ACTIONS",
|
|
29966
|
+
"static": true,
|
|
29967
|
+
"type": {
|
|
29968
|
+
"collection": {
|
|
29969
|
+
"elementtype": {
|
|
29970
|
+
"primitive": "string"
|
|
29971
|
+
},
|
|
29972
|
+
"kind": "array"
|
|
29973
|
+
}
|
|
29974
|
+
}
|
|
29975
|
+
},
|
|
29976
|
+
{
|
|
29977
|
+
"docs": {
|
|
29978
|
+
"stability": "stable"
|
|
29979
|
+
},
|
|
29980
|
+
"immutable": true,
|
|
29981
|
+
"locationInModule": {
|
|
29982
|
+
"filename": "src/interface/on-failure.ts",
|
|
29983
|
+
"line": 79
|
|
29984
|
+
},
|
|
29985
|
+
"name": "step",
|
|
29986
|
+
"type": {
|
|
29987
|
+
"fqn": "@cdklabs/cdk-ssm-documents.AutomationStep"
|
|
29988
|
+
}
|
|
29989
|
+
}
|
|
29990
|
+
],
|
|
29991
|
+
"symbolId": "src/interface/on-failure:StepFallback"
|
|
29992
|
+
},
|
|
29993
|
+
"@cdklabs/cdk-ssm-documents.StepNameFallback": {
|
|
29994
|
+
"assembly": "@cdklabs/cdk-ssm-documents",
|
|
29995
|
+
"base": "@cdklabs/cdk-ssm-documents.OnCancel",
|
|
29996
|
+
"docs": {
|
|
29997
|
+
"stability": "stable"
|
|
29998
|
+
},
|
|
29999
|
+
"fqn": "@cdklabs/cdk-ssm-documents.StepNameFallback",
|
|
30000
|
+
"initializer": {
|
|
30001
|
+
"docs": {
|
|
30002
|
+
"stability": "stable"
|
|
30003
|
+
},
|
|
30004
|
+
"locationInModule": {
|
|
30005
|
+
"filename": "src/interface/on-failure.ts",
|
|
30006
|
+
"line": 100
|
|
30007
|
+
},
|
|
30008
|
+
"parameters": [
|
|
30009
|
+
{
|
|
30010
|
+
"name": "step",
|
|
30011
|
+
"type": {
|
|
30012
|
+
"primitive": "string"
|
|
30013
|
+
}
|
|
30014
|
+
},
|
|
30015
|
+
{
|
|
30016
|
+
"name": "validateStepAction",
|
|
30017
|
+
"type": {
|
|
30018
|
+
"primitive": "boolean"
|
|
30019
|
+
}
|
|
30020
|
+
}
|
|
30021
|
+
]
|
|
30022
|
+
},
|
|
30023
|
+
"kind": "class",
|
|
30024
|
+
"locationInModule": {
|
|
30025
|
+
"filename": "src/interface/on-failure.ts",
|
|
30026
|
+
"line": 97
|
|
30027
|
+
},
|
|
30028
|
+
"methods": [
|
|
30029
|
+
{
|
|
30030
|
+
"docs": {
|
|
30031
|
+
"stability": "stable"
|
|
30032
|
+
},
|
|
30033
|
+
"locationInModule": {
|
|
30034
|
+
"filename": "src/interface/on-failure.ts",
|
|
30035
|
+
"line": 106
|
|
30036
|
+
},
|
|
30037
|
+
"name": "stepToInvoke",
|
|
30038
|
+
"overrides": "@cdklabs/cdk-ssm-documents.OnFailure",
|
|
30039
|
+
"parameters": [
|
|
30040
|
+
{
|
|
30041
|
+
"name": "currentStep",
|
|
30042
|
+
"type": {
|
|
30043
|
+
"fqn": "@cdklabs/cdk-ssm-documents.AutomationStep"
|
|
30044
|
+
}
|
|
30045
|
+
}
|
|
30046
|
+
],
|
|
30047
|
+
"returns": {
|
|
30048
|
+
"type": {
|
|
30049
|
+
"primitive": "string"
|
|
30050
|
+
}
|
|
30051
|
+
}
|
|
30052
|
+
},
|
|
30053
|
+
{
|
|
30054
|
+
"docs": {
|
|
30055
|
+
"stability": "stable"
|
|
30056
|
+
},
|
|
30057
|
+
"locationInModule": {
|
|
30058
|
+
"filename": "src/interface/on-failure.ts",
|
|
30059
|
+
"line": 117
|
|
30060
|
+
},
|
|
30061
|
+
"name": "toSsmValue",
|
|
30062
|
+
"overrides": "@cdklabs/cdk-ssm-documents.OnFailure",
|
|
30063
|
+
"returns": {
|
|
30064
|
+
"type": {
|
|
30065
|
+
"primitive": "string"
|
|
30066
|
+
}
|
|
30067
|
+
}
|
|
30068
|
+
}
|
|
30069
|
+
],
|
|
30070
|
+
"name": "StepNameFallback",
|
|
30071
|
+
"properties": [
|
|
30072
|
+
{
|
|
30073
|
+
"docs": {
|
|
30074
|
+
"stability": "stable"
|
|
30075
|
+
},
|
|
30076
|
+
"immutable": true,
|
|
30077
|
+
"locationInModule": {
|
|
30078
|
+
"filename": "src/interface/on-failure.ts",
|
|
30079
|
+
"line": 98
|
|
30080
|
+
},
|
|
30081
|
+
"name": "step",
|
|
30082
|
+
"type": {
|
|
30083
|
+
"primitive": "string"
|
|
30084
|
+
}
|
|
30085
|
+
},
|
|
30086
|
+
{
|
|
30087
|
+
"docs": {
|
|
30088
|
+
"stability": "stable"
|
|
30089
|
+
},
|
|
30090
|
+
"immutable": true,
|
|
30091
|
+
"locationInModule": {
|
|
30092
|
+
"filename": "src/interface/on-failure.ts",
|
|
30093
|
+
"line": 99
|
|
30094
|
+
},
|
|
30095
|
+
"name": "validateStepAction",
|
|
30096
|
+
"type": {
|
|
30097
|
+
"primitive": "boolean"
|
|
30098
|
+
}
|
|
30099
|
+
}
|
|
30100
|
+
],
|
|
30101
|
+
"symbolId": "src/interface/on-failure:StepNameFallback"
|
|
30102
|
+
},
|
|
29506
30103
|
"@cdklabs/cdk-ssm-documents.StepProps": {
|
|
29507
30104
|
"assembly": "@cdklabs/cdk-ssm-documents",
|
|
29508
30105
|
"datatype": true,
|
|
@@ -31926,6 +32523,6 @@
|
|
|
31926
32523
|
"symbolId": "src/interface/webhook:WebhookImpl"
|
|
31927
32524
|
}
|
|
31928
32525
|
},
|
|
31929
|
-
"version": "0.0.
|
|
31930
|
-
"fingerprint": "
|
|
32526
|
+
"version": "0.0.20",
|
|
32527
|
+
"fingerprint": "kEtZVw41lvIaUPez+KQLdZLZffNQOKTGpKdQUgc8zns="
|
|
31931
32528
|
}
|