1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ecr
  5. RegistryScanningConfiguration

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.30.0 published on Monday, Jun 16, 2025 by Pulumi

aws-native.ecr.RegistryScanningConfiguration

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.30.0 published on Monday, Jun 16, 2025 by Pulumi

    The scanning configuration for a private registry.

    Create RegistryScanningConfiguration Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RegistryScanningConfiguration(name: string, args: RegistryScanningConfigurationArgs, opts?: CustomResourceOptions);
    @overload
    def RegistryScanningConfiguration(resource_name: str,
                                      args: RegistryScanningConfigurationArgs,
                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def RegistryScanningConfiguration(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      rules: Optional[Sequence[RegistryScanningConfigurationScanningRuleArgs]] = None,
                                      scan_type: Optional[RegistryScanningConfigurationScanType] = None)
    func NewRegistryScanningConfiguration(ctx *Context, name string, args RegistryScanningConfigurationArgs, opts ...ResourceOption) (*RegistryScanningConfiguration, error)
    public RegistryScanningConfiguration(string name, RegistryScanningConfigurationArgs args, CustomResourceOptions? opts = null)
    public RegistryScanningConfiguration(String name, RegistryScanningConfigurationArgs args)
    public RegistryScanningConfiguration(String name, RegistryScanningConfigurationArgs args, CustomResourceOptions options)
    
    type: aws-native:ecr:RegistryScanningConfiguration
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RegistryScanningConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RegistryScanningConfigurationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RegistryScanningConfigurationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RegistryScanningConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RegistryScanningConfigurationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    RegistryScanningConfiguration Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The RegistryScanningConfiguration resource accepts the following input properties:

    Rules List<Pulumi.AwsNative.Ecr.Inputs.RegistryScanningConfigurationScanningRule>
    The scanning rules associated with the registry.
    ScanType Pulumi.AwsNative.Ecr.RegistryScanningConfigurationScanType
    The type of scanning configured for the registry.
    Rules []RegistryScanningConfigurationScanningRuleArgs
    The scanning rules associated with the registry.
    ScanType RegistryScanningConfigurationScanType
    The type of scanning configured for the registry.
    rules List<RegistryScanningConfigurationScanningRule>
    The scanning rules associated with the registry.
    scanType RegistryScanningConfigurationScanType
    The type of scanning configured for the registry.
    rules RegistryScanningConfigurationScanningRule[]
    The scanning rules associated with the registry.
    scanType RegistryScanningConfigurationScanType
    The type of scanning configured for the registry.
    rules Sequence[RegistryScanningConfigurationScanningRuleArgs]
    The scanning rules associated with the registry.
    scan_type RegistryScanningConfigurationScanType
    The type of scanning configured for the registry.
    rules List<Property Map>
    The scanning rules associated with the registry.
    scanType "BASIC" | "ENHANCED"
    The type of scanning configured for the registry.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RegistryScanningConfiguration resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    RegistryId string
    The account ID of the destination registry.
    Id string
    The provider-assigned unique ID for this managed resource.
    RegistryId string
    The account ID of the destination registry.
    id String
    The provider-assigned unique ID for this managed resource.
    registryId String
    The account ID of the destination registry.
    id string
    The provider-assigned unique ID for this managed resource.
    registryId string
    The account ID of the destination registry.
    id str
    The provider-assigned unique ID for this managed resource.
    registry_id str
    The account ID of the destination registry.
    id String
    The provider-assigned unique ID for this managed resource.
    registryId String
    The account ID of the destination registry.

    Supporting Types

    RegistryScanningConfigurationFilterType, RegistryScanningConfigurationFilterTypeArgs

    Wildcard
    WILDCARD
    RegistryScanningConfigurationFilterTypeWildcard
    WILDCARD
    Wildcard
    WILDCARD
    Wildcard
    WILDCARD
    WILDCARD
    WILDCARD
    "WILDCARD"
    WILDCARD

    RegistryScanningConfigurationRepositoryFilter, RegistryScanningConfigurationRepositoryFilterArgs

    Filter string
    The filter to use when scanning.
    FilterType Pulumi.AwsNative.Ecr.RegistryScanningConfigurationFilterType
    The type associated with the filter.
    Filter string
    The filter to use when scanning.
    FilterType RegistryScanningConfigurationFilterType
    The type associated with the filter.
    filter String
    The filter to use when scanning.
    filterType RegistryScanningConfigurationFilterType
    The type associated with the filter.
    filter string
    The filter to use when scanning.
    filterType RegistryScanningConfigurationFilterType
    The type associated with the filter.
    filter str
    The filter to use when scanning.
    filter_type RegistryScanningConfigurationFilterType
    The type associated with the filter.
    filter String
    The filter to use when scanning.
    filterType "WILDCARD"
    The type associated with the filter.

    RegistryScanningConfigurationScanFrequency, RegistryScanningConfigurationScanFrequencyArgs

    ScanOnPush
    SCAN_ON_PUSH
    ContinuousScan
    CONTINUOUS_SCAN
    RegistryScanningConfigurationScanFrequencyScanOnPush
    SCAN_ON_PUSH
    RegistryScanningConfigurationScanFrequencyContinuousScan
    CONTINUOUS_SCAN
    ScanOnPush
    SCAN_ON_PUSH
    ContinuousScan
    CONTINUOUS_SCAN
    ScanOnPush
    SCAN_ON_PUSH
    ContinuousScan
    CONTINUOUS_SCAN
    SCAN_ON_PUSH
    SCAN_ON_PUSH
    CONTINUOUS_SCAN
    CONTINUOUS_SCAN
    "SCAN_ON_PUSH"
    SCAN_ON_PUSH
    "CONTINUOUS_SCAN"
    CONTINUOUS_SCAN

    RegistryScanningConfigurationScanType, RegistryScanningConfigurationScanTypeArgs

    Basic
    BASIC
    Enhanced
    ENHANCED
    RegistryScanningConfigurationScanTypeBasic
    BASIC
    RegistryScanningConfigurationScanTypeEnhanced
    ENHANCED
    Basic
    BASIC
    Enhanced
    ENHANCED
    Basic
    BASIC
    Enhanced
    ENHANCED
    BASIC
    BASIC
    ENHANCED
    ENHANCED
    "BASIC"
    BASIC
    "ENHANCED"
    ENHANCED

    RegistryScanningConfigurationScanningRule, RegistryScanningConfigurationScanningRuleArgs

    RepositoryFilters List<Pulumi.AwsNative.Ecr.Inputs.RegistryScanningConfigurationRepositoryFilter>
    The details of a scanning repository filter. For more information on how to use filters, see Using filters in the Amazon Elastic Container Registry User Guide.
    ScanFrequency Pulumi.AwsNative.Ecr.RegistryScanningConfigurationScanFrequency
    The frequency that scans are performed at for a private registry. When the ENHANCED scan type is specified, the supported scan frequencies are CONTINUOUS_SCAN and SCAN_ON_PUSH. When the BASIC scan type is specified, the SCAN_ON_PUSH scan frequency is supported. If scan on push is not specified, then the MANUAL scan frequency is set by default.
    RepositoryFilters []RegistryScanningConfigurationRepositoryFilter
    The details of a scanning repository filter. For more information on how to use filters, see Using filters in the Amazon Elastic Container Registry User Guide.
    ScanFrequency RegistryScanningConfigurationScanFrequency
    The frequency that scans are performed at for a private registry. When the ENHANCED scan type is specified, the supported scan frequencies are CONTINUOUS_SCAN and SCAN_ON_PUSH. When the BASIC scan type is specified, the SCAN_ON_PUSH scan frequency is supported. If scan on push is not specified, then the MANUAL scan frequency is set by default.
    repositoryFilters List<RegistryScanningConfigurationRepositoryFilter>
    The details of a scanning repository filter. For more information on how to use filters, see Using filters in the Amazon Elastic Container Registry User Guide.
    scanFrequency RegistryScanningConfigurationScanFrequency
    The frequency that scans are performed at for a private registry. When the ENHANCED scan type is specified, the supported scan frequencies are CONTINUOUS_SCAN and SCAN_ON_PUSH. When the BASIC scan type is specified, the SCAN_ON_PUSH scan frequency is supported. If scan on push is not specified, then the MANUAL scan frequency is set by default.
    repositoryFilters RegistryScanningConfigurationRepositoryFilter[]
    The details of a scanning repository filter. For more information on how to use filters, see Using filters in the Amazon Elastic Container Registry User Guide.
    scanFrequency RegistryScanningConfigurationScanFrequency
    The frequency that scans are performed at for a private registry. When the ENHANCED scan type is specified, the supported scan frequencies are CONTINUOUS_SCAN and SCAN_ON_PUSH. When the BASIC scan type is specified, the SCAN_ON_PUSH scan frequency is supported. If scan on push is not specified, then the MANUAL scan frequency is set by default.
    repository_filters Sequence[RegistryScanningConfigurationRepositoryFilter]
    The details of a scanning repository filter. For more information on how to use filters, see Using filters in the Amazon Elastic Container Registry User Guide.
    scan_frequency RegistryScanningConfigurationScanFrequency
    The frequency that scans are performed at for a private registry. When the ENHANCED scan type is specified, the supported scan frequencies are CONTINUOUS_SCAN and SCAN_ON_PUSH. When the BASIC scan type is specified, the SCAN_ON_PUSH scan frequency is supported. If scan on push is not specified, then the MANUAL scan frequency is set by default.
    repositoryFilters List<Property Map>
    The details of a scanning repository filter. For more information on how to use filters, see Using filters in the Amazon Elastic Container Registry User Guide.
    scanFrequency "SCAN_ON_PUSH" | "CONTINUOUS_SCAN"
    The frequency that scans are performed at for a private registry. When the ENHANCED scan type is specified, the supported scan frequencies are CONTINUOUS_SCAN and SCAN_ON_PUSH. When the BASIC scan type is specified, the SCAN_ON_PUSH scan frequency is supported. If scan on push is not specified, then the MANUAL scan frequency is set by default.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.30.0 published on Monday, Jun 16, 2025 by Pulumi