Interface CfnSigningConfiguration.RuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSigningConfiguration.RuleProperty.Jsii$Proxy
- Enclosing class:
CfnSigningConfiguration
@Stability(Stable)
public static interface CfnSigningConfiguration.RuleProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.ecr.*;
RuleProperty ruleProperty = RuleProperty.builder()
.signingProfileArn("signingProfileArn")
// the properties below are optional
.repositoryFilters(List.of(RepositoryFilterProperty.builder()
.filter("filter")
.filterType("filterType")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSigningConfiguration.RulePropertystatic final classAn implementation forCfnSigningConfiguration.RuleProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSigningProfileArn
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 .
- See Also:
-
getRepositoryFilters
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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnSigningConfiguration.RepositoryFilterProperty>- See Also:
-
builder
-