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

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

AWS Cloud Control v1.28.0 published on Monday, May 19, 2025 by Pulumi

aws-native.ecr.getRegistryScanningConfiguration

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.28.0 published on Monday, May 19, 2025 by Pulumi

    The scanning configuration for a private registry.

    Using getRegistryScanningConfiguration

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getRegistryScanningConfiguration(args: GetRegistryScanningConfigurationArgs, opts?: InvokeOptions): Promise<GetRegistryScanningConfigurationResult>
    function getRegistryScanningConfigurationOutput(args: GetRegistryScanningConfigurationOutputArgs, opts?: InvokeOptions): Output<GetRegistryScanningConfigurationResult>
    def get_registry_scanning_configuration(registry_id: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetRegistryScanningConfigurationResult
    def get_registry_scanning_configuration_output(registry_id: Optional[pulumi.Input[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[GetRegistryScanningConfigurationResult]
    func LookupRegistryScanningConfiguration(ctx *Context, args *LookupRegistryScanningConfigurationArgs, opts ...InvokeOption) (*LookupRegistryScanningConfigurationResult, error)
    func LookupRegistryScanningConfigurationOutput(ctx *Context, args *LookupRegistryScanningConfigurationOutputArgs, opts ...InvokeOption) LookupRegistryScanningConfigurationResultOutput

    > Note: This function is named LookupRegistryScanningConfiguration in the Go SDK.

    public static class GetRegistryScanningConfiguration 
    {
        public static Task<GetRegistryScanningConfigurationResult> InvokeAsync(GetRegistryScanningConfigurationArgs args, InvokeOptions? opts = null)
        public static Output<GetRegistryScanningConfigurationResult> Invoke(GetRegistryScanningConfigurationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRegistryScanningConfigurationResult> getRegistryScanningConfiguration(GetRegistryScanningConfigurationArgs args, InvokeOptions options)
    public static Output<GetRegistryScanningConfigurationResult> getRegistryScanningConfiguration(GetRegistryScanningConfigurationArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:ecr:getRegistryScanningConfiguration
      arguments:
        # arguments dictionary

    The following arguments are supported:

    RegistryId string
    The account ID of the destination registry.
    RegistryId string
    The account ID of the destination registry.
    registryId String
    The account ID of the destination registry.
    registryId string
    The account ID of the destination registry.
    registry_id str
    The account ID of the destination registry.
    registryId String
    The account ID of the destination registry.

    getRegistryScanningConfiguration Result

    The following output properties are available:

    RegistryId string
    The account ID of the destination registry.
    Rules List<Pulumi.AwsNative.Ecr.Outputs.RegistryScanningConfigurationScanningRule>
    The scanning rules associated with the registry.
    ScanType Pulumi.AwsNative.Ecr.RegistryScanningConfigurationScanType
    The type of scanning configured for the registry.
    RegistryId string
    The account ID of the destination registry.
    Rules []RegistryScanningConfigurationScanningRule
    The scanning rules associated with the registry.
    ScanType RegistryScanningConfigurationScanType
    The type of scanning configured for the registry.
    registryId String
    The account ID of the destination registry.
    rules List<RegistryScanningConfigurationScanningRule>
    The scanning rules associated with the registry.
    scanType RegistryScanningConfigurationScanType
    The type of scanning configured for the registry.
    registryId string
    The account ID of the destination registry.
    rules RegistryScanningConfigurationScanningRule[]
    The scanning rules associated with the registry.
    scanType RegistryScanningConfigurationScanType
    The type of scanning configured for the registry.
    registry_id str
    The account ID of the destination registry.
    rules Sequence[RegistryScanningConfigurationScanningRule]
    The scanning rules associated with the registry.
    scan_type RegistryScanningConfigurationScanType
    The type of scanning configured for the registry.
    registryId String
    The account ID of the destination registry.
    rules List<Property Map>
    The scanning rules associated with the registry.
    scanType "BASIC" | "ENHANCED"
    The type of scanning configured for the registry.

    Supporting Types

    RegistryScanningConfigurationFilterType

    RegistryScanningConfigurationRepositoryFilter

    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

    RegistryScanningConfigurationScanType

    RegistryScanningConfigurationScanningRule

    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.28.0 published on Monday, May 19, 2025 by Pulumi