agent-claw: automated task changes
This commit is contained in:
61
cdk/node_modules/aws-cdk-lib/rosetta/aws_codepipeline/action.ts-fixture
generated
vendored
Normal file
61
cdk/node_modules/aws-cdk-lib/rosetta/aws_codepipeline/action.ts-fixture
generated
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
import { Construct } from 'constructs';
|
||||
import { Duration, Stack } from 'aws-cdk-lib';
|
||||
import * as codepipeline from 'aws-cdk-lib/aws-codepipeline';
|
||||
|
||||
interface MyActionProps {
|
||||
variablesNamespace?: string;
|
||||
actionName: string;
|
||||
}
|
||||
|
||||
class MyAction extends codepipeline.Action {
|
||||
public variables: { [key: string]: string };
|
||||
protected readonly providedActionProperties: codepipeline.ActionProperties;
|
||||
|
||||
constructor(props: MyActionProps) {
|
||||
super();
|
||||
this.providedActionProperties = {
|
||||
...props,
|
||||
category: codepipeline.ActionCategory.SOURCE,
|
||||
provider: 'Fake',
|
||||
artifactBounds: { minInputs: 0, maxInputs: 0, minOutputs: 1, maxOutputs: 4 },
|
||||
};
|
||||
this.variables = { 'myVariable': 'var' };
|
||||
}
|
||||
|
||||
public bound(_scope: Construct, _stage: codepipeline.IStage, _options: codepipeline.ActionBindOptions):
|
||||
codepipeline.ActionConfig {
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
||||
interface OtherActionProps {
|
||||
config: string;
|
||||
actionName: string;
|
||||
}
|
||||
|
||||
class OtherAction extends codepipeline.Action {
|
||||
protected readonly providedActionProperties: codepipeline.ActionProperties;
|
||||
|
||||
constructor(props: OtherActionProps) {
|
||||
super();
|
||||
this.providedActionProperties = {
|
||||
...props,
|
||||
category: codepipeline.ActionCategory.SOURCE,
|
||||
provider: 'Fake',
|
||||
artifactBounds: { minInputs: 0, maxInputs: 0, minOutputs: 1, maxOutputs: 4 },
|
||||
};
|
||||
}
|
||||
|
||||
public bound(_scope: Construct, _stage: codepipeline.IStage, _options: codepipeline.ActionBindOptions):
|
||||
codepipeline.ActionConfig {
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
||||
class Context extends Stack {
|
||||
constructor(scope: Construct, id: string) {
|
||||
super(scope, id);
|
||||
|
||||
/// here
|
||||
}
|
||||
}
|
||||
15
cdk/node_modules/aws-cdk-lib/rosetta/aws_codepipeline/default.ts-fixture
generated
vendored
Normal file
15
cdk/node_modules/aws-cdk-lib/rosetta/aws_codepipeline/default.ts-fixture
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import { Construct } from 'constructs';
|
||||
import { App, Duration, PhysicalName, Stack } from 'aws-cdk-lib';
|
||||
import * as codepipeline from 'aws-cdk-lib/aws-codepipeline';
|
||||
import * as codepipeline_actions from 'aws-cdk-lib/aws-codepipeline-actions';
|
||||
import * as s3 from 'aws-cdk-lib/aws-s3';
|
||||
import * as iam from 'aws-cdk-lib/aws-iam';
|
||||
import * as kms from 'aws-cdk-lib/aws-kms';
|
||||
|
||||
class Context extends Stack {
|
||||
constructor(scope: Construct, id: string) {
|
||||
super(scope, id);
|
||||
|
||||
/// here
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user