Class CfnRegistryScanningConfiguration
The scanning configuration for a private registry.
Inherited Members
Namespace: Amazon.CDK.AWS.ECR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRegistryScanningConfiguration : CfnResource, IInspectable, IRegistryScanningConfigurationRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnRegistryScanningConfiguration Inherits CfnResource Implements IInspectable, IRegistryScanningConfigurationRef, IConstruct, IDependable, IEnvironmentAware
Remarks
CloudformationResource: AWS::ECR::RegistryScanningConfiguration
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 cfnRegistryScanningConfiguration = new CfnRegistryScanningConfiguration(this, "MyCfnRegistryScanningConfiguration", new CfnRegistryScanningConfigurationProps {
Rules = new [] { new ScanningRuleProperty {
RepositoryFilters = new [] { new RepositoryFilterProperty {
Filter = "filter",
FilterType = "filterType"
} },
ScanFrequency = "scanFrequency"
} },
ScanType = "scanType"
});
Synopsis
Constructors
| CfnRegistryScanningConfiguration(Construct, string, ICfnRegistryScanningConfigurationProps) | Create a new |
Properties
| AttrRegistryId | The account ID of the destination registry. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | The scanning configuration for a private registry. |
| RegistryScanningConfigurationRef | A reference to a RegistryScanningConfiguration resource. |
| Rules | The scanning rules associated with the registry. |
| ScanType | The type of scanning configured for the registry. |
Methods
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnRegistryScanningConfiguration(object) | Checks whether the given object is a CfnRegistryScanningConfiguration. |
| RenderProperties(IDictionary<string, object>) | The scanning configuration for a private registry. |
Constructors
CfnRegistryScanningConfiguration(Construct, string, ICfnRegistryScanningConfigurationProps)
Create a new AWS::ECR::RegistryScanningConfiguration.
public CfnRegistryScanningConfiguration(Construct scope, string id, ICfnRegistryScanningConfigurationProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnRegistryScanningConfigurationProps
Resource properties.
Remarks
CloudformationResource: AWS::ECR::RegistryScanningConfiguration
ExampleMetadata: fixture=_generated
Properties
AttrRegistryId
The account ID of the destination registry.
public virtual string AttrRegistryId { get; }
Property Value
Remarks
CloudformationAttribute: RegistryId
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
CloudformationResource: AWS::ECR::RegistryScanningConfiguration
ExampleMetadata: fixture=_generated
CfnProperties
The scanning configuration for a private registry.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::ECR::RegistryScanningConfiguration
ExampleMetadata: fixture=_generated
RegistryScanningConfigurationRef
A reference to a RegistryScanningConfiguration resource.
public virtual IRegistryScanningConfigurationReference RegistryScanningConfigurationRef { get; }
Property Value
IRegistryScanningConfigurationReference
Remarks
CloudformationResource: AWS::ECR::RegistryScanningConfiguration
ExampleMetadata: fixture=_generated
Rules
The scanning rules associated with the registry.
public virtual object Rules { get; set; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnRegistryScanningConfiguration.IScanningRuleProperty)[]
ScanType
The type of scanning configured for the registry.
public virtual string ScanType { get; set; }
Property Value
Remarks
CloudformationResource: AWS::ECR::RegistryScanningConfiguration
ExampleMetadata: fixture=_generated
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
CloudformationResource: AWS::ECR::RegistryScanningConfiguration
ExampleMetadata: fixture=_generated
IsCfnRegistryScanningConfiguration(object)
Checks whether the given object is a CfnRegistryScanningConfiguration.
public static bool IsCfnRegistryScanningConfiguration(object x)
Parameters
- x object
Returns
Remarks
CloudformationResource: AWS::ECR::RegistryScanningConfiguration
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
The scanning configuration for a private registry.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
CloudformationResource: AWS::ECR::RegistryScanningConfiguration
ExampleMetadata: fixture=_generated