Class CfnRuleset
A CloudFormation AWS::DataBrew::Ruleset
.
Inherited Members
Namespace: Amazon.CDK.AWS.DataBrew
Assembly: Amazon.CDK.AWS.DataBrew.dll
Syntax (csharp)
public class CfnRuleset : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnRuleset
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Specifies a new ruleset that can be used in a profile job to validate the data quality of a dataset.
CloudformationResource: AWS::DataBrew::Ruleset
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-ruleset.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.DataBrew;
var cfnRuleset = new CfnRuleset(this, "MyCfnRuleset", new CfnRulesetProps {
Name = "name",
Rules = new [] { new RuleProperty {
CheckExpression = "checkExpression",
Name = "name",
// the properties below are optional
ColumnSelectors = new [] { new ColumnSelectorProperty {
Name = "name",
Regex = "regex"
} },
Disabled = false,
SubstitutionMap = new [] { new SubstitutionValueProperty {
Value = "value",
ValueReference = "valueReference"
} },
Threshold = new ThresholdProperty {
Value = 123,
// the properties below are optional
Type = "type",
Unit = "unit"
}
} },
TargetArn = "targetArn",
// the properties below are optional
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnRuleset(Construct, String, ICfnRulesetProps) | Create a new |
CfnRuleset(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnRuleset(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | The description of the ruleset. |
Name | The name of the ruleset. |
Rules | Contains metadata about the ruleset. |
Tags | An array of key-value pairs to apply to this resource. |
TargetArn | The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnRuleset(Construct, String, ICfnRulesetProps)
Create a new AWS::DataBrew::Ruleset
.
public CfnRuleset(Construct scope, string id, ICfnRulesetProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnRulesetProps
- resource properties.
CfnRuleset(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnRuleset(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnRuleset(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnRuleset(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Description
The description of the ruleset.
public virtual string Description { get; set; }
Property Value
System.String
Remarks
Name
The name of the ruleset.
public virtual string Name { get; set; }
Property Value
System.String
Remarks
Rules
Contains metadata about the ruleset.
public virtual object Rules { get; set; }
Property Value
System.Object
Remarks
Tags
An array of key-value pairs to apply to this resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
For more information, see Tag .
TargetArn
The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.
public virtual string TargetArn { get; set; }
Property Value
System.String
Remarks
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.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>