Interface PipelineProps
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- PipelineProps.Jsii$Proxy
 S3SourceAction sourceAction;
 Artifact sourceOutput;
 Bucket deployBucket;
 // Pipeline-level variable
 Variable variable = Variable.Builder.create()
         .variableName("bucket-var")
         .description("description")
         .defaultValue("sample")
         .build();
 Pipeline.Builder.create(this, "Pipeline")
         .pipelineType(PipelineType.V2)
         .variables(List.of(variable))
         .stages(List.of(StageProps.builder()
                 .stageName("Source")
                 .actions(List.of(sourceAction))
                 .build(), StageProps.builder()
                 .stageName("Deploy")
                 .actions(List.of(
                     S3DeployAction.Builder.create()
                             .actionName("DeployAction")
                             // can reference the variables
                             .objectKey(String.format("%s.txt", variable.reference()))
                             .input(sourceOutput)
                             .bucket(deployBucket)
                             .build()))
                 .build()))
         .build();
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forPipelinePropsstatic final classAn implementation forPipelineProps
- 
Method SummaryModifier and TypeMethodDescriptionstatic PipelineProps.Builderbuilder()default IBucketThe S3 bucket used by this Pipeline to store artifacts.default BooleanCreate KMS keys for cross-account deployments.A map of region to S3 bucket name used for cross-region CodePipeline.default BooleanEnable KMS key rotation for the generated KMS keys.default ExecutionModeThe method that the pipeline will use to handle multiple executions.default StringName of the pipeline.default PipelineTypeType of the pipeline.default BooleanIndicates whether to rerun the AWS CodePipeline pipeline after you update it.default BooleanReuse the same cross region support stack for all pipelines in the App.default IRolegetRole()The IAM role to be assumed by this Pipeline.default List<StageProps> The list of Stages, in order, to create this Pipeline with.default List<TriggerProps> The trigger configuration specifying a type of event, such as Git tags, that starts the pipeline.default BooleanUse pipeline service role for actions if no action role configured.A list that defines the pipeline variables for a pipeline resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getArtifactBucketThe S3 bucket used by this Pipeline to store artifacts.Default: - A new S3 bucket will be created. 
- 
getCrossAccountKeysCreate KMS keys for cross-account deployments.This controls whether the pipeline is enabled for cross-account deployments. By default cross-account deployments are enabled, but this feature requires that KMS Customer Master Keys are created which have a cost of $1/month. If you do not need cross-account deployments, you can set this to falseto not create those keys and save on that cost (the artifact bucket will be encrypted with an AWS-managed key). However, cross-account deployments will no longer be possible.Default: false - false if the feature flag `CODEPIPELINE_CROSS_ACCOUNT_KEYS_DEFAULT_VALUE_TO_FALSE` is true, true otherwise 
- 
getCrossRegionReplicationBucketsA map of region to S3 bucket name used for cross-region CodePipeline.For every Action that you specify targeting a different region than the Pipeline itself, if you don't provide an explicit Bucket for that region using this property, the construct will automatically create a Stack containing an S3 Bucket in that region. Default: - None. 
- 
getEnableKeyRotationEnable KMS key rotation for the generated KMS keys.By default KMS key rotation is disabled, but will add an additional $1/month for each year the key exists when enabled. Default: - false (key rotation is disabled) 
- 
getExecutionModeThe method that the pipeline will use to handle multiple executions.Default: - ExecutionMode.SUPERSEDED 
- 
getPipelineNameName of the pipeline.Default: - AWS CloudFormation generates an ID and uses that for the pipeline name. 
- 
getPipelineTypeType of the pipeline.Default: - PipelineType.V2 if the feature flag `CODEPIPELINE_DEFAULT_PIPELINE_TYPE_TO_V2` is true, PipelineType.V1 otherwise - See Also:
 
- 
getRestartExecutionOnUpdateIndicates whether to rerun the AWS CodePipeline pipeline after you update it.Default: false 
- 
getReuseCrossRegionSupportStacksReuse the same cross region support stack for all pipelines in the App.Default: - true (Use the same support stack for all pipelines in App) 
- 
getRoleThe IAM role to be assumed by this Pipeline.Default: a new IAM role will be created. 
- 
getStagesThe list of Stages, in order, to create this Pipeline with.You can always add more Stages later by calling Pipeline#addStage.Default: - None. 
- 
getTriggersThe trigger configuration specifying a type of event, such as Git tags, that starts the pipeline.When a trigger configuration is specified, default change detection for repository and branch commits is disabled. triggerscan only be used whenpipelineTypeis set toPipelineType.V2. You can always add more triggers later by callingPipeline#addTrigger.Default: - No triggers 
- 
getUsePipelineRoleForActionsUse pipeline service role for actions if no action role configured.Default: - false 
- 
getVariablesA list that defines the pipeline variables for a pipeline resource.variablescan only be used whenpipelineTypeis set toPipelineType.V2. You can always add more variables later by callingPipeline#addVariable.Default: - No variables 
- 
builder- Returns:
- a PipelineProps.BuilderofPipelineProps
 
 
-