We recommend new projects start with resources from the AWS provider.
aws-native.databrew.Ruleset
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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.CreateOnlyTagArgs]] = 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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
- TargetArn 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. Create Only Tag> 
- An array of key-value pairs to apply to this resource. - For more information, see Tag . 
- Rules
[]RulesetRule Args 
- List of the data quality rules in the ruleset
- TargetArn string
- Arn of the target resource (dataset) to apply the ruleset to
- Description string
- Description of the Ruleset
- Name string
- Name of the Ruleset
- 
CreateOnly Tag Args 
- An array of key-value pairs to apply to this resource. - For more information, see Tag . 
- rules
List<RulesetRule> 
- List of the data quality rules in the ruleset
- targetArn 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<CreateOnly Tag> 
- An array of key-value pairs to apply to this resource. - For more information, see Tag . 
- rules
RulesetRule[] 
- List of the data quality rules in the ruleset
- targetArn string
- Arn of the target resource (dataset) to apply the ruleset to
- description string
- Description of the Ruleset
- name string
- Name of the Ruleset
- 
CreateOnly Tag[] 
- An array of key-value pairs to apply to this resource. - For more information, see Tag . 
- rules
Sequence[RulesetRule 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[CreateOnly 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
- targetArn 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
CreateOnlyTag, CreateOnlyTagArgs      
RulesetColumnSelector, RulesetColumnSelectorArgs      
RulesetRule, RulesetRuleArgs    
- CheckExpression 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
- ColumnSelectors 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.
- SubstitutionMap 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.
- CheckExpression 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
- ColumnSelectors []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.
- SubstitutionMap []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
RulesetThreshold 
- 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.
- checkExpression 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
- columnSelectors 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.
- substitutionMap 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
RulesetThreshold 
- 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.
- checkExpression 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
- columnSelectors 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.
- substitutionMap 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
RulesetThreshold 
- 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
RulesetThreshold 
- 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.
- checkExpression 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
- columnSelectors 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.
- substitutionMap 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
- ValueReference string
- Variable name
- Value string
- Value or column name
- ValueReference string
- Variable name
- value String
- Value or column name
- valueReference String
- Variable name
- value string
- Value or column name
- valueReference string
- Variable name
- value str
- Value or column name
- value_reference str
- Variable name
- value String
- Value or column name
- valueReference 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
RulesetThreshold Type 
- The type of a threshold. Used for comparison of an actual count of rows that satisfy the rule to the threshold value.
- Unit
RulesetThreshold 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
RulesetThreshold Type 
- The type of a threshold. Used for comparison of an actual count of rows that satisfy the rule to the threshold value.
- unit
RulesetThreshold 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
RulesetThreshold Type 
- The type of a threshold. Used for comparison of an actual count of rows that satisfy the rule to the threshold value.
- unit
RulesetThreshold 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
RulesetThreshold Type 
- The type of a threshold. Used for comparison of an actual count of rows that satisfy the rule to the threshold value.
- unit
RulesetThreshold 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      
- GreaterThan Or Equal 
- GREATER_THAN_OR_EQUAL
- LessThan Or Equal 
- LESS_THAN_OR_EQUAL
- GreaterThan 
- GREATER_THAN
- LessThan 
- LESS_THAN
- RulesetThreshold Type Greater Than Or Equal 
- GREATER_THAN_OR_EQUAL
- RulesetThreshold Type Less Than Or Equal 
- LESS_THAN_OR_EQUAL
- RulesetThreshold Type Greater Than 
- GREATER_THAN
- RulesetThreshold Type Less Than 
- LESS_THAN
- GreaterThan Or Equal 
- GREATER_THAN_OR_EQUAL
- LessThan Or Equal 
- LESS_THAN_OR_EQUAL
- GreaterThan 
- GREATER_THAN
- LessThan 
- LESS_THAN
- GreaterThan Or Equal 
- GREATER_THAN_OR_EQUAL
- LessThan Or Equal 
- LESS_THAN_OR_EQUAL
- GreaterThan 
- GREATER_THAN
- LessThan 
- 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
- RulesetThreshold Unit Count 
- COUNT
- RulesetThreshold Unit Percentage 
- PERCENTAGE
- Count
- COUNT
- Percentage
- PERCENTAGE
- Count
- COUNT
- Percentage
- PERCENTAGE
- COUNT
- COUNT
- PERCENTAGE
- PERCENTAGE
- "COUNT"
- COUNT
- "PERCENTAGE"
- PERCENTAGE
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.