We recommend new projects start with resources from the AWS provider.
aws-native.ecr.RegistryScanningConfiguration
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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.
Aws Native. Ecr. Inputs. Registry Scanning Configuration Scanning Rule> - The scanning rules associated with the registry.
- Scan
Type Pulumi.Aws Native. Ecr. Registry Scanning Configuration Scan Type - The type of scanning configured for the registry.
- Rules
[]Registry
Scanning Configuration Scanning Rule Args - The scanning rules associated with the registry.
- Scan
Type RegistryScanning Configuration Scan Type - The type of scanning configured for the registry.
- rules
List<Registry
Scanning Configuration Scanning Rule> - The scanning rules associated with the registry.
- scan
Type RegistryScanning Configuration Scan Type - The type of scanning configured for the registry.
- rules
Registry
Scanning Configuration Scanning Rule[] - The scanning rules associated with the registry.
- scan
Type RegistryScanning Configuration Scan Type - The type of scanning configured for the registry.
- rules
Sequence[Registry
Scanning Configuration Scanning Rule Args] - The scanning rules associated with the registry.
- scan_
type RegistryScanning Configuration Scan Type - The type of scanning configured for the registry.
- rules List<Property Map>
- The scanning rules associated with the registry.
- scan
Type "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.
- Registry
Id string - The account ID of the destination registry.
- Id string
- The provider-assigned unique ID for this managed resource.
- Registry
Id string - The account ID of the destination registry.
- id String
- The provider-assigned unique ID for this managed resource.
- registry
Id String - The account ID of the destination registry.
- id string
- The provider-assigned unique ID for this managed resource.
- registry
Id 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.
- registry
Id String - The account ID of the destination registry.
Supporting Types
RegistryScanningConfigurationFilterType, RegistryScanningConfigurationFilterTypeArgs
- Wildcard
- WILDCARD
- Registry
Scanning Configuration Filter Type Wildcard - WILDCARD
- Wildcard
- WILDCARD
- Wildcard
- WILDCARD
- WILDCARD
- WILDCARD
- "WILDCARD"
- WILDCARD
RegistryScanningConfigurationRepositoryFilter, RegistryScanningConfigurationRepositoryFilterArgs
- Filter string
- The filter to use when scanning.
- Filter
Type Pulumi.Aws Native. Ecr. Registry Scanning Configuration Filter Type - The type associated with the filter.
- Filter string
- The filter to use when scanning.
- Filter
Type RegistryScanning Configuration Filter Type - The type associated with the filter.
- filter String
- The filter to use when scanning.
- filter
Type RegistryScanning Configuration Filter Type - The type associated with the filter.
- filter string
- The filter to use when scanning.
- filter
Type RegistryScanning Configuration Filter Type - The type associated with the filter.
- filter str
- The filter to use when scanning.
- filter_
type RegistryScanning Configuration Filter Type - The type associated with the filter.
- filter String
- The filter to use when scanning.
- filter
Type "WILDCARD" - The type associated with the filter.
RegistryScanningConfigurationScanFrequency, RegistryScanningConfigurationScanFrequencyArgs
- Scan
On Push - SCAN_ON_PUSH
- Continuous
Scan - CONTINUOUS_SCAN
- Registry
Scanning Configuration Scan Frequency Scan On Push - SCAN_ON_PUSH
- Registry
Scanning Configuration Scan Frequency Continuous Scan - CONTINUOUS_SCAN
- Scan
On Push - SCAN_ON_PUSH
- Continuous
Scan - CONTINUOUS_SCAN
- Scan
On Push - SCAN_ON_PUSH
- Continuous
Scan - 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
- Registry
Scanning Configuration Scan Type Basic - BASIC
- Registry
Scanning Configuration Scan Type Enhanced - ENHANCED
- Basic
- BASIC
- Enhanced
- ENHANCED
- Basic
- BASIC
- Enhanced
- ENHANCED
- BASIC
- BASIC
- ENHANCED
- ENHANCED
- "BASIC"
- BASIC
- "ENHANCED"
- ENHANCED
RegistryScanningConfigurationScanningRule, RegistryScanningConfigurationScanningRuleArgs
- Repository
Filters List<Pulumi.Aws Native. Ecr. Inputs. Registry Scanning Configuration Repository Filter> - 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 Pulumi.Aws Native. Ecr. Registry Scanning Configuration Scan Frequency - The frequency that scans are performed at for a private registry. When the
ENHANCED
scan type is specified, the supported scan frequencies areCONTINUOUS_SCAN
andSCAN_ON_PUSH
. When theBASIC
scan type is specified, theSCAN_ON_PUSH
scan frequency is supported. If scan on push is not specified, then theMANUAL
scan frequency is set by default.
- Repository
Filters []RegistryScanning Configuration Repository Filter - 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 RegistryScanning Configuration Scan Frequency - The frequency that scans are performed at for a private registry. When the
ENHANCED
scan type is specified, the supported scan frequencies areCONTINUOUS_SCAN
andSCAN_ON_PUSH
. When theBASIC
scan type is specified, theSCAN_ON_PUSH
scan frequency is supported. If scan on push is not specified, then theMANUAL
scan frequency is set by default.
- repository
Filters List<RegistryScanning Configuration Repository Filter> - 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 RegistryScanning Configuration Scan Frequency - The frequency that scans are performed at for a private registry. When the
ENHANCED
scan type is specified, the supported scan frequencies areCONTINUOUS_SCAN
andSCAN_ON_PUSH
. When theBASIC
scan type is specified, theSCAN_ON_PUSH
scan frequency is supported. If scan on push is not specified, then theMANUAL
scan frequency is set by default.
- repository
Filters RegistryScanning Configuration Repository Filter[] - 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 RegistryScanning Configuration Scan Frequency - The frequency that scans are performed at for a private registry. When the
ENHANCED
scan type is specified, the supported scan frequencies areCONTINUOUS_SCAN
andSCAN_ON_PUSH
. When theBASIC
scan type is specified, theSCAN_ON_PUSH
scan frequency is supported. If scan on push is not specified, then theMANUAL
scan frequency is set by default.
- repository_
filters Sequence[RegistryScanning Configuration Repository Filter] - 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 RegistryScanning Configuration Scan Frequency - The frequency that scans are performed at for a private registry. When the
ENHANCED
scan type is specified, the supported scan frequencies areCONTINUOUS_SCAN
andSCAN_ON_PUSH
. When theBASIC
scan type is specified, theSCAN_ON_PUSH
scan frequency is supported. If scan on push is not specified, then theMANUAL
scan frequency is set by default.
- repository
Filters 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.
- scan
Frequency "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 areCONTINUOUS_SCAN
andSCAN_ON_PUSH
. When theBASIC
scan type is specified, theSCAN_ON_PUSH
scan frequency is supported. If scan on push is not specified, then theMANUAL
scan frequency is set by default.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.