CfnSigningConfigurationProps Struct
Properties for defining a CfnSigningConfiguration.
Example
ts
// 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 cfnSigningConfigurationProps: ecr.CfnSigningConfigurationProps = {
rules: [{
signingProfileArn: 'signingProfileArn',
// the properties below are optional
repositoryFilters: [{
filter: 'filter',
filterType: 'filterType',
}],
}],
};
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_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"
)]
)]
)
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.ecr.*;
CfnSigningConfigurationProps cfnSigningConfigurationProps = CfnSigningConfigurationProps.builder()
.rules(List.of(RuleProperty.builder()
.signingProfileArn("signingProfileArn")
// the properties below are optional
.repositoryFilters(List.of(RepositoryFilterProperty.builder()
.filter("filter")
.filterType("filterType")
.build()))
.build()))
.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.ECR;
var cfnSigningConfigurationProps = new CfnSigningConfigurationProps {
Rules = new [] { new RuleProperty {
SigningProfileArn = "signingProfileArn",
// the properties below are optional
RepositoryFilters = new [] { new RepositoryFilterProperty {
Filter = "filter",
FilterType = "filterType"
} }
} }
};
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"
cfnSigningConfigurationProps := &CfnSigningConfigurationProps{
Rules: []interface{}{
&RuleProperty{
SigningProfileArn: jsii.String("signingProfileArn"),
// the properties below are optional
RepositoryFilters: []interface{}{
&RepositoryFilterProperty{
Filter: jsii.String("filter"),
FilterType: jsii.String("filterType"),
},
},
},
},
}
Properties
rulesIResolvable | IResolvable | CfnSigningConfiguration.RuleProperty[]rulestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, RuleProperty]]]rulesIResolvableRulesIResolvableRulesinterface{}required#A list of signing rules.
Each rule defines a signing profile and optional repository filters that determine which images are automatically signed.