1. Packages
  2. AWS Classic
  3. API Docs
  4. glue
  5. DataQualityRuleset

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi

aws.glue.DataQualityRuleset

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi

    Provides a Glue Data Quality Ruleset Resource. You can refer to the Glue Developer Guide for a full explanation of the Glue Data Quality Ruleset functionality

    Example Usage

    Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.glue.DataQualityRuleset("example", {
        name: "example",
        ruleset: "Rules = [Completeness \"colA\" between 0.4 and 0.8]",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.glue.DataQualityRuleset("example",
        name="example",
        ruleset="Rules = [Completeness \"colA\" between 0.4 and 0.8]")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/glue"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := glue.NewDataQualityRuleset(ctx, "example", &glue.DataQualityRulesetArgs{
    			Name:    pulumi.String("example"),
    			Ruleset: pulumi.String("Rules = [Completeness \"colA\" between 0.4 and 0.8]"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Glue.DataQualityRuleset("example", new()
        {
            Name = "example",
            Ruleset = "Rules = [Completeness \"colA\" between 0.4 and 0.8]",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.glue.DataQualityRuleset;
    import com.pulumi.aws.glue.DataQualityRulesetArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new DataQualityRuleset("example", DataQualityRulesetArgs.builder()        
                .name("example")
                .ruleset("Rules = [Completeness \"colA\" between 0.4 and 0.8]")
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:glue:DataQualityRuleset
        properties:
          name: example
          ruleset: Rules = [Completeness "colA" between 0.4 and 0.8]
    

    With description

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.glue.DataQualityRuleset("example", {
        name: "example",
        description: "example",
        ruleset: "Rules = [Completeness \"colA\" between 0.4 and 0.8]",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.glue.DataQualityRuleset("example",
        name="example",
        description="example",
        ruleset="Rules = [Completeness \"colA\" between 0.4 and 0.8]")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/glue"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := glue.NewDataQualityRuleset(ctx, "example", &glue.DataQualityRulesetArgs{
    			Name:        pulumi.String("example"),
    			Description: pulumi.String("example"),
    			Ruleset:     pulumi.String("Rules = [Completeness \"colA\" between 0.4 and 0.8]"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Glue.DataQualityRuleset("example", new()
        {
            Name = "example",
            Description = "example",
            Ruleset = "Rules = [Completeness \"colA\" between 0.4 and 0.8]",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.glue.DataQualityRuleset;
    import com.pulumi.aws.glue.DataQualityRulesetArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new DataQualityRuleset("example", DataQualityRulesetArgs.builder()        
                .name("example")
                .description("example")
                .ruleset("Rules = [Completeness \"colA\" between 0.4 and 0.8]")
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:glue:DataQualityRuleset
        properties:
          name: example
          description: example
          ruleset: Rules = [Completeness "colA" between 0.4 and 0.8]
    

    With tags

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.glue.DataQualityRuleset("example", {
        name: "example",
        ruleset: "Rules = [Completeness \"colA\" between 0.4 and 0.8]",
        tags: {
            hello: "world",
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.glue.DataQualityRuleset("example",
        name="example",
        ruleset="Rules = [Completeness \"colA\" between 0.4 and 0.8]",
        tags={
            "hello": "world",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/glue"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := glue.NewDataQualityRuleset(ctx, "example", &glue.DataQualityRulesetArgs{
    			Name:    pulumi.String("example"),
    			Ruleset: pulumi.String("Rules = [Completeness \"colA\" between 0.4 and 0.8]"),
    			Tags: pulumi.StringMap{
    				"hello": pulumi.String("world"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Glue.DataQualityRuleset("example", new()
        {
            Name = "example",
            Ruleset = "Rules = [Completeness \"colA\" between 0.4 and 0.8]",
            Tags = 
            {
                { "hello", "world" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.glue.DataQualityRuleset;
    import com.pulumi.aws.glue.DataQualityRulesetArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new DataQualityRuleset("example", DataQualityRulesetArgs.builder()        
                .name("example")
                .ruleset("Rules = [Completeness \"colA\" between 0.4 and 0.8]")
                .tags(Map.of("hello", "world"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:glue:DataQualityRuleset
        properties:
          name: example
          ruleset: Rules = [Completeness "colA" between 0.4 and 0.8]
          tags:
            hello: world
    

    With target_table

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.glue.DataQualityRuleset("example", {
        name: "example",
        ruleset: "Rules = [Completeness \"colA\" between 0.4 and 0.8]",
        targetTable: {
            databaseName: exampleAwsGlueCatalogDatabase.name,
            tableName: exampleAwsGlueCatalogTable.name,
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.glue.DataQualityRuleset("example",
        name="example",
        ruleset="Rules = [Completeness \"colA\" between 0.4 and 0.8]",
        target_table=aws.glue.DataQualityRulesetTargetTableArgs(
            database_name=example_aws_glue_catalog_database["name"],
            table_name=example_aws_glue_catalog_table["name"],
        ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/glue"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := glue.NewDataQualityRuleset(ctx, "example", &glue.DataQualityRulesetArgs{
    			Name:    pulumi.String("example"),
    			Ruleset: pulumi.String("Rules = [Completeness \"colA\" between 0.4 and 0.8]"),
    			TargetTable: &glue.DataQualityRulesetTargetTableArgs{
    				DatabaseName: pulumi.Any(exampleAwsGlueCatalogDatabase.Name),
    				TableName:    pulumi.Any(exampleAwsGlueCatalogTable.Name),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Glue.DataQualityRuleset("example", new()
        {
            Name = "example",
            Ruleset = "Rules = [Completeness \"colA\" between 0.4 and 0.8]",
            TargetTable = new Aws.Glue.Inputs.DataQualityRulesetTargetTableArgs
            {
                DatabaseName = exampleAwsGlueCatalogDatabase.Name,
                TableName = exampleAwsGlueCatalogTable.Name,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.glue.DataQualityRuleset;
    import com.pulumi.aws.glue.DataQualityRulesetArgs;
    import com.pulumi.aws.glue.inputs.DataQualityRulesetTargetTableArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new DataQualityRuleset("example", DataQualityRulesetArgs.builder()        
                .name("example")
                .ruleset("Rules = [Completeness \"colA\" between 0.4 and 0.8]")
                .targetTable(DataQualityRulesetTargetTableArgs.builder()
                    .databaseName(exampleAwsGlueCatalogDatabase.name())
                    .tableName(exampleAwsGlueCatalogTable.name())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:glue:DataQualityRuleset
        properties:
          name: example
          ruleset: Rules = [Completeness "colA" between 0.4 and 0.8]
          targetTable:
            databaseName: ${exampleAwsGlueCatalogDatabase.name}
            tableName: ${exampleAwsGlueCatalogTable.name}
    

    Create DataQualityRuleset Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DataQualityRuleset(name: string, args: DataQualityRulesetArgs, opts?: CustomResourceOptions);
    @overload
    def DataQualityRuleset(resource_name: str,
                           args: DataQualityRulesetArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def DataQualityRuleset(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           ruleset: Optional[str] = None,
                           description: Optional[str] = None,
                           name: Optional[str] = None,
                           tags: Optional[Mapping[str, str]] = None,
                           target_table: Optional[DataQualityRulesetTargetTableArgs] = None)
    func NewDataQualityRuleset(ctx *Context, name string, args DataQualityRulesetArgs, opts ...ResourceOption) (*DataQualityRuleset, error)
    public DataQualityRuleset(string name, DataQualityRulesetArgs args, CustomResourceOptions? opts = null)
    public DataQualityRuleset(String name, DataQualityRulesetArgs args)
    public DataQualityRuleset(String name, DataQualityRulesetArgs args, CustomResourceOptions options)
    
    type: aws:glue:DataQualityRuleset
    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 DataQualityRulesetArgs
    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 DataQualityRulesetArgs
    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 DataQualityRulesetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DataQualityRulesetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DataQualityRulesetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var dataQualityRulesetResource = new Aws.Glue.DataQualityRuleset("dataQualityRulesetResource", new()
    {
        Ruleset = "string",
        Description = "string",
        Name = "string",
        Tags = 
        {
            { "string", "string" },
        },
        TargetTable = new Aws.Glue.Inputs.DataQualityRulesetTargetTableArgs
        {
            DatabaseName = "string",
            TableName = "string",
            CatalogId = "string",
        },
    });
    
    example, err := glue.NewDataQualityRuleset(ctx, "dataQualityRulesetResource", &glue.DataQualityRulesetArgs{
    	Ruleset:     pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	TargetTable: &glue.DataQualityRulesetTargetTableArgs{
    		DatabaseName: pulumi.String("string"),
    		TableName:    pulumi.String("string"),
    		CatalogId:    pulumi.String("string"),
    	},
    })
    
    var dataQualityRulesetResource = new DataQualityRuleset("dataQualityRulesetResource", DataQualityRulesetArgs.builder()        
        .ruleset("string")
        .description("string")
        .name("string")
        .tags(Map.of("string", "string"))
        .targetTable(DataQualityRulesetTargetTableArgs.builder()
            .databaseName("string")
            .tableName("string")
            .catalogId("string")
            .build())
        .build());
    
    data_quality_ruleset_resource = aws.glue.DataQualityRuleset("dataQualityRulesetResource",
        ruleset="string",
        description="string",
        name="string",
        tags={
            "string": "string",
        },
        target_table=aws.glue.DataQualityRulesetTargetTableArgs(
            database_name="string",
            table_name="string",
            catalog_id="string",
        ))
    
    const dataQualityRulesetResource = new aws.glue.DataQualityRuleset("dataQualityRulesetResource", {
        ruleset: "string",
        description: "string",
        name: "string",
        tags: {
            string: "string",
        },
        targetTable: {
            databaseName: "string",
            tableName: "string",
            catalogId: "string",
        },
    });
    
    type: aws:glue:DataQualityRuleset
    properties:
        description: string
        name: string
        ruleset: string
        tags:
            string: string
        targetTable:
            catalogId: string
            databaseName: string
            tableName: string
    

    DataQualityRuleset 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 DataQualityRuleset resource accepts the following input properties:

    Ruleset string
    A Data Quality Definition Language (DQDL) ruleset. For more information, see the AWS Glue developer guide.
    Description string
    Description of the data quality ruleset.
    Name string
    Name of the data quality ruleset.
    Tags Dictionary<string, string>
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TargetTable DataQualityRulesetTargetTable
    A Configuration block specifying a target table associated with the data quality ruleset. See target_table below.
    Ruleset string
    A Data Quality Definition Language (DQDL) ruleset. For more information, see the AWS Glue developer guide.
    Description string
    Description of the data quality ruleset.
    Name string
    Name of the data quality ruleset.
    Tags map[string]string
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TargetTable DataQualityRulesetTargetTableArgs
    A Configuration block specifying a target table associated with the data quality ruleset. See target_table below.
    ruleset String
    A Data Quality Definition Language (DQDL) ruleset. For more information, see the AWS Glue developer guide.
    description String
    Description of the data quality ruleset.
    name String
    Name of the data quality ruleset.
    tags Map<String,String>
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    targetTable DataQualityRulesetTargetTable
    A Configuration block specifying a target table associated with the data quality ruleset. See target_table below.
    ruleset string
    A Data Quality Definition Language (DQDL) ruleset. For more information, see the AWS Glue developer guide.
    description string
    Description of the data quality ruleset.
    name string
    Name of the data quality ruleset.
    tags {[key: string]: string}
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    targetTable DataQualityRulesetTargetTable
    A Configuration block specifying a target table associated with the data quality ruleset. See target_table below.
    ruleset str
    A Data Quality Definition Language (DQDL) ruleset. For more information, see the AWS Glue developer guide.
    description str
    Description of the data quality ruleset.
    name str
    Name of the data quality ruleset.
    tags Mapping[str, str]
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    target_table DataQualityRulesetTargetTableArgs
    A Configuration block specifying a target table associated with the data quality ruleset. See target_table below.
    ruleset String
    A Data Quality Definition Language (DQDL) ruleset. For more information, see the AWS Glue developer guide.
    description String
    Description of the data quality ruleset.
    name String
    Name of the data quality ruleset.
    tags Map<String>
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    targetTable Property Map
    A Configuration block specifying a target table associated with the data quality ruleset. See target_table below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DataQualityRuleset resource produces the following output properties:

    Arn string
    ARN of the Glue Data Quality Ruleset.
    CreatedOn string
    The time and date that this data quality ruleset was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedOn string
    The time and date that this data quality ruleset was created.
    RecommendationRunId string
    When a ruleset was created from a recommendation run, this run ID is generated to link the two together.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Arn string
    ARN of the Glue Data Quality Ruleset.
    CreatedOn string
    The time and date that this data quality ruleset was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedOn string
    The time and date that this data quality ruleset was created.
    RecommendationRunId string
    When a ruleset was created from a recommendation run, this run ID is generated to link the two together.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    ARN of the Glue Data Quality Ruleset.
    createdOn String
    The time and date that this data quality ruleset was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedOn String
    The time and date that this data quality ruleset was created.
    recommendationRunId String
    When a ruleset was created from a recommendation run, this run ID is generated to link the two together.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn string
    ARN of the Glue Data Quality Ruleset.
    createdOn string
    The time and date that this data quality ruleset was created.
    id string
    The provider-assigned unique ID for this managed resource.
    lastModifiedOn string
    The time and date that this data quality ruleset was created.
    recommendationRunId string
    When a ruleset was created from a recommendation run, this run ID is generated to link the two together.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn str
    ARN of the Glue Data Quality Ruleset.
    created_on str
    The time and date that this data quality ruleset was created.
    id str
    The provider-assigned unique ID for this managed resource.
    last_modified_on str
    The time and date that this data quality ruleset was created.
    recommendation_run_id str
    When a ruleset was created from a recommendation run, this run ID is generated to link the two together.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    ARN of the Glue Data Quality Ruleset.
    createdOn String
    The time and date that this data quality ruleset was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedOn String
    The time and date that this data quality ruleset was created.
    recommendationRunId String
    When a ruleset was created from a recommendation run, this run ID is generated to link the two together.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Look up Existing DataQualityRuleset Resource

    Get an existing DataQualityRuleset resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DataQualityRulesetState, opts?: CustomResourceOptions): DataQualityRuleset
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            created_on: Optional[str] = None,
            description: Optional[str] = None,
            last_modified_on: Optional[str] = None,
            name: Optional[str] = None,
            recommendation_run_id: Optional[str] = None,
            ruleset: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None,
            target_table: Optional[DataQualityRulesetTargetTableArgs] = None) -> DataQualityRuleset
    func GetDataQualityRuleset(ctx *Context, name string, id IDInput, state *DataQualityRulesetState, opts ...ResourceOption) (*DataQualityRuleset, error)
    public static DataQualityRuleset Get(string name, Input<string> id, DataQualityRulesetState? state, CustomResourceOptions? opts = null)
    public static DataQualityRuleset get(String name, Output<String> id, DataQualityRulesetState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Arn string
    ARN of the Glue Data Quality Ruleset.
    CreatedOn string
    The time and date that this data quality ruleset was created.
    Description string
    Description of the data quality ruleset.
    LastModifiedOn string
    The time and date that this data quality ruleset was created.
    Name string
    Name of the data quality ruleset.
    RecommendationRunId string
    When a ruleset was created from a recommendation run, this run ID is generated to link the two together.
    Ruleset string
    A Data Quality Definition Language (DQDL) ruleset. For more information, see the AWS Glue developer guide.
    Tags Dictionary<string, string>
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    TargetTable DataQualityRulesetTargetTable
    A Configuration block specifying a target table associated with the data quality ruleset. See target_table below.
    Arn string
    ARN of the Glue Data Quality Ruleset.
    CreatedOn string
    The time and date that this data quality ruleset was created.
    Description string
    Description of the data quality ruleset.
    LastModifiedOn string
    The time and date that this data quality ruleset was created.
    Name string
    Name of the data quality ruleset.
    RecommendationRunId string
    When a ruleset was created from a recommendation run, this run ID is generated to link the two together.
    Ruleset string
    A Data Quality Definition Language (DQDL) ruleset. For more information, see the AWS Glue developer guide.
    Tags map[string]string
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    TargetTable DataQualityRulesetTargetTableArgs
    A Configuration block specifying a target table associated with the data quality ruleset. See target_table below.
    arn String
    ARN of the Glue Data Quality Ruleset.
    createdOn String
    The time and date that this data quality ruleset was created.
    description String
    Description of the data quality ruleset.
    lastModifiedOn String
    The time and date that this data quality ruleset was created.
    name String
    Name of the data quality ruleset.
    recommendationRunId String
    When a ruleset was created from a recommendation run, this run ID is generated to link the two together.
    ruleset String
    A Data Quality Definition Language (DQDL) ruleset. For more information, see the AWS Glue developer guide.
    tags Map<String,String>
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    targetTable DataQualityRulesetTargetTable
    A Configuration block specifying a target table associated with the data quality ruleset. See target_table below.
    arn string
    ARN of the Glue Data Quality Ruleset.
    createdOn string
    The time and date that this data quality ruleset was created.
    description string
    Description of the data quality ruleset.
    lastModifiedOn string
    The time and date that this data quality ruleset was created.
    name string
    Name of the data quality ruleset.
    recommendationRunId string
    When a ruleset was created from a recommendation run, this run ID is generated to link the two together.
    ruleset string
    A Data Quality Definition Language (DQDL) ruleset. For more information, see the AWS Glue developer guide.
    tags {[key: string]: string}
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    targetTable DataQualityRulesetTargetTable
    A Configuration block specifying a target table associated with the data quality ruleset. See target_table below.
    arn str
    ARN of the Glue Data Quality Ruleset.
    created_on str
    The time and date that this data quality ruleset was created.
    description str
    Description of the data quality ruleset.
    last_modified_on str
    The time and date that this data quality ruleset was created.
    name str
    Name of the data quality ruleset.
    recommendation_run_id str
    When a ruleset was created from a recommendation run, this run ID is generated to link the two together.
    ruleset str
    A Data Quality Definition Language (DQDL) ruleset. For more information, see the AWS Glue developer guide.
    tags Mapping[str, str]
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    target_table DataQualityRulesetTargetTableArgs
    A Configuration block specifying a target table associated with the data quality ruleset. See target_table below.
    arn String
    ARN of the Glue Data Quality Ruleset.
    createdOn String
    The time and date that this data quality ruleset was created.
    description String
    Description of the data quality ruleset.
    lastModifiedOn String
    The time and date that this data quality ruleset was created.
    name String
    Name of the data quality ruleset.
    recommendationRunId String
    When a ruleset was created from a recommendation run, this run ID is generated to link the two together.
    ruleset String
    A Data Quality Definition Language (DQDL) ruleset. For more information, see the AWS Glue developer guide.
    tags Map<String>
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    targetTable Property Map
    A Configuration block specifying a target table associated with the data quality ruleset. See target_table below.

    Supporting Types

    DataQualityRulesetTargetTable, DataQualityRulesetTargetTableArgs

    DatabaseName string
    Name of the database where the AWS Glue table exists.
    TableName string
    Name of the AWS Glue table.
    CatalogId string
    The catalog id where the AWS Glue table exists.
    DatabaseName string
    Name of the database where the AWS Glue table exists.
    TableName string
    Name of the AWS Glue table.
    CatalogId string
    The catalog id where the AWS Glue table exists.
    databaseName String
    Name of the database where the AWS Glue table exists.
    tableName String
    Name of the AWS Glue table.
    catalogId String
    The catalog id where the AWS Glue table exists.
    databaseName string
    Name of the database where the AWS Glue table exists.
    tableName string
    Name of the AWS Glue table.
    catalogId string
    The catalog id where the AWS Glue table exists.
    database_name str
    Name of the database where the AWS Glue table exists.
    table_name str
    Name of the AWS Glue table.
    catalog_id str
    The catalog id where the AWS Glue table exists.
    databaseName String
    Name of the database where the AWS Glue table exists.
    tableName String
    Name of the AWS Glue table.
    catalogId String
    The catalog id where the AWS Glue table exists.

    Import

    Using pulumi import, import Glue Data Quality Ruleset using the name. For example:

    $ pulumi import aws:glue/dataQualityRuleset:DataQualityRuleset example exampleName
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi