@aws-cdk/aws-codepipeline
Version:
Better interface to AWS Code Pipeline
1 lines • 327 kB
JSON
{"version":"2","toolVersion":"1.84.0","snippets":{"5fac1b539d56a150905432607a7d469bca187a04d35044382be575dfcbb0f844":{"translations":{"python":{"source":"# Construct an empty Pipeline\npipeline = codepipeline.Pipeline(self, \"MyFirstPipeline\")","version":"2"},"csharp":{"source":"// Construct an empty Pipeline\nvar pipeline = new Pipeline(this, \"MyFirstPipeline\");","version":"1"},"java":{"source":"// Construct an empty Pipeline\nPipeline pipeline = new Pipeline(this, \"MyFirstPipeline\");","version":"1"},"go":{"source":"// Construct an empty Pipeline\npipeline := codepipeline.NewPipeline(this, jsii.String(\"MyFirstPipeline\"))","version":"1"},"$":{"source":"// Construct an empty Pipeline\nconst pipeline = new codepipeline.Pipeline(this, 'MyFirstPipeline');","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-codepipeline"},"field":{"field":"markdown","line":23}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-codepipeline.Pipeline","constructs.Construct"],"fullSource":"import { Construct } from 'constructs';\nimport { App, Duration, PhysicalName, Stack } from '@aws-cdk/core';\nimport * as codepipeline from '@aws-cdk/aws-codepipeline';\nimport * as codepipeline_actions from '@aws-cdk/aws-codepipeline-actions';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\n\nclass Context extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n// Construct an empty Pipeline\nconst pipeline = new codepipeline.Pipeline(this, 'MyFirstPipeline');\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":1,"75":3,"104":1,"194":1,"197":1,"225":1,"242":1,"243":1},"fqnsFingerprint":"00705596dbeae9d0017ab13493cca2f2f0568e6d58259a7a8194772dc7e28889"},"44105e65d59a02b965c3e94a77a2d59a8f39d3143ec6ba2a6ce52a0088428e10":{"translations":{"python":{"source":"# Give the Pipeline a nice, human-readable name\npipeline = codepipeline.Pipeline(self, \"MyFirstPipeline\",\n pipeline_name=\"MyPipeline\"\n)","version":"2"},"csharp":{"source":"// Give the Pipeline a nice, human-readable name\nvar pipeline = new Pipeline(this, \"MyFirstPipeline\", new PipelineProps {\n PipelineName = \"MyPipeline\"\n});","version":"1"},"java":{"source":"// Give the Pipeline a nice, human-readable name\nPipeline pipeline = Pipeline.Builder.create(this, \"MyFirstPipeline\")\n .pipelineName(\"MyPipeline\")\n .build();","version":"1"},"go":{"source":"// Give the Pipeline a nice, human-readable name\npipeline := codepipeline.NewPipeline(this, jsii.String(\"MyFirstPipeline\"), &PipelineProps{\n\tPipelineName: jsii.String(\"MyPipeline\"),\n})","version":"1"},"$":{"source":"// Give the Pipeline a nice, human-readable name\nconst pipeline = new codepipeline.Pipeline(this, 'MyFirstPipeline', {\n pipelineName: 'MyPipeline',\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-codepipeline"},"field":{"field":"markdown","line":30}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-codepipeline.Pipeline","@aws-cdk/aws-codepipeline.PipelineProps","constructs.Construct"],"fullSource":"import { Construct } from 'constructs';\nimport { App, Duration, PhysicalName, Stack } from '@aws-cdk/core';\nimport * as codepipeline from '@aws-cdk/aws-codepipeline';\nimport * as codepipeline_actions from '@aws-cdk/aws-codepipeline-actions';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\n\nclass Context extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n// Give the Pipeline a nice, human-readable name\nconst pipeline = new codepipeline.Pipeline(this, 'MyFirstPipeline', {\n pipelineName: 'MyPipeline',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":4,"104":1,"193":1,"194":1,"197":1,"225":1,"242":1,"243":1,"281":1},"fqnsFingerprint":"6c2753b40ad0009e2ab80dac90ea76e4ce6053485e6c9c450b607e3e0d62db61"},"f26a57d39a111e5b3350c5e50bf1238539097d28c75d05a9dfb34fe89b86f3a5":{"translations":{"python":{"source":"# Don't create Customer Master Keys\npipeline = codepipeline.Pipeline(self, \"MyFirstPipeline\",\n cross_account_keys=False\n)","version":"2"},"csharp":{"source":"// Don't create Customer Master Keys\nvar pipeline = new Pipeline(this, \"MyFirstPipeline\", new PipelineProps {\n CrossAccountKeys = false\n});","version":"1"},"java":{"source":"// Don't create Customer Master Keys\nPipeline pipeline = Pipeline.Builder.create(this, \"MyFirstPipeline\")\n .crossAccountKeys(false)\n .build();","version":"1"},"go":{"source":"// Don't create Customer Master Keys\npipeline := codepipeline.NewPipeline(this, jsii.String(\"MyFirstPipeline\"), &PipelineProps{\n\tCrossAccountKeys: jsii.Boolean(false),\n})","version":"1"},"$":{"source":"// Don't create Customer Master Keys\nconst pipeline = new codepipeline.Pipeline(this, 'MyFirstPipeline', {\n crossAccountKeys: false,\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-codepipeline"},"field":{"field":"markdown","line":47}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-codepipeline.Pipeline","@aws-cdk/aws-codepipeline.PipelineProps","constructs.Construct"],"fullSource":"import { Construct } from 'constructs';\nimport { App, Duration, PhysicalName, Stack } from '@aws-cdk/core';\nimport * as codepipeline from '@aws-cdk/aws-codepipeline';\nimport * as codepipeline_actions from '@aws-cdk/aws-codepipeline-actions';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\n\nclass Context extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n// Don't create Customer Master Keys\nconst pipeline = new codepipeline.Pipeline(this, 'MyFirstPipeline', {\n crossAccountKeys: false,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":1,"75":4,"91":1,"104":1,"193":1,"194":1,"197":1,"225":1,"242":1,"243":1,"281":1},"fqnsFingerprint":"6c2753b40ad0009e2ab80dac90ea76e4ce6053485e6c9c450b607e3e0d62db61"},"3f5fa4d98ba6a77c458523ecedca0bef56a82778a43a293bb35682adbe32a1b7":{"translations":{"python":{"source":"# Enable key rotation for the generated KMS key\npipeline = codepipeline.Pipeline(self, \"MyFirstPipeline\",\n # ...\n enable_key_rotation=True\n)","version":"2"},"csharp":{"source":"// Enable key rotation for the generated KMS key\nvar pipeline = new Pipeline(this, \"MyFirstPipeline\", new PipelineProps {\n // ...\n EnableKeyRotation = true\n});","version":"1"},"java":{"source":"// Enable key rotation for the generated KMS key\nPipeline pipeline = Pipeline.Builder.create(this, \"MyFirstPipeline\")\n // ...\n .enableKeyRotation(true)\n .build();","version":"1"},"go":{"source":"// Enable key rotation for the generated KMS key\npipeline := codepipeline.NewPipeline(this, jsii.String(\"MyFirstPipeline\"), &PipelineProps{\n\t// ...\n\tEnableKeyRotation: jsii.Boolean(true),\n})","version":"1"},"$":{"source":"// Enable key rotation for the generated KMS key\nconst pipeline = new codepipeline.Pipeline(this, 'MyFirstPipeline', {\n // ...\n enableKeyRotation: true,\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-codepipeline"},"field":{"field":"markdown","line":58}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-codepipeline.Pipeline","@aws-cdk/aws-codepipeline.PipelineProps","constructs.Construct"],"fullSource":"import { Construct } from 'constructs';\nimport { App, Duration, PhysicalName, Stack } from '@aws-cdk/core';\nimport * as codepipeline from '@aws-cdk/aws-codepipeline';\nimport * as codepipeline_actions from '@aws-cdk/aws-codepipeline-actions';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\n\nclass Context extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n// Enable key rotation for the generated KMS key\nconst pipeline = new codepipeline.Pipeline(this, 'MyFirstPipeline', {\n // ...\n enableKeyRotation: true,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":1,"75":4,"104":1,"106":1,"193":1,"194":1,"197":1,"225":1,"242":1,"243":1,"281":1},"fqnsFingerprint":"6c2753b40ad0009e2ab80dac90ea76e4ce6053485e6c9c450b607e3e0d62db61"},"53928bc79224f01b776d3051fdc6108cbb80bfa95dbf65a2388e4ea97c641890":{"translations":{"python":{"source":"# Provide a Stage when creating a pipeline\npipeline = codepipeline.Pipeline(self, \"MyFirstPipeline\",\n stages=[codepipeline.StageProps(\n stage_name=\"Source\",\n actions=[]\n )\n ]\n)","version":"2"},"csharp":{"source":"// Provide a Stage when creating a pipeline\nvar pipeline = new Pipeline(this, \"MyFirstPipeline\", new PipelineProps {\n Stages = new [] { new StageProps {\n StageName = \"Source\",\n Actions = new [] { }\n } }\n});","version":"1"},"java":{"source":"// Provide a Stage when creating a pipeline\nPipeline pipeline = Pipeline.Builder.create(this, \"MyFirstPipeline\")\n .stages(List.of(StageProps.builder()\n .stageName(\"Source\")\n .actions(List.of())\n .build()))\n .build();","version":"1"},"go":{"source":"// Provide a Stage when creating a pipeline\npipeline := codepipeline.NewPipeline(this, jsii.String(\"MyFirstPipeline\"), &PipelineProps{\n\tStages: []stageProps{\n\t\t&stageProps{\n\t\t\tStageName: jsii.String(\"Source\"),\n\t\t\tActions: []iAction{\n\t\t\t},\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"// Provide a Stage when creating a pipeline\nconst pipeline = new codepipeline.Pipeline(this, 'MyFirstPipeline', {\n stages: [\n {\n stageName: 'Source',\n actions: [\n // see below...\n ],\n },\n ],\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-codepipeline"},"field":{"field":"markdown","line":70}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-codepipeline.Pipeline","@aws-cdk/aws-codepipeline.PipelineProps","constructs.Construct"],"fullSource":"import { Construct } from 'constructs';\nimport { App, Duration, PhysicalName, Stack } from '@aws-cdk/core';\nimport * as codepipeline from '@aws-cdk/aws-codepipeline';\nimport * as codepipeline_actions from '@aws-cdk/aws-codepipeline-actions';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\n\nclass Context extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n// Provide a Stage when creating a pipeline\nconst pipeline = new codepipeline.Pipeline(this, 'MyFirstPipeline', {\n stages: [\n {\n stageName: 'Source',\n actions: [\n // see below...\n ],\n },\n ],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":6,"104":1,"192":2,"193":2,"194":1,"197":1,"225":1,"242":1,"243":1,"281":3},"fqnsFingerprint":"6c2753b40ad0009e2ab80dac90ea76e4ce6053485e6c9c450b607e3e0d62db61"},"12d4687d21523a676f509b5610c6b7c1d3d6f4406fa176ed6b8ed035c1065e93":{"translations":{"python":{"source":"# Append a Stage to an existing Pipeline\n# pipeline: codepipeline.Pipeline\n\nsource_stage = pipeline.add_stage(\n stage_name=\"Source\",\n actions=[]\n)","version":"2"},"csharp":{"source":"// Append a Stage to an existing Pipeline\nPipeline pipeline;\n\nvar sourceStage = pipeline.AddStage(new StageOptions {\n StageName = \"Source\",\n Actions = new [] { }\n});","version":"1"},"java":{"source":"// Append a Stage to an existing Pipeline\nPipeline pipeline;\n\nIStage sourceStage = pipeline.addStage(StageOptions.builder()\n .stageName(\"Source\")\n .actions(List.of())\n .build());","version":"1"},"go":{"source":"// Append a Stage to an existing Pipeline\nvar pipeline pipeline\n\nsourceStage := pipeline.AddStage(&StageOptions{\n\tStageName: jsii.String(\"Source\"),\n\tActions: []iAction{\n\t},\n})","version":"1"},"$":{"source":"// Append a Stage to an existing Pipeline\ndeclare const pipeline: codepipeline.Pipeline;\nconst sourceStage = pipeline.addStage({\n stageName: 'Source',\n actions: [ // optional property\n // see below...\n ],\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-codepipeline"},"field":{"field":"markdown","line":86}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-codepipeline.IStage","@aws-cdk/aws-codepipeline.Pipeline#addStage","@aws-cdk/aws-codepipeline.StageOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// Append a Stage to an existing Pipeline\ndeclare const pipeline: codepipeline.Pipeline;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from 'constructs';\nimport { App, Duration, PhysicalName, Stack } from '@aws-cdk/core';\nimport * as codepipeline from '@aws-cdk/aws-codepipeline';\nimport * as codepipeline_actions from '@aws-cdk/aws-codepipeline-actions';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\n\nclass Context extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst sourceStage = pipeline.addStage({\n stageName: 'Source',\n actions: [ // optional property\n // see below...\n ],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":1,"75":8,"130":1,"153":1,"169":1,"192":1,"193":1,"194":1,"196":1,"225":2,"242":2,"243":2,"281":2,"290":1},"fqnsFingerprint":"d268c5a4986d00bbf76289fbf7871d5582e3c7d58271f530375b801b8a44602c"},"9278a26de27ae5a57108b76d4f32757e86f956d43e29cfbb34a487a8b8840394":{"translations":{"python":{"source":"# Insert a new Stage at an arbitrary point\n# pipeline: codepipeline.Pipeline\n# another_stage: codepipeline.IStage\n# yet_another_stage: codepipeline.IStage\n\n\nsome_stage = pipeline.add_stage(\n stage_name=\"SomeStage\",\n placement=codepipeline.StagePlacement(\n # note: you can only specify one of the below properties\n right_before=another_stage,\n just_after=yet_another_stage\n )\n)","version":"2"},"csharp":{"source":"// Insert a new Stage at an arbitrary point\nPipeline pipeline;\nIStage anotherStage;\nIStage yetAnotherStage;\n\n\nvar someStage = pipeline.AddStage(new StageOptions {\n StageName = \"SomeStage\",\n Placement = new StagePlacement {\n // note: you can only specify one of the below properties\n RightBefore = anotherStage,\n JustAfter = yetAnotherStage\n }\n});","version":"1"},"java":{"source":"// Insert a new Stage at an arbitrary point\nPipeline pipeline;\nIStage anotherStage;\nIStage yetAnotherStage;\n\n\nIStage someStage = pipeline.addStage(StageOptions.builder()\n .stageName(\"SomeStage\")\n .placement(StagePlacement.builder()\n // note: you can only specify one of the below properties\n .rightBefore(anotherStage)\n .justAfter(yetAnotherStage)\n .build())\n .build());","version":"1"},"go":{"source":"// Insert a new Stage at an arbitrary point\nvar pipeline pipeline\nvar anotherStage iStage\nvar yetAnotherStage iStage\n\n\nsomeStage := pipeline.AddStage(&StageOptions{\n\tStageName: jsii.String(\"SomeStage\"),\n\tPlacement: &StagePlacement{\n\t\t// note: you can only specify one of the below properties\n\t\tRightBefore: anotherStage,\n\t\tJustAfter: yetAnotherStage,\n\t},\n})","version":"1"},"$":{"source":"// Insert a new Stage at an arbitrary point\ndeclare const pipeline: codepipeline.Pipeline;\ndeclare const anotherStage: codepipeline.IStage;\ndeclare const yetAnotherStage: codepipeline.IStage;\n\nconst someStage = pipeline.addStage({\n stageName: 'SomeStage',\n placement: {\n // note: you can only specify one of the below properties\n rightBefore: anotherStage,\n justAfter: yetAnotherStage,\n }\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-codepipeline"},"field":{"field":"markdown","line":99}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-codepipeline.IStage","@aws-cdk/aws-codepipeline.Pipeline#addStage","@aws-cdk/aws-codepipeline.StageOptions","@aws-cdk/aws-codepipeline.StagePlacement"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// Insert a new Stage at an arbitrary point\ndeclare const pipeline: codepipeline.Pipeline;\ndeclare const anotherStage: codepipeline.IStage;\ndeclare const yetAnotherStage: codepipeline.IStage;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from 'constructs';\nimport { App, Duration, PhysicalName, Stack } from '@aws-cdk/core';\nimport * as codepipeline from '@aws-cdk/aws-codepipeline';\nimport * as codepipeline_actions from '@aws-cdk/aws-codepipeline-actions';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\n\nclass Context extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst someStage = pipeline.addStage({\n stageName: 'SomeStage',\n placement: {\n // note: you can only specify one of the below properties\n rightBefore: anotherStage,\n justAfter: yetAnotherStage,\n }\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":1,"75":18,"130":3,"153":3,"169":3,"193":2,"194":1,"196":1,"225":4,"242":4,"243":4,"281":4,"290":1},"fqnsFingerprint":"3a0bc57bdc622d2a5d70113f838d2ae1320d3edc0ebbca138caece2ba32c91d4"},"a88e999e77551c949e7366197ac2bcf9800b7dc02a85f1c1785714941e1a8275":{"translations":{"python":{"source":"# Disable transition to a stage\n# pipeline: codepipeline.Pipeline\n\n\nsome_stage = pipeline.add_stage(\n stage_name=\"SomeStage\",\n transition_to_enabled=False,\n transition_disabled_reason=\"Manual transition only\"\n)","version":"2"},"csharp":{"source":"// Disable transition to a stage\nPipeline pipeline;\n\n\nvar someStage = pipeline.AddStage(new StageOptions {\n StageName = \"SomeStage\",\n TransitionToEnabled = false,\n TransitionDisabledReason = \"Manual transition only\"\n});","version":"1"},"java":{"source":"// Disable transition to a stage\nPipeline pipeline;\n\n\nIStage someStage = pipeline.addStage(StageOptions.builder()\n .stageName(\"SomeStage\")\n .transitionToEnabled(false)\n .transitionDisabledReason(\"Manual transition only\")\n .build());","version":"1"},"go":{"source":"// Disable transition to a stage\nvar pipeline pipeline\n\n\nsomeStage := pipeline.AddStage(&StageOptions{\n\tStageName: jsii.String(\"SomeStage\"),\n\tTransitionToEnabled: jsii.Boolean(false),\n\tTransitionDisabledReason: jsii.String(\"Manual transition only\"),\n})","version":"1"},"$":{"source":"// Disable transition to a stage\ndeclare const pipeline: codepipeline.Pipeline;\n\nconst someStage = pipeline.addStage({\n stageName: 'SomeStage',\n transitionToEnabled: false,\n transitionDisabledReason: 'Manual transition only', // optional reason\n})","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-codepipeline"},"field":{"field":"markdown","line":117}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-codepipeline.IStage","@aws-cdk/aws-codepipeline.Pipeline#addStage","@aws-cdk/aws-codepipeline.StageOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// Disable transition to a stage\ndeclare const pipeline: codepipeline.Pipeline;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from 'constructs';\nimport { App, Duration, PhysicalName, Stack } from '@aws-cdk/core';\nimport * as codepipeline from '@aws-cdk/aws-codepipeline';\nimport * as codepipeline_actions from '@aws-cdk/aws-codepipeline-actions';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\n\nclass Context extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst someStage = pipeline.addStage({\n stageName: 'SomeStage',\n transitionToEnabled: false,\n transitionDisabledReason: 'Manual transition only', // optional reason\n})\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":9,"91":1,"130":1,"153":1,"169":1,"193":1,"194":1,"196":1,"225":2,"242":2,"243":2,"281":3,"290":1},"fqnsFingerprint":"d268c5a4986d00bbf76289fbf7871d5582e3c7d58271f530375b801b8a44602c"},"0e2f1d7737d7cb21c3c5f9413590cf10777ae8927281d95d8615ab741617eeae":{"translations":{"python":{"source":"# Use the `IStage.addAction()` method to mutate an existing Stage.\n# source_stage: codepipeline.IStage\n# some_action: codepipeline.Action\n\nsource_stage.add_action(some_action)","version":"2"},"csharp":{"source":"// Use the `IStage.addAction()` method to mutate an existing Stage.\nIStage sourceStage;\nAction someAction;\n\nsourceStage.AddAction(someAction);","version":"1"},"java":{"source":"// Use the `IStage.addAction()` method to mutate an existing Stage.\nIStage sourceStage;\nAction someAction;\n\nsourceStage.addAction(someAction);","version":"1"},"go":{"source":"// Use the `IStage.addAction()` method to mutate an existing Stage.\nvar sourceStage iStage\nvar someAction action\n\nsourceStage.AddAction(someAction)","version":"1"},"$":{"source":"// Use the `IStage.addAction()` method to mutate an existing Stage.\ndeclare const sourceStage: codepipeline.IStage;\ndeclare const someAction: codepipeline.Action;\nsourceStage.addAction(someAction);","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-codepipeline"},"field":{"field":"markdown","line":139}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-codepipeline.IAction","@aws-cdk/aws-codepipeline.IStage#addAction"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// Use the `IStage.addAction()` method to mutate an existing Stage.\ndeclare const sourceStage: codepipeline.IStage;\ndeclare const someAction: codepipeline.Action;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from 'constructs';\nimport { App, Duration, PhysicalName, Stack } from '@aws-cdk/core';\nimport * as codepipeline from '@aws-cdk/aws-codepipeline';\nimport * as codepipeline_actions from '@aws-cdk/aws-codepipeline-actions';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\n\nclass Context extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nsourceStage.addAction(someAction);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"75":9,"130":2,"153":2,"169":2,"194":1,"196":1,"225":2,"226":1,"242":2,"243":2,"290":1},"fqnsFingerprint":"b222176ac2d32dd07138ca90136df912c475adfedc35e6009d7039dfb7dc08f6"},"ca5f0d22c2bb8cd5cb25da1a4047578336128af7d568562864691ddaf56e4f4d":{"translations":{"python":{"source":"# Make a custom CodePipeline Action\ncodepipeline.CustomActionRegistration(self, \"GenericGitSourceProviderResource\",\n category=codepipeline.ActionCategory.SOURCE,\n artifact_bounds=codepipeline.ActionArtifactBounds(min_inputs=0, max_inputs=0, min_outputs=1, max_outputs=1),\n provider=\"GenericGitSource\",\n version=\"1\",\n entity_url=\"https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-create-custom-action.html\",\n execution_url=\"https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-create-custom-action.html\",\n action_properties=[codepipeline.CustomActionProperty(\n name=\"Branch\",\n required=True,\n key=False,\n secret=False,\n queryable=False,\n description=\"Git branch to pull\",\n type=\"String\"\n ), codepipeline.CustomActionProperty(\n name=\"GitUrl\",\n required=True,\n key=False,\n secret=False,\n queryable=False,\n description=\"SSH git clone URL\",\n type=\"String\"\n )\n ]\n)","version":"2"},"csharp":{"source":"// Make a custom CodePipeline Action\n// Make a custom CodePipeline Action\nnew CustomActionRegistration(this, \"GenericGitSourceProviderResource\", new CustomActionRegistrationProps {\n Category = ActionCategory.SOURCE,\n ArtifactBounds = new ActionArtifactBounds { MinInputs = 0, MaxInputs = 0, MinOutputs = 1, MaxOutputs = 1 },\n Provider = \"GenericGitSource\",\n Version = \"1\",\n EntityUrl = \"https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-create-custom-action.html\",\n ExecutionUrl = \"https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-create-custom-action.html\",\n ActionProperties = new [] { new CustomActionProperty {\n Name = \"Branch\",\n Required = true,\n Key = false,\n Secret = false,\n Queryable = false,\n Description = \"Git branch to pull\",\n Type = \"String\"\n }, new CustomActionProperty {\n Name = \"GitUrl\",\n Required = true,\n Key = false,\n Secret = false,\n Queryable = false,\n Description = \"SSH git clone URL\",\n Type = \"String\"\n } }\n});","version":"1"},"java":{"source":"// Make a custom CodePipeline Action\n// Make a custom CodePipeline Action\nCustomActionRegistration.Builder.create(this, \"GenericGitSourceProviderResource\")\n .category(ActionCategory.SOURCE)\n .artifactBounds(ActionArtifactBounds.builder().minInputs(0).maxInputs(0).minOutputs(1).maxOutputs(1).build())\n .provider(\"GenericGitSource\")\n .version(\"1\")\n .entityUrl(\"https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-create-custom-action.html\")\n .executionUrl(\"https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-create-custom-action.html\")\n .actionProperties(List.of(CustomActionProperty.builder()\n .name(\"Branch\")\n .required(true)\n .key(false)\n .secret(false)\n .queryable(false)\n .description(\"Git branch to pull\")\n .type(\"String\")\n .build(), CustomActionProperty.builder()\n .name(\"GitUrl\")\n .required(true)\n .key(false)\n .secret(false)\n .queryable(false)\n .description(\"SSH git clone URL\")\n .type(\"String\")\n .build()))\n .build();","version":"1"},"go":{"source":"// Make a custom CodePipeline Action\n// Make a custom CodePipeline Action\ncodepipeline.NewCustomActionRegistration(this, jsii.String(\"GenericGitSourceProviderResource\"), &CustomActionRegistrationProps{\n\tCategory: codepipeline.ActionCategory_SOURCE,\n\tArtifactBounds: &ActionArtifactBounds{\n\t\tMinInputs: jsii.Number(0),\n\t\tMaxInputs: jsii.Number(0),\n\t\tMinOutputs: jsii.Number(1),\n\t\tMaxOutputs: jsii.Number(1),\n\t},\n\tProvider: jsii.String(\"GenericGitSource\"),\n\tVersion: jsii.String(\"1\"),\n\tEntityUrl: jsii.String(\"https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-create-custom-action.html\"),\n\tExecutionUrl: jsii.String(\"https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-create-custom-action.html\"),\n\tActionProperties: []customActionProperty{\n\t\t&customActionProperty{\n\t\t\tName: jsii.String(\"Branch\"),\n\t\t\tRequired: jsii.Boolean(true),\n\t\t\tKey: jsii.Boolean(false),\n\t\t\tSecret: jsii.Boolean(false),\n\t\t\tQueryable: jsii.Boolean(false),\n\t\t\tDescription: jsii.String(\"Git branch to pull\"),\n\t\t\tType: jsii.String(\"String\"),\n\t\t},\n\t\t&customActionProperty{\n\t\t\tName: jsii.String(\"GitUrl\"),\n\t\t\tRequired: jsii.Boolean(true),\n\t\t\tKey: jsii.Boolean(false),\n\t\t\tSecret: jsii.Boolean(false),\n\t\t\tQueryable: jsii.Boolean(false),\n\t\t\tDescription: jsii.String(\"SSH git clone URL\"),\n\t\t\tType: jsii.String(\"String\"),\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"// Make a custom CodePipeline Action\nnew codepipeline.CustomActionRegistration(this, 'GenericGitSourceProviderResource', {\n category: codepipeline.ActionCategory.SOURCE,\n artifactBounds: { minInputs: 0, maxInputs: 0, minOutputs: 1, maxOutputs: 1 },\n provider: 'GenericGitSource',\n version: '1',\n entityUrl: 'https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-create-custom-action.html',\n executionUrl: 'https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-create-custom-action.html',\n actionProperties: [\n {\n name: 'Branch',\n required: true,\n key: false,\n secret: false,\n queryable: false,\n description: 'Git branch to pull',\n type: 'String',\n },\n {\n name: 'GitUrl',\n required: true,\n key: false,\n secret: false,\n queryable: false,\n description: 'SSH git clone URL',\n type: 'String',\n },\n ],\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-codepipeline"},"field":{"field":"markdown","line":150}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-codepipeline.ActionArtifactBounds","@aws-cdk/aws-codepipeline.ActionCategory","@aws-cdk/aws-codepipeline.ActionCategory#SOURCE","@aws-cdk/aws-codepipeline.CustomActionRegistration","@aws-cdk/aws-codepipeline.CustomActionRegistrationProps","constructs.Construct"],"fullSource":"import { Construct } from 'constructs';\nimport { App, Duration, PhysicalName, Stack } from '@aws-cdk/core';\nimport * as codepipeline from '@aws-cdk/aws-codepipeline';\nimport * as codepipeline_actions from '@aws-cdk/aws-codepipeline-actions';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\n\nclass Context extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n// Make a custom CodePipeline Action\nnew codepipeline.CustomActionRegistration(this, 'GenericGitSourceProviderResource', {\n category: codepipeline.ActionCategory.SOURCE,\n artifactBounds: { minInputs: 0, maxInputs: 0, minOutputs: 1, maxOutputs: 1 },\n provider: 'GenericGitSource',\n version: '1',\n entityUrl: 'https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-create-custom-action.html',\n executionUrl: 'https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-create-custom-action.html',\n actionProperties: [\n {\n name: 'Branch',\n required: true,\n key: false,\n secret: false,\n queryable: false,\n description: 'Git branch to pull',\n type: 'String',\n },\n {\n name: 'GitUrl',\n required: true,\n key: false,\n secret: false,\n queryable: false,\n description: 'SSH git clone URL',\n type: 'String',\n },\n ],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"8":4,"10":11,"75":30,"91":6,"104":1,"106":2,"192":1,"193":4,"194":3,"197":1,"226":1,"281":25},"fqnsFingerprint":"94f0358df251f375ced77527b5a7df2641a640033e554f954bd7c3da719e63ce"},"8055ec17ba9fe6f0b415bfbdb20192d42005010e738ae316212c9577120ac355":{"translations":{"python":{"source":"# Deploy an imported S3 bucket from a different account\n# stage: codepipeline.IStage\n# input: codepipeline.Artifact\n\nstage.add_action(codepipeline_actions.S3DeployAction(\n bucket=s3.Bucket.from_bucket_attributes(self, \"Bucket\",\n account=\"123456789012\"\n ),\n input=input,\n action_name=\"s3-deploy-action\"\n))","version":"2"},"csharp":{"source":"// Deploy an imported S3 bucket from a different account\nIStage stage;\nArtifact input;\n\nstage.AddAction(new S3DeployAction(new S3DeployActionProps {\n Bucket = Bucket.FromBucketAttributes(this, \"Bucket\", new BucketAttributes {\n Account = \"123456789012\"\n }),\n Input = input,\n ActionName = \"s3-deploy-action\"\n}));","version":"1"},"java":{"source":"// Deploy an imported S3 bucket from a different account\nIStage stage;\nArtifact input;\n\nstage.addAction(S3DeployAction.Builder.create()\n .bucket(Bucket.fromBucketAttributes(this, \"Bucket\", BucketAttributes.builder()\n .account(\"123456789012\")\n .build()))\n .input(input)\n .actionName(\"s3-deploy-action\")\n .build());","version":"1"},"go":{"source":"// Deploy an imported S3 bucket from a different account\nvar stage iStage\nvar input artifact\n\nstage.AddAction(codepipeline_actions.NewS3DeployAction(&S3DeployActionProps{\n\tBucket: s3.Bucket_FromBucketAttributes(this, jsii.String(\"Bucket\"), &BucketAttributes{\n\t\tAccount: jsii.String(\"123456789012\"),\n\t}),\n\tInput: input,\n\tActionName: jsii.String(\"s3-deploy-action\"),\n}))","version":"1"},"$":{"source":"// Deploy an imported S3 bucket from a different account\ndeclare const stage: codepipeline.IStage;\ndeclare const input: codepipeline.Artifact;\nstage.addAction(new codepipeline_actions.S3DeployAction({\n bucket: s3.Bucket.fromBucketAttributes(this, 'Bucket', {\n account: '123456789012',\n // ...\n }),\n input: input,\n actionName: 's3-deploy-action',\n // ...\n}));","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-codepipeline"},"field":{"field":"markdown","line":201}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-codepipeline-actions.S3DeployAction","@aws-cdk/aws-codepipeline-actions.S3DeployActionProps","@aws-cdk/aws-codepipeline.Artifact","@aws-cdk/aws-codepipeline.IAction","@aws-cdk/aws-codepipeline.IStage#addAction","@aws-cdk/aws-s3.Bucket","@aws-cdk/aws-s3.Bucket#fromBucketAttributes","@aws-cdk/aws-s3.BucketAttributes","@aws-cdk/aws-s3.IBucket","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// Deploy an imported S3 bucket from a different account\ndeclare const stage: codepipeline.IStage;\ndeclare const input: codepipeline.Artifact;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from 'constructs';\nimport { App, Duration, PhysicalName, Stack } from '@aws-cdk/core';\nimport * as codepipeline from '@aws-cdk/aws-codepipeline';\nimport * as codepipeline_actions from '@aws-cdk/aws-codepipeline-actions';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\n\nclass Context extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nstage.addAction(new codepipeline_actions.S3DeployAction({\n bucket: s3.Bucket.fromBucketAttributes(this, 'Bucket', {\n account: '123456789012',\n // ...\n }),\n input: input,\n actionName: 's3-deploy-action',\n // ...\n}));\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":3,"75":18,"104":1,"130":2,"153":2,"169":2,"193":2,"194":4,"196":2,"197":1,"225":2,"226":1,"242":2,"243":2,"281":4,"290":1},"fqnsFingerprint":"3103566eae687cdb770a787828d31ecfde6136715f183eb6146ed50be3874463"},"f6d2825212a27edb95e9707bf5774f7de947a9caf7f68338ce27f58d3104d13f":{"translations":{"python":{"source":"# Actions that don't accept a resource objet accept an explicit `account` parameter\n# stage: codepipeline.IStage\n# template_path: codepipeline.ArtifactPath\n\nstage.add_action(codepipeline_actions.CloudFormationCreateUpdateStackAction(\n account=\"123456789012\",\n template_path=template_path,\n admin_permissions=False,\n stack_name=Stack.of(self).stack_name,\n action_name=\"cloudformation-create-update\"\n))","version":"2"},"csharp":{"source":"// Actions that don't accept a resource objet accept an explicit `account` parameter\nIStage stage;\nArtifactPath templatePath;\n\nstage.AddAction(new CloudFormationCreateUpdateStackAction(new CloudFormationCreateUpdateStackActionProps {\n Account = \"123456789012\",\n TemplatePath = templatePath,\n AdminPermissions = false,\n StackName = Stack.Of(this).StackName,\n ActionName = \"cloudformation-create-update\"\n}));","version":"1"},"java":{"source":"// Actions that don't accept a resource objet accept an explicit `account` parameter\nIStage stage;\nArtifactPath templatePath;\n\nstage.addAction(CloudFormationCreateUpdateStackAction.Builder.create()\n .account(\"123456789012\")\n .templatePath(templatePath)\n .adminPermissions(false)\n .stackName(Stack.of(this).getStackName())\n .actionName(\"cloudformation-create-update\")\n .build());","version":"1"},"go":{"source":"// Actions that don't accept a resource objet accept an explicit `account` parameter\nvar stage iStage\nvar templatePath artifactPath\n\nstage.AddAction(codepipeline_actions.NewCloudFormationCreateUpdateStackAction(&CloudFormationCreateUpdateStackActionProps{\n\tAccount: jsii.String(\"123456789012\"),\n\tTemplatePath: TemplatePath,\n\tAdminPermissions: jsii.Boolean(false),\n\tStackName: awscdkcore.*stack_Of(this).stackName,\n\tActionName: jsii.String(\"cloudformation-create-update\"),\n}))","version":"1"},"$":{"source":"// Actions that don't accept a resource objet accept an explicit `account` parameter\ndeclare const stage: codepipeline.IStage;\ndeclare const templatePath: codepipeline.ArtifactPath;\nstage.addAction(new codepipeline_actions.CloudFormationCreateUpdateStackAction({\n account: '123456789012',\n templatePath,\n adminPermissions: false,\n stackName: Stack.of(this).stackName,\n actionName: 'cloudformation-create-update',\n // ...\n}));","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-codepipeline"},"field":{"field":"markdown","line":218}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-codepipeline-actions.CloudFormationCreateUpdateStackAction","@aws-cdk/aws-codepipeline-actions.CloudFormationCreateUpdateStackActionProps","@aws-cdk/aws-codepipeline.ArtifactPath","@aws-cdk/aws-codepipeline.IAction","@aws-cdk/aws-codepipeline.IStage#addAction","@aws-cdk/core.Stack#of","constructs.IConstruct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// Actions that don't accept a resource objet accept an explicit `account` parameter\ndeclare const stage: codepipeline.IStage;\ndeclare const templatePath: codepipeline.ArtifactPath;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from 'constructs';\nimport { App, Duration, PhysicalName, Stack } from '@aws-cdk/core';\nimport * as codepipeline from '@aws-cdk/aws-codepipeline';\nimport * as codepipeline_actions from '@aws-cdk/aws-codepipeline-actions';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\n\nclass Context extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nstage.addAction(new codepipeline_actions.CloudFormationCreateUpdateStackAction({\n account: '123456789012',\n templatePath,\n adminPermissions: false,\n stackName: Stack.of(this).stackName,\n actionName: 'cloudformation-create-update',\n // ...\n}));\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":18,"91":1,"104":1,"130":2,"153":2,"169":2,"193":1,"194":4,"196":2,"197":1,"225":2,"226":1,"242":2,"243":2,"281":4,"282":1,"290":1},"fqnsFingerprint":"ced77f5b0ae9936b1a8330554502c1bce915e5470a693dff5c573b7af6483866"},"f36fbc2d0fbb275e4177f3fe5875269fafebade4d8606afda7bea763f690572e":{"translations":{"python":{"source":"# Explicitly pass in a `role` when creating an action.\n# stage: codepipeline.IStage\n# template_path: codepipeline.ArtifactPath\n\nstage.add_action(codepipeline_actions.CloudFormationCreateUpdateStackAction(\n template_path=template_path,\n admin_permissions=False,\n stack_name=Stack.of(self).stack_name,\n action_name=\"cloudformation-create-update\",\n # ...\n role=iam.Role.from_role_arn(self, \"ActionRole\", \"...\")\n))","version":"2"},"csharp":{"source":"// Explicitly pass in a `role` when creating an action.\nIStage stage;\nArtifactPath templatePath;\n\nstage.AddAction(new CloudFormationCreateUpdateStackAction(new CloudFormationCreateUpdateStackActionProps {\n TemplatePath = templatePath,\n AdminPermissions = false,\n StackName = Stack.Of(this).StackName,\n ActionName = \"cloudformation-create-update\",\n // ...\n Role = Role.FromRoleArn(this, \"ActionRole\", \"...\")\n}));","version":"1"},"java":{"source":"// Explicitly pass in a `role` when creating an action.\nIStage stage;\nArtifactPath templatePath;\n\nstage.addAction(CloudFormationCreateUpdateStackAction.Builder.create()\n .templatePath(templatePath)\n .adminPermissions(false)\n .stackName(Stack.of(this).getStackName())\n .actionName(\"cloudformation-create-update\")\n // ...\n .role(Role.fromRoleArn(this, \"ActionRole\", \"...\"))\n .build());","version":"1"},"go":{"source":"// Explicitly pass in a `role` when creating an action.\nvar stage iStage\nvar templatePath artifactPath\n\nstage.AddAction(codepipeline_actions.NewCloudFormationCreateUpdateStackAction(&CloudFormationCreateUpdateStackActionProps{\n\tTemplatePath: TemplatePath,\n\tAdminPermissions: jsii.Boolean(false),\n\tStackName: awscdkcore.*stack_Of(this).stackName,\n\tActionName: jsii.String(\"cloudformation-create-update\"),\n\t// ...\n\tRole: iam.Role_FromRoleArn(this, jsii.String(\"ActionRole\"), jsii.String(\"...\")),\n}))","version":"1"},"$":{"source":"// Explicitly pass in a `role` when creating an action.\ndeclare const stage: codepipeline.IStage;\ndeclare const templatePath: codepipeline.ArtifactPath;\nstage.addAction(new codepipeline_actions.CloudFormationCreateUpdateStackAction({\n templatePath,\n adminPermissions: false,\n stackName: Stack.of(this).stackName,\n actionName: 'cloudformation-create-update',\n // ...\n role: iam.Role.fromRoleArn(this, 'ActionRole', '...'),\n}));","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-codepipeline"},"field":{"field":"markdown","line":242}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-codepipeline-actions.CloudFormationCreateUpdateStackAction","@aws-cdk/aws-codepipeline-actions.CloudFormationCreateUpdateStackActionProps","@aws-cdk/aws-codepipeline.ArtifactPath","@aws-cdk/aws-codepipeline.IAction","@aws-cdk/aws-codepipeline.IStage#addAction","@aws-cdk/aws-iam.IRole","@aws-cdk/aws-iam.Role","@aws-cdk/aws-iam.Role#fromRoleArn","@aws-cdk/core.Stack#of","constructs.Construct","constructs.IConstruct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// Explicitly pass in a `role` when creating an action.\ndeclare const stage: codepipeline.IStage;\ndeclare const templatePath: codepipeline.ArtifactPath;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from 'constructs';\nimport { App, Duration, PhysicalName, Stack } from '@aws-cdk/core';\nimport * as codepipeline from '@aws-cdk/aws-codepipeline';\nimport * as codepipeline_actions from '@aws-cdk/aws-codepipeline-actions';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\n\nclass Context extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nstage.addAction(new codepipeline_actions.CloudFormationCreateUpdateStackAction({\n templatePath,\n adminPermissions: false,\n stackName: Stack.of(this).stackName,\n actionName: 'cloudformation-create-update',\n // ...\n role: iam.Role.fromRoleArn(this, 'ActionRole', '...'),\n}));\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":3,"75":21,"91":1,"104":2,"130":2,"153":2,"169":2,"193":1,"194":6,"196":3,"197":1,"225":2,"226":1,"242":2,"243":2,"281":4,"282":1,"290":1},"fqnsFingerprint":"305daf59c7dbf78b5989459cf1ad9764e1c7e16ebaafb930f0d301fdc9059375"},"75b11b915d913d5bdf324d863d35c8798b1e58e7889ff10402ec25a7cbaff320":{"translations":{"python":{"source":"# Deploy to an imported S3 bucket from a different Region.\n# stage: codepipeline.IStage\n# input: codepipeline.Artifact\n\nstage.add_action(codepipeline_actions.S3DeployAction(\n bucket=s3.Bucket.from_bucket_attributes(self, \"Bucket\",\n region=\"us-west-1\"\n ),\n input=input,\n action_name=\"s3-deploy-action\"\n))","version":"2"},"csharp":{"source":"// Deploy to an imported S3 bucket from a different Region.\nIStage stage;\nArtifact input;\n\nstage.AddAction(new S3DeployAction(new S3DeployActionProps {\n Bucket = Bucket.FromBucketAttributes(this, \"Bucket\", new BucketAttributes {\n Region = \"us-west-1\"\n }),\n Input = input,\n ActionName = \"s3-deploy-action\"\n}));","version":"1"},"java":{"source":"// Deploy to an imported S3 bucket from a different Region.\nIStage stage;\nArtifact input;\n\nstage.addAction(S3DeployAction.Builder.create()\n .bucket(Bucket.fromBucketAttributes(this, \"Bucket\", BucketAttributes.builder()\n .region(\"us-west-1\")\n .build()))\n .input(input)\n .actionName(\"s3-deploy-action\")\n .build());","version":"1"},"go":{"source":"// Deploy to an imported S3 bucket from a different Region.\nvar stage iStage\nvar input artifact\n\nstage.AddAction(codepipeline_actions.NewS3DeployAction(&S3DeployActionProps{\n\tBucket: s3.Bucket_FromBucketAttributes(this, jsii.String(\"Bucket\"), &BucketAttributes{\n\t\tRegion: jsii.String(\"us-west-1\"),\n\t}),\n\tInput: input,\n\tActionName: jsii.String(\"s3-deploy-action\"),\n}))","version":"1"},"$":{"source":"// Deploy to an imported S3 bucket from a different Region.\ndeclare const stage: codepipeline.IStage;\ndeclare const input: codepipeline.Artifact;\nstage.addAction(new codepipeline_actions.S3DeployAction({\n bucket: s3.Bucket.fromBucketAttributes(this, 'Bucket', {\n region: 'us-west-1',\n // ...\n }),\n input: input,\n actionName: 's3-deploy-action',\n // ...\n}));","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-codepipeline"},"field":{"field":"markdown","line":262}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-codepipeline-actions.S3DeployAction","@aws-cdk/aws-codepipeline-actions.S3DeployActionProps","@aws-cdk/aws-codepipeline.Artifact","@aws-cdk/aws-codepipeline.IAction","@aws-cdk/aws-codepipeline.IStage#addAction","@aws-cdk/aws-s3.Bucket","@aws-cdk/aws-s3.Bucket#fromBucketAttributes","@aws-cdk/aws-s3.BucketAttributes","@aws-cdk/aws-s3.IBucket","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// Deploy to an imported S3 bucket from a different Region.\ndeclare const stage: codepipeline.IStage;\ndeclare const input: codepipeline.Artifact;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from 'constructs';\nimport { App, Duration, PhysicalName, Stack } from '@aws-cdk/core';\nimport * as codepipeline from '@aws-cdk/aws-codepipeline';\nimport * as codepipeline_actions from '@aws-cdk/aws-codepipeline-actions';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\n\nclass Context extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nstage.addAction(new codepipeline_actions.S3DeployAction({\n bucket: s3.Bucket.fromBucketAttributes(this, 'Bucket', {\n region: 'us-west-1',\n // ...\n }),\n input: input,\n actionName: 's3-deploy-action',\n // ...\n}));\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":3,"75":18,"104":1,"130":2,"153":2,"169":2,"193":2,"194":4,"196":2,"197":1,"225":2,"226":1,"242":2,"243":2,"281":4,"290":1},"fqnsFingerprint":"3103566eae687cdb770a787828d31ecfde6136715f183eb6146ed50be3874463"},"8425fe0543551727dc36eaa8cdf8fe06adec4b34d75ac534f3741da9fcbbc7e9":{"translations":{"python":{"source":"# Actions that don't take an AWS resource will accept an explicit `region` parameter.\n# stage: codepipeline.IStage\n# template_path: codepipeline.ArtifactPath\n\nstage.add_action(codepipeline_actions.CloudFormationCreateUpdateStackAction(\n template_path=template_path,\n admin_permissions=False,\n stack_name=Stack.of(self).stack_name,\n action_name=\"cloudformation-create-update\",\n # ...\n region=\"us-west-1\"\n))","version":"2"},"csharp":{"source":"// Actions that don't take an AWS resource will accept an explicit `region` parameter.\nIStage stage;\nArtifactPath templatePath;\n\nstage.AddAction(new CloudFormationCreateUpdateStackAction(n