RuleTypeIdProperty Struct
The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.
For more information about conditions, see Stage conditions . For more information about rules, see the AWS CodePipeline rule reference .
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codepipeline as codepipeline } from 'aws-cdk-lib';
const ruleTypeIdProperty: codepipeline.CfnPipeline.RuleTypeIdProperty = {
category: 'category',
owner: 'owner',
provider: 'provider',
version: 'version',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codepipeline as codepipeline
rule_type_id_property = codepipeline.CfnPipeline.RuleTypeIdProperty(
category="category",
owner="owner",
provider="provider",
version="version"
)
java
// 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.*;
RuleTypeIdProperty ruleTypeIdProperty = RuleTypeIdProperty.builder()
.category("category")
.owner("owner")
.provider("provider")
.version("version")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodePipeline;
var ruleTypeIdProperty = new RuleTypeIdProperty {
Category = "category",
Owner = "owner",
Provider = "provider",
Version = "version"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
ruleTypeIdProperty := &RuleTypeIdProperty{
Category: jsii.String("category"),
Owner: jsii.String("owner"),
Provider: jsii.String("provider"),
Version: jsii.String("version"),
}
Properties
categoryoptionalstringcategoryoptionalstrcategoryoptionalStringCategoryoptionalstringCategoryoptional*string #A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule.
The valid category is Rule .
The creator of the rule being called.
The valid value for the Owner field in the rule category is AWS .
provideroptionalstringprovideroptionalstrprovideroptionalStringProvideroptionalstringProvideroptional*string #The rule provider, such as the `DeploymentWindow` rule.
For a list of rule provider names, see the rules listed in the AWS CodePipeline rule reference .
versionoptionalstringversionoptionalstrversionoptionalStringVersionoptionalstringVersionoptional*string #A string that describes the rule version.