How to use the @aws-cdk/aws-codepipeline.CfnCustomActionType function in @aws-cdk/aws-codepipeline

To help you get started, we’ve selected a few @aws-cdk/aws-codepipeline examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github aws / aws-cdk / packages / @aws-cdk / aws-codepipeline-actions / lib / custom-action-registration.ts View on Github external
constructor(parent: cdk.Construct, id: string, props: CustomActionRegistrationProps) {
    super(parent, id);

    new codepipeline.CfnCustomActionType(this, 'Resource', {
      category: props.category,
      inputArtifactDetails: {
        minimumCount: props.artifactBounds.minInputs,
        maximumCount: props.artifactBounds.maxInputs,
      },
      outputArtifactDetails: {
        minimumCount: props.artifactBounds.minOutputs,
        maximumCount: props.artifactBounds.maxOutputs,
      },
      provider: props.provider,
      version: props.version || '1',
      settings: {
        entityUrlTemplate: props.entityUrl,
        executionUrlTemplate: props.executionUrl,
      },
      configurationProperties: props.actionProperties === undefined ? undefined : props.actionProperties.map((ap) => { return {