CfnRegistryScanningConfigurationMixinProps
- class aws_cdk.cfn_property_mixins.aws_ecr.CfnRegistryScanningConfigurationMixinProps(*, rules=None, scan_type=None)
Bases:
objectProperties for CfnRegistryScanningConfigurationPropsMixin.
- Parameters:
rules (
Union[IResolvable,Sequence[Union[IResolvable,ScanningRuleProperty,Dict[str,Any]]],None]) – The scanning rules associated with the registry.scan_type (
Optional[str]) – The type of scanning configured for the registry.
- 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.cfn_property_mixins import aws_ecr as ecr cfn_registry_scanning_configuration_mixin_props = ecr.CfnRegistryScanningConfigurationMixinProps( rules=[ecr.CfnRegistryScanningConfigurationPropsMixin.ScanningRuleProperty( repository_filters=[ecr.CfnRegistryScanningConfigurationPropsMixin.RepositoryFilterProperty( filter="filter", filter_type="filterType" )], scan_frequency="scanFrequency" )], scan_type="scanType" )
Attributes
- rules
The scanning rules associated with the registry.
- scan_type
The type of scanning configured for the registry.