CfnSigningConfigurationProps
- class aws_cdk.aws_ecr.CfnSigningConfigurationProps(*, rules)
Bases:
objectProperties for defining a
CfnSigningConfiguration.- Parameters:
rules (
Union[IResolvable,Sequence[Union[IResolvable,RuleProperty,Dict[str,Any]]]]) – A list of signing rules. Each rule defines a signing profile and optional repository filters that determine which images are automatically signed.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_ecr as ecr cfn_signing_configuration_props = ecr.CfnSigningConfigurationProps( rules=[ecr.CfnSigningConfiguration.RuleProperty( signing_profile_arn="signingProfileArn", # the properties below are optional repository_filters=[ecr.CfnSigningConfiguration.RepositoryFilterProperty( filter="filter", filter_type="filterType" )] )] )
Attributes
- rules
A list of signing rules.
Each rule defines a signing profile and optional repository filters that determine which images are automatically signed.