import cdk = require("@aws-cdk/cdk"); import { Action, CommonActionProps } from "./action"; import { Artifact } from "./artifact"; /** * Construction properties of the low-level {@link SourceAction source Action}. */ export interface SourceActionProps extends CommonActionProps { /** * The source action owner (could be "AWS", "ThirdParty" or "Custom"). * * @default "AWS" */ owner?: string; /** * The source action verison. * * @default "1" */ version?: string; /** * The name of the source's output artifact. * Output artifacts are used by CodePipeline as inputs into other actions. */ artifactName: string; /** * The service provider that the action calls. * For example, a valid provider for Source actions is "S3". */ provider: string; /** * The action's configuration. These are key-value pairs that specify input values for an action. * For more information, see the AWS CodePipeline User Guide. * * http://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#action-requirements */ configuration?: any; } /** * Low-level class for source actions. * It is recommended that concrete types are used instead, * such as {@link codepipeline.AmazonS3Source} or * {@link codecommit.PipelineSource}. */ export declare abstract class SourceAction extends Action { readonly artifact: Artifact; constructor(parent: cdk.Construct, name: string, props: SourceActionProps); }