AWS Native is in preview. AWS Classic is fully supported.
aws-native.databrew.Ruleset
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource schema for AWS::DataBrew::Ruleset.
Create Ruleset Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Ruleset(name: string, args: RulesetArgs, opts?: CustomResourceOptions);
@overload
def Ruleset(resource_name: str,
args: RulesetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Ruleset(resource_name: str,
opts: Optional[ResourceOptions] = None,
rules: Optional[Sequence[RulesetRuleArgs]] = None,
target_arn: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewRuleset(ctx *Context, name string, args RulesetArgs, opts ...ResourceOption) (*Ruleset, error)
public Ruleset(string name, RulesetArgs args, CustomResourceOptions? opts = null)
public Ruleset(String name, RulesetArgs args)
public Ruleset(String name, RulesetArgs args, CustomResourceOptions options)
type: aws-native:databrew:Ruleset
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 RulesetArgs
- 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 RulesetArgs
- 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 RulesetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RulesetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RulesetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Ruleset Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Ruleset resource accepts the following input properties:
- Rules
List<Pulumi.
Aws Native. Data Brew. Inputs. Ruleset Rule> - List of the data quality rules in the ruleset
- Target
Arn string - Arn of the target resource (dataset) to apply the ruleset to
- Description string
- Description of the Ruleset
- Name string
- Name of the Ruleset
- List<Pulumi.
Aws Native. Inputs. Tag> An array of key-value pairs to apply to this resource.
For more information, see Tag .
- Rules
[]Ruleset
Rule Args - List of the data quality rules in the ruleset
- Target
Arn string - Arn of the target resource (dataset) to apply the ruleset to
- Description string
- Description of the Ruleset
- Name string
- Name of the Ruleset
- Tag
Args An array of key-value pairs to apply to this resource.
For more information, see Tag .
- rules
List<Ruleset
Rule> - List of the data quality rules in the ruleset
- target
Arn String - Arn of the target resource (dataset) to apply the ruleset to
- description String
- Description of the Ruleset
- name String
- Name of the Ruleset
- List<Tag>
An array of key-value pairs to apply to this resource.
For more information, see Tag .
- rules
Ruleset
Rule[] - List of the data quality rules in the ruleset
- target
Arn string - Arn of the target resource (dataset) to apply the ruleset to
- description string
- Description of the Ruleset
- name string
- Name of the Ruleset
- Tag[]
An array of key-value pairs to apply to this resource.
For more information, see Tag .
- rules
Sequence[Ruleset
Rule Args] - List of the data quality rules in the ruleset
- target_
arn str - Arn of the target resource (dataset) to apply the ruleset to
- description str
- Description of the Ruleset
- name str
- Name of the Ruleset
- Sequence[Tag
Args] An array of key-value pairs to apply to this resource.
For more information, see Tag .
- rules List<Property Map>
- List of the data quality rules in the ruleset
- target
Arn String - Arn of the target resource (dataset) to apply the ruleset to
- description String
- Description of the Ruleset
- name String
- Name of the Ruleset
- List<Property Map>
An array of key-value pairs to apply to this resource.
For more information, see Tag .
Outputs
All input properties are implicitly available as output properties. Additionally, the Ruleset resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
RulesetColumnSelector, RulesetColumnSelectorArgs
RulesetRule, RulesetRuleArgs
- Check
Expression string - The expression which includes column references, condition names followed by variable references, possibly grouped and combined with other conditions. For example,
(:col1 starts_with :prefix1 or :col1 starts_with :prefix2) and (:col1 ends_with :suffix1 or :col1 ends_with :suffix2)
. Column and value references are substitution variables that should start with the ':' symbol. Depending on the context, substitution variables' values can be either an actual value or a column name. These values are defined in the SubstitutionMap. If a CheckExpression starts with a column reference, then ColumnSelectors in the rule should be null. If ColumnSelectors has been defined, then there should be no columnn reference in the left side of a condition, for example,is_between :val1 and :val2
. - Name string
- Name of the rule
- Column
Selectors List<Pulumi.Aws Native. Data Brew. Inputs. Ruleset Column Selector> - List of column selectors. Selectors can be used to select columns using a name or regular expression from the dataset. Rule will be applied to selected columns.
- Disabled bool
- A value that specifies whether the rule is disabled. Once a rule is disabled, a profile job will not validate it during a job run. Default value is false.
- Substitution
Map List<Pulumi.Aws Native. Data Brew. Inputs. Ruleset Substitution Value> - The map of substitution variable names to their values used in a check expression. Variable names should start with a ':' (colon). Variable values can either be actual values or column names. To differentiate between the two, column names should be enclosed in backticks, for example,
":col1": "
Column A".
- Threshold
Pulumi.
Aws Native. Data Brew. Inputs. Ruleset Threshold - The threshold used with a non-aggregate check expression. Non-aggregate check expressions will be applied to each row in a specific column, and the threshold will be used to determine whether the validation succeeds.
- Check
Expression string - The expression which includes column references, condition names followed by variable references, possibly grouped and combined with other conditions. For example,
(:col1 starts_with :prefix1 or :col1 starts_with :prefix2) and (:col1 ends_with :suffix1 or :col1 ends_with :suffix2)
. Column and value references are substitution variables that should start with the ':' symbol. Depending on the context, substitution variables' values can be either an actual value or a column name. These values are defined in the SubstitutionMap. If a CheckExpression starts with a column reference, then ColumnSelectors in the rule should be null. If ColumnSelectors has been defined, then there should be no columnn reference in the left side of a condition, for example,is_between :val1 and :val2
. - Name string
- Name of the rule
- Column
Selectors []RulesetColumn Selector - List of column selectors. Selectors can be used to select columns using a name or regular expression from the dataset. Rule will be applied to selected columns.
- Disabled bool
- A value that specifies whether the rule is disabled. Once a rule is disabled, a profile job will not validate it during a job run. Default value is false.
- Substitution
Map []RulesetSubstitution Value - The map of substitution variable names to their values used in a check expression. Variable names should start with a ':' (colon). Variable values can either be actual values or column names. To differentiate between the two, column names should be enclosed in backticks, for example,
":col1": "
Column A".
- Threshold
Ruleset
Threshold - The threshold used with a non-aggregate check expression. Non-aggregate check expressions will be applied to each row in a specific column, and the threshold will be used to determine whether the validation succeeds.
- check
Expression String - The expression which includes column references, condition names followed by variable references, possibly grouped and combined with other conditions. For example,
(:col1 starts_with :prefix1 or :col1 starts_with :prefix2) and (:col1 ends_with :suffix1 or :col1 ends_with :suffix2)
. Column and value references are substitution variables that should start with the ':' symbol. Depending on the context, substitution variables' values can be either an actual value or a column name. These values are defined in the SubstitutionMap. If a CheckExpression starts with a column reference, then ColumnSelectors in the rule should be null. If ColumnSelectors has been defined, then there should be no columnn reference in the left side of a condition, for example,is_between :val1 and :val2
. - name String
- Name of the rule
- column
Selectors List<RulesetColumn Selector> - List of column selectors. Selectors can be used to select columns using a name or regular expression from the dataset. Rule will be applied to selected columns.
- disabled Boolean
- A value that specifies whether the rule is disabled. Once a rule is disabled, a profile job will not validate it during a job run. Default value is false.
- substitution
Map List<RulesetSubstitution Value> - The map of substitution variable names to their values used in a check expression. Variable names should start with a ':' (colon). Variable values can either be actual values or column names. To differentiate between the two, column names should be enclosed in backticks, for example,
":col1": "
Column A".
- threshold
Ruleset
Threshold - The threshold used with a non-aggregate check expression. Non-aggregate check expressions will be applied to each row in a specific column, and the threshold will be used to determine whether the validation succeeds.
- check
Expression string - The expression which includes column references, condition names followed by variable references, possibly grouped and combined with other conditions. For example,
(:col1 starts_with :prefix1 or :col1 starts_with :prefix2) and (:col1 ends_with :suffix1 or :col1 ends_with :suffix2)
. Column and value references are substitution variables that should start with the ':' symbol. Depending on the context, substitution variables' values can be either an actual value or a column name. These values are defined in the SubstitutionMap. If a CheckExpression starts with a column reference, then ColumnSelectors in the rule should be null. If ColumnSelectors has been defined, then there should be no columnn reference in the left side of a condition, for example,is_between :val1 and :val2
. - name string
- Name of the rule
- column
Selectors RulesetColumn Selector[] - List of column selectors. Selectors can be used to select columns using a name or regular expression from the dataset. Rule will be applied to selected columns.
- disabled boolean
- A value that specifies whether the rule is disabled. Once a rule is disabled, a profile job will not validate it during a job run. Default value is false.
- substitution
Map RulesetSubstitution Value[] - The map of substitution variable names to their values used in a check expression. Variable names should start with a ':' (colon). Variable values can either be actual values or column names. To differentiate between the two, column names should be enclosed in backticks, for example,
":col1": "
Column A".
- threshold
Ruleset
Threshold - The threshold used with a non-aggregate check expression. Non-aggregate check expressions will be applied to each row in a specific column, and the threshold will be used to determine whether the validation succeeds.
- check_
expression str - The expression which includes column references, condition names followed by variable references, possibly grouped and combined with other conditions. For example,
(:col1 starts_with :prefix1 or :col1 starts_with :prefix2) and (:col1 ends_with :suffix1 or :col1 ends_with :suffix2)
. Column and value references are substitution variables that should start with the ':' symbol. Depending on the context, substitution variables' values can be either an actual value or a column name. These values are defined in the SubstitutionMap. If a CheckExpression starts with a column reference, then ColumnSelectors in the rule should be null. If ColumnSelectors has been defined, then there should be no columnn reference in the left side of a condition, for example,is_between :val1 and :val2
. - name str
- Name of the rule
- column_
selectors Sequence[RulesetColumn Selector] - List of column selectors. Selectors can be used to select columns using a name or regular expression from the dataset. Rule will be applied to selected columns.
- disabled bool
- A value that specifies whether the rule is disabled. Once a rule is disabled, a profile job will not validate it during a job run. Default value is false.
- substitution_
map Sequence[RulesetSubstitution Value] - The map of substitution variable names to their values used in a check expression. Variable names should start with a ':' (colon). Variable values can either be actual values or column names. To differentiate between the two, column names should be enclosed in backticks, for example,
":col1": "
Column A".
- threshold
Ruleset
Threshold - The threshold used with a non-aggregate check expression. Non-aggregate check expressions will be applied to each row in a specific column, and the threshold will be used to determine whether the validation succeeds.
- check
Expression String - The expression which includes column references, condition names followed by variable references, possibly grouped and combined with other conditions. For example,
(:col1 starts_with :prefix1 or :col1 starts_with :prefix2) and (:col1 ends_with :suffix1 or :col1 ends_with :suffix2)
. Column and value references are substitution variables that should start with the ':' symbol. Depending on the context, substitution variables' values can be either an actual value or a column name. These values are defined in the SubstitutionMap. If a CheckExpression starts with a column reference, then ColumnSelectors in the rule should be null. If ColumnSelectors has been defined, then there should be no columnn reference in the left side of a condition, for example,is_between :val1 and :val2
. - name String
- Name of the rule
- column
Selectors List<Property Map> - List of column selectors. Selectors can be used to select columns using a name or regular expression from the dataset. Rule will be applied to selected columns.
- disabled Boolean
- A value that specifies whether the rule is disabled. Once a rule is disabled, a profile job will not validate it during a job run. Default value is false.
- substitution
Map List<Property Map> - The map of substitution variable names to their values used in a check expression. Variable names should start with a ':' (colon). Variable values can either be actual values or column names. To differentiate between the two, column names should be enclosed in backticks, for example,
":col1": "
Column A".
- threshold Property Map
- The threshold used with a non-aggregate check expression. Non-aggregate check expressions will be applied to each row in a specific column, and the threshold will be used to determine whether the validation succeeds.
RulesetSubstitutionValue, RulesetSubstitutionValueArgs
- Value string
- Value or column name
- Value
Reference string - Variable name
- Value string
- Value or column name
- Value
Reference string - Variable name
- value String
- Value or column name
- value
Reference String - Variable name
- value string
- Value or column name
- value
Reference string - Variable name
- value str
- Value or column name
- value_
reference str - Variable name
- value String
- Value or column name
- value
Reference String - Variable name
RulesetThreshold, RulesetThresholdArgs
- Value double
- The value of a threshold.
- Type
Pulumi.
Aws Native. Data Brew. Ruleset Threshold Type - The type of a threshold. Used for comparison of an actual count of rows that satisfy the rule to the threshold value.
- Unit
Pulumi.
Aws Native. Data Brew. Ruleset Threshold Unit - Unit of threshold value. Can be either a COUNT or PERCENTAGE of the full sample size used for validation.
- Value float64
- The value of a threshold.
- Type
Ruleset
Threshold Type - The type of a threshold. Used for comparison of an actual count of rows that satisfy the rule to the threshold value.
- Unit
Ruleset
Threshold Unit - Unit of threshold value. Can be either a COUNT or PERCENTAGE of the full sample size used for validation.
- value Double
- The value of a threshold.
- type
Ruleset
Threshold Type - The type of a threshold. Used for comparison of an actual count of rows that satisfy the rule to the threshold value.
- unit
Ruleset
Threshold Unit - Unit of threshold value. Can be either a COUNT or PERCENTAGE of the full sample size used for validation.
- value number
- The value of a threshold.
- type
Ruleset
Threshold Type - The type of a threshold. Used for comparison of an actual count of rows that satisfy the rule to the threshold value.
- unit
Ruleset
Threshold Unit - Unit of threshold value. Can be either a COUNT or PERCENTAGE of the full sample size used for validation.
- value float
- The value of a threshold.
- type
Ruleset
Threshold Type - The type of a threshold. Used for comparison of an actual count of rows that satisfy the rule to the threshold value.
- unit
Ruleset
Threshold Unit - Unit of threshold value. Can be either a COUNT or PERCENTAGE of the full sample size used for validation.
- value Number
- The value of a threshold.
- type "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL" | "GREATER_THAN" | "LESS_THAN"
- The type of a threshold. Used for comparison of an actual count of rows that satisfy the rule to the threshold value.
- unit "COUNT" | "PERCENTAGE"
- Unit of threshold value. Can be either a COUNT or PERCENTAGE of the full sample size used for validation.
RulesetThresholdType, RulesetThresholdTypeArgs
- Greater
Than Or Equal - GREATER_THAN_OR_EQUAL
- Less
Than Or Equal - LESS_THAN_OR_EQUAL
- Greater
Than - GREATER_THAN
- Less
Than - LESS_THAN
- Ruleset
Threshold Type Greater Than Or Equal - GREATER_THAN_OR_EQUAL
- Ruleset
Threshold Type Less Than Or Equal - LESS_THAN_OR_EQUAL
- Ruleset
Threshold Type Greater Than - GREATER_THAN
- Ruleset
Threshold Type Less Than - LESS_THAN
- Greater
Than Or Equal - GREATER_THAN_OR_EQUAL
- Less
Than Or Equal - LESS_THAN_OR_EQUAL
- Greater
Than - GREATER_THAN
- Less
Than - LESS_THAN
- Greater
Than Or Equal - GREATER_THAN_OR_EQUAL
- Less
Than Or Equal - LESS_THAN_OR_EQUAL
- Greater
Than - GREATER_THAN
- Less
Than - LESS_THAN
- GREATER_THAN_OR_EQUAL
- GREATER_THAN_OR_EQUAL
- LESS_THAN_OR_EQUAL
- LESS_THAN_OR_EQUAL
- GREATER_THAN
- GREATER_THAN
- LESS_THAN
- LESS_THAN
- "GREATER_THAN_OR_EQUAL"
- GREATER_THAN_OR_EQUAL
- "LESS_THAN_OR_EQUAL"
- LESS_THAN_OR_EQUAL
- "GREATER_THAN"
- GREATER_THAN
- "LESS_THAN"
- LESS_THAN
RulesetThresholdUnit, RulesetThresholdUnitArgs
- Count
- COUNT
- Percentage
- PERCENTAGE
- Ruleset
Threshold Unit Count - COUNT
- Ruleset
Threshold Unit Percentage - PERCENTAGE
- Count
- COUNT
- Percentage
- PERCENTAGE
- Count
- COUNT
- Percentage
- PERCENTAGE
- COUNT
- COUNT
- PERCENTAGE
- PERCENTAGE
- "COUNT"
- COUNT
- "PERCENTAGE"
- PERCENTAGE
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.