interface RuleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ECR.CfnSigningConfiguration.RuleProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecr#CfnSigningConfiguration_RuleProperty |
Java | software.amazon.awscdk.services.ecr.CfnSigningConfiguration.RuleProperty |
Python | aws_cdk.aws_ecr.CfnSigningConfiguration.RuleProperty |
TypeScript | aws-cdk-lib » aws_ecr » CfnSigningConfiguration » RuleProperty |
A signing rule that specifies a signing profile and optional repository filters.
When an image is pushed to a matching repository, a signing job is created using the specified profile.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecr as ecr } from 'aws-cdk-lib';
const ruleProperty: ecr.CfnSigningConfiguration.RuleProperty = {
signingProfileArn: 'signingProfileArn',
// the properties below are optional
repositoryFilters: [{
filter: 'filter',
filterType: 'filterType',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| signing | string | The ARN of the AWS Signer signing profile to use for signing images that match this rule. |
| repository | IResolvable | (IResolvable | Repository)[] | A list of repository filters that determine which repositories have their images signed on push. |
signingProfileArn
Type:
string
The ARN of the AWS Signer signing profile to use for signing images that match this rule.
For more information about signing profiles, see Signing profiles in the AWS Signer Developer Guide .
repositoryFilters?
Type:
IResolvable | (IResolvable | Repository)[]
(optional)
A list of repository filters that determine which repositories have their images signed on push.
If no filters are specified, all images pushed to the registry are signed using the rule's signing profile. Maximum of 100 filters per rule.

.NET
Go
Java
Python
TypeScript