Class CfnPipeline
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.codepipeline.CfnPipeline
- All Implemented Interfaces:
IInspectable,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.89.0 (build 2f74b3e)",
date="2023-10-26T00:56:05.662Z")
@Stability(Stable)
public class CfnPipeline
extends CfnResource
implements IInspectable, ITaggable
The
AWS::CodePipeline::Pipeline resource creates a CodePipeline pipeline that describes how software changes go through a release process.
For more information, see What Is CodePipeline? in the AWS CodePipeline User Guide .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codepipeline.*;
Object configuration;
CfnPipeline cfnPipeline = CfnPipeline.Builder.create(this, "MyCfnPipeline")
.roleArn("roleArn")
.stages(List.of(StageDeclarationProperty.builder()
.actions(List.of(ActionDeclarationProperty.builder()
.actionTypeId(ActionTypeIdProperty.builder()
.category("category")
.owner("owner")
.provider("provider")
.version("version")
.build())
.name("name")
// the properties below are optional
.configuration(configuration)
.inputArtifacts(List.of(InputArtifactProperty.builder()
.name("name")
.build()))
.namespace("namespace")
.outputArtifacts(List.of(OutputArtifactProperty.builder()
.name("name")
.build()))
.region("region")
.roleArn("roleArn")
.runOrder(123)
.build()))
.name("name")
// the properties below are optional
.blockers(List.of(BlockerDeclarationProperty.builder()
.name("name")
.type("type")
.build()))
.build()))
// the properties below are optional
.artifactStore(ArtifactStoreProperty.builder()
.location("location")
.type("type")
// the properties below are optional
.encryptionKey(EncryptionKeyProperty.builder()
.id("id")
.type("type")
.build())
.build())
.artifactStores(List.of(ArtifactStoreMapProperty.builder()
.artifactStore(ArtifactStoreProperty.builder()
.location("location")
.type("type")
// the properties below are optional
.encryptionKey(EncryptionKeyProperty.builder()
.id("id")
.type("type")
.build())
.build())
.region("region")
.build()))
.disableInboundStageTransitions(List.of(StageTransitionProperty.builder()
.reason("reason")
.stageName("stageName")
.build()))
.name("name")
.restartExecutionOnUpdate(false)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceRepresents information about an action declaration.static interfaceRepresents information about an action type.static interfaceA mapping ofartifactStoreobjects and their corresponding AWS Regions.static interfaceThe S3 bucket where artifacts for the pipeline are stored.static interfaceReserved for future use.static final classA fluent builder forCfnPipeline.static interfaceRepresents information about the key used to encrypt data in the artifact store, such as an AWS Key Management Service ( AWS KMS) key.static interfaceRepresents information about an artifact to be worked on, such as a test or build artifact.static interfaceRepresents information about the output of an action.static interfaceRepresents information about a stage and its definition.static interfaceThe name of the pipeline in which you want to disable the flow of artifacts from one stage to another.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnPipeline(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnPipeline(software.amazon.jsii.JsiiObjectRef objRef) CfnPipeline(software.constructs.Construct scope, String id, CfnPipelineProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe S3 bucket where artifacts for the pipeline are stored.A mapping ofartifactStoreobjects and their corresponding AWS Regions.The version of the pipeline.Represents the input of aDisableStageTransitionaction.getName()The name of the pipeline.Indicates whether to rerun the CodePipeline pipeline after you update it.The Amazon Resource Name (ARN) for CodePipeline to use to either perform actions with noactionRoleArn, or to use to assume roles for actions with anactionRoleArn.Represents information about a stage and its definition.getTags()Tag Manager which manages the tags for this resource.Specifies the tags applied to the pipeline.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetArtifactStore(IResolvable value) The S3 bucket where artifacts for the pipeline are stored.voidThe S3 bucket where artifacts for the pipeline are stored.voidsetArtifactStores(List<Object> value) A mapping ofartifactStoreobjects and their corresponding AWS Regions.voidsetArtifactStores(IResolvable value) A mapping ofartifactStoreobjects and their corresponding AWS Regions.voidRepresents the input of aDisableStageTransitionaction.voidRepresents the input of aDisableStageTransitionaction.voidThe name of the pipeline.voidIndicates whether to rerun the CodePipeline pipeline after you update it.voidIndicates whether to rerun the CodePipeline pipeline after you update it.voidsetRoleArn(String value) The Amazon Resource Name (ARN) for CodePipeline to use to either perform actions with noactionRoleArn, or to use to assume roles for actions with anactionRoleArn.voidRepresents information about a stage and its definition.voidsetStages(IResolvable value) Represents information about a stage and its definition.voidsetTagsRaw(List<CfnTag> value) Specifies the tags applied to the pipeline.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnPipeline
protected CfnPipeline(software.amazon.jsii.JsiiObjectRef objRef) -
CfnPipeline
protected CfnPipeline(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnPipeline
@Stability(Stable) public CfnPipeline(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnPipelineProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrId
-
getAttrVersion
The version of the pipeline.A new pipeline is always assigned a version number of 1. This number increments when a pipeline is updated.
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getRoleArn
The Amazon Resource Name (ARN) for CodePipeline to use to either perform actions with noactionRoleArn, or to use to assume roles for actions with anactionRoleArn. -
setRoleArn
The Amazon Resource Name (ARN) for CodePipeline to use to either perform actions with noactionRoleArn, or to use to assume roles for actions with anactionRoleArn. -
getStages
Represents information about a stage and its definition. -
setStages
Represents information about a stage and its definition. -
setStages
Represents information about a stage and its definition. -
getArtifactStore
The S3 bucket where artifacts for the pipeline are stored. -
setArtifactStore
The S3 bucket where artifacts for the pipeline are stored. -
setArtifactStore
The S3 bucket where artifacts for the pipeline are stored. -
getArtifactStores
A mapping ofartifactStoreobjects and their corresponding AWS Regions. -
setArtifactStores
A mapping ofartifactStoreobjects and their corresponding AWS Regions. -
setArtifactStores
A mapping ofartifactStoreobjects and their corresponding AWS Regions. -
getDisableInboundStageTransitions
Represents the input of aDisableStageTransitionaction. -
setDisableInboundStageTransitions
Represents the input of aDisableStageTransitionaction. -
setDisableInboundStageTransitions
Represents the input of aDisableStageTransitionaction. -
getName
The name of the pipeline. -
setName
The name of the pipeline. -
getRestartExecutionOnUpdate
Indicates whether to rerun the CodePipeline pipeline after you update it. -
setRestartExecutionOnUpdate
Indicates whether to rerun the CodePipeline pipeline after you update it. -
setRestartExecutionOnUpdate
Indicates whether to rerun the CodePipeline pipeline after you update it. -
getTagsRaw
Specifies the tags applied to the pipeline. -
setTagsRaw
Specifies the tags applied to the pipeline.
-