Interface CfnPipeline.RuleDeclarationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPipeline.RuleDeclarationProperty.Jsii$Proxy
- Enclosing class:
CfnPipeline
@Stability(Stable)
public static interface CfnPipeline.RuleDeclarationProperty
extends software.amazon.jsii.JsiiSerializable
Represents information about the rule to be created for an associated condition.
An example would be creating a new rule for an entry condition, such as a rule that checks for a test result before allowing the run to enter the deployment stage.
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;
RuleDeclarationProperty ruleDeclarationProperty = RuleDeclarationProperty.builder()
.configuration(configuration)
.inputArtifacts(List.of(InputArtifactProperty.builder()
.name("name")
.build()))
.name("name")
.region("region")
.roleArn("roleArn")
.ruleTypeId(RuleTypeIdProperty.builder()
.category("category")
.owner("owner")
.provider("provider")
.version("version")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPipeline.RuleDeclarationPropertystatic final classAn implementation forCfnPipeline.RuleDeclarationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe action configuration fields for the rule.default ObjectThe input artifacts fields for the rule, such as specifying an input file for the rule.default StringgetName()The name of the rule that is created for the condition, such as CheckAllResults.default StringThe Region for the condition associated with the rule.default StringThe pipeline role ARN associated with the rule.default ObjectThe ID for the rule type, which is made up of the combined values for category, owner, provider, and version.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfiguration
The action configuration fields for the rule.- See Also:
-
getInputArtifacts
The input artifacts fields for the rule, such as specifying an input file for the rule.- See Also:
-
getName
The name of the rule that is created for the condition, such as CheckAllResults.- See Also:
-
getRegion
The Region for the condition associated with the rule.- See Also:
-
getRoleArn
The pipeline role ARN associated with the rule.- See Also:
-
getRuleTypeId
The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.- See Also:
-
builder
-