Show / Hide Table of Contents

Class CfnRegistryScanningConfiguration.ScanningRuleProperty

The scanning rules associated with the registry.

Inheritance
object
CfnRegistryScanningConfiguration.ScanningRuleProperty
Implements
CfnRegistryScanningConfiguration.IScanningRuleProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.ECR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRegistryScanningConfiguration.ScanningRuleProperty : CfnRegistryScanningConfiguration.IScanningRuleProperty
Syntax (vb)
Public Class CfnRegistryScanningConfiguration.ScanningRuleProperty Implements CfnRegistryScanningConfiguration.IScanningRuleProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-registryscanningconfiguration-scanningrule.html

ExampleMetadata: fixture=_generated

Examples
// 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 scanningRuleProperty = new ScanningRuleProperty {
                 RepositoryFilters = new [] { new RepositoryFilterProperty {
                     Filter = "filter",
                     FilterType = "filterType"
                 } },
                 ScanFrequency = "scanFrequency"
             };

Synopsis

Constructors

ScanningRuleProperty()

The scanning rules associated with the registry.

Properties

RepositoryFilters

The details of a scanning repository filter.

ScanFrequency

The frequency that scans are performed at for a private registry.

Constructors

ScanningRuleProperty()

The scanning rules associated with the registry.

public ScanningRuleProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-registryscanningconfiguration-scanningrule.html

ExampleMetadata: fixture=_generated

Examples
// 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 scanningRuleProperty = new ScanningRuleProperty {
                 RepositoryFilters = new [] { new RepositoryFilterProperty {
                     Filter = "filter",
                     FilterType = "filterType"
                 } },
                 ScanFrequency = "scanFrequency"
             };

Properties

RepositoryFilters

The details of a scanning repository filter.

public object RepositoryFilters { get; set; }
Property Value

object

Remarks

For more information on how to use filters, see Using filters in the Amazon Elastic Container Registry User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-registryscanningconfiguration-scanningrule.html#cfn-ecr-registryscanningconfiguration-scanningrule-repositoryfilters

ScanFrequency

The frequency that scans are performed at for a private registry.

public string ScanFrequency { get; set; }
Property Value

string

Remarks

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-registryscanningconfiguration-scanningrule.html#cfn-ecr-registryscanningconfiguration-scanningrule-scanfrequency

Implements

CfnRegistryScanningConfiguration.IScanningRuleProperty
Back to top Generated by DocFX