All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.hsiehshujeng.cdk.databrew.cicd.DataBrewCodePipeline Maven / Gradle / Ivy

The newest version!
package io.github.hsiehshujeng.cdk.databrew.cicd;

/**
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.105.0 (build 0a2adcb)", date = "2024-11-18T01:03:07.202Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = io.github.hsiehshujeng.cdk.databrew.cicd.$Module.class, fqn = "cdk-databrew-cicd.DataBrewCodePipeline")
public class DataBrewCodePipeline extends software.constructs.Construct {

    protected DataBrewCodePipeline(final software.amazon.jsii.JsiiObjectRef objRef) {
        super(objRef);
    }

    protected DataBrewCodePipeline(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
        super(initializationMode);
    }

    /**
     * @param scope This parameter is required.
     * @param name This parameter is required.
     * @param props This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public DataBrewCodePipeline(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String name, final @org.jetbrains.annotations.NotNull io.github.hsiehshujeng.cdk.databrew.cicd.DataBrewCodePipelineProps props) {
        super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(name, "name is required"), java.util.Objects.requireNonNull(props, "props is required") });
    }

    /**
     * The name of the branch that will trigger the DataBrew CICD pipeline.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public @org.jetbrains.annotations.NotNull java.lang.String getBranchName() {
        return software.amazon.jsii.Kernel.get(this, "branchName", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
    }

    /**
     * The ARN of the S3 bucket for the CodePipeline DataBrew CICD pipeline.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public @org.jetbrains.annotations.NotNull java.lang.String getBucketArn() {
        return software.amazon.jsii.Kernel.get(this, "bucketArn", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
    }

    /**
     * The ARN of the CodeCommit repository.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public @org.jetbrains.annotations.NotNull java.lang.String getCodeCommitRepoArn() {
        return software.amazon.jsii.Kernel.get(this, "codeCommitRepoArn", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
    }

    /**
     * The ARN of the DataBrew CICD pipeline.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public @org.jetbrains.annotations.NotNull java.lang.String getCodePipelineArn() {
        return software.amazon.jsii.Kernel.get(this, "codePipelineArn", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
    }

    /**
     * the (required) name of the Artifact at the first stage.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public @org.jetbrains.annotations.NotNull java.lang.String getFirstStageArtifactName() {
        return software.amazon.jsii.Kernel.get(this, "firstStageArtifactName", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
    }

    /**
     * The ARN of the Lambda function for the pre-production account.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public @org.jetbrains.annotations.NotNull java.lang.String getPreproductionFunctionArn() {
        return software.amazon.jsii.Kernel.get(this, "preproductionFunctionArn", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
    }

    /**
     * The ARN of the Lambda function for the production account.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public @org.jetbrains.annotations.NotNull java.lang.String getProductionFunctionArn() {
        return software.amazon.jsii.Kernel.get(this, "productionFunctionArn", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
    }

    /**
     * The name of the CodeCommit repositroy for the DataBrew CICD pipeline.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public @org.jetbrains.annotations.NotNull java.lang.String getRepoName() {
        return software.amazon.jsii.Kernel.get(this, "repoName", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
    }

    /**
     * A fluent builder for {@link io.github.hsiehshujeng.cdk.databrew.cicd.DataBrewCodePipeline}.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public static final class Builder implements software.amazon.jsii.Builder {
        /**
         * @return a new instance of {@link Builder}.
         * @param scope This parameter is required.
         * @param name This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
        public static Builder create(final software.constructs.Construct scope, final java.lang.String name) {
            return new Builder(scope, name);
        }

        private final software.constructs.Construct scope;
        private final java.lang.String name;
        private final io.github.hsiehshujeng.cdk.databrew.cicd.DataBrewCodePipelineProps.Builder props;

        private Builder(final software.constructs.Construct scope, final java.lang.String name) {
            this.scope = scope;
            this.name = name;
            this.props = new io.github.hsiehshujeng.cdk.databrew.cicd.DataBrewCodePipelineProps.Builder();
        }

        /**
         * The ARN of the IAM role in the pre-production account.
         * 

* @return {@code this} * @param preproductionIamRoleArn The ARN of the IAM role in the pre-production account. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder preproductionIamRoleArn(final java.lang.String preproductionIamRoleArn) { this.props.preproductionIamRoleArn(preproductionIamRoleArn); return this; } /** * The ARN of the IAM role in the production account. *

* @return {@code this} * @param productionIamRoleArn The ARN of the IAM role in the production account. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder productionIamRoleArn(final java.lang.String productionIamRoleArn) { this.props.productionIamRoleArn(productionIamRoleArn); return this; } /** * The name of the branch that will trigger the DataBrew CICD pipeline. *

* Default: 'main' *

* @return {@code this} * @param branchName The name of the branch that will trigger the DataBrew CICD pipeline. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder branchName(final java.lang.String branchName) { this.props.branchName(branchName); return this; } /** * The name of the S3 bucket for the CodePipeline DataBrew CICD pipeline. *

* Default: 'databrew-cicd-codepipelineartifactstorebucket' *

* @return {@code this} * @param bucketName The name of the S3 bucket for the CodePipeline DataBrew CICD pipeline. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder bucketName(final java.lang.String bucketName) { this.props.bucketName(bucketName); return this; } /** * the (required) name of the Artifact at the first stage. *

* Default: 'SourceOutput' *

* @return {@code this} * @param firstStageArtifactName the (required) name of the Artifact at the first stage. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder firstStageArtifactName(final java.lang.String firstStageArtifactName) { this.props.firstStageArtifactName(firstStageArtifactName); return this; } /** * The name of the CodePipeline Databrew CICD pipeline. *

* Default: 'DataBrew-Recipe-Application' *

* @return {@code this} * @param pipelineName The name of the CodePipeline Databrew CICD pipeline. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder pipelineName(final java.lang.String pipelineName) { this.props.pipelineName(pipelineName); return this; } /** * The name of the CodeCommit repositroy for the DataBrew CICD pipeline. *

* Default: 'DataBrew-Recipes-Repo' *

* @return {@code this} * @param repoName The name of the CodeCommit repositroy for the DataBrew CICD pipeline. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder repoName(final java.lang.String repoName) { this.props.repoName(repoName); return this; } /** * @return a newly built instance of {@link io.github.hsiehshujeng.cdk.databrew.cicd.DataBrewCodePipeline}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override public io.github.hsiehshujeng.cdk.databrew.cicd.DataBrewCodePipeline build() { return new io.github.hsiehshujeng.cdk.databrew.cicd.DataBrewCodePipeline( this.scope, this.name, this.props.build() ); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy