Class: AWSCDK::Glue::CfnDataQualityRulesetProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Glue::CfnDataQualityRulesetProps
- Defined in:
- glue/cfn_data_quality_ruleset_props.rb
Overview
Properties for defining a CfnDataQualityRuleset.
Instance Attribute Summary collapse
-
#client_token ⇒ String?
readonly
Used for idempotency and is recommended to be set to a random ID (such as a UUID) to avoid creating or starting multiple instances of the same resource.
-
#description ⇒ String?
readonly
A description of the data quality ruleset.
-
#name ⇒ String?
readonly
The name of the data quality ruleset.
-
#ruleset ⇒ String?
readonly
A Data Quality Definition Language (DQDL) ruleset.
-
#tags ⇒ Object?
readonly
A list of tags applied to the data quality ruleset.
-
#target_table ⇒ AWSCDK::IResolvable, ...
readonly
An object representing an AWS Glue table.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(client_token: nil, description: nil, name: nil, ruleset: nil, tags: nil, target_table: nil) ⇒ CfnDataQualityRulesetProps
constructor
A new instance of CfnDataQualityRulesetProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(client_token: nil, description: nil, name: nil, ruleset: nil, tags: nil, target_table: nil) ⇒ CfnDataQualityRulesetProps
Returns a new instance of CfnDataQualityRulesetProps.
15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'glue/cfn_data_quality_ruleset_props.rb', line 15 def initialize(client_token: nil, description: nil, name: nil, ruleset: nil, tags: nil, target_table: nil) @client_token = client_token Jsii::Type.check_type(@client_token, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clientToken") unless @client_token.nil? @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? @ruleset = ruleset Jsii::Type.check_type(@ruleset, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ruleset") unless @ruleset.nil? @tags = Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "tags") unless @tags.nil? @target_table = target_table.is_a?(Hash) ? ::AWSCDK::Glue::CfnDataQualityRuleset::DataQualityTargetTableProperty.new(**target_table.transform_keys(&:to_sym)) : target_table Jsii::Type.check_type(@target_table, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19nbHVlLkNmbkRhdGFRdWFsaXR5UnVsZXNldC5EYXRhUXVhbGl0eVRhcmdldFRhYmxlUHJvcGVydHkifV19fQ==")), "targetTable") unless @target_table.nil? end |
Instance Attribute Details
#client_token ⇒ String? (readonly)
Used for idempotency and is recommended to be set to a random ID (such as a UUID) to avoid creating or starting multiple instances of the same resource.
34 35 36 |
# File 'glue/cfn_data_quality_ruleset_props.rb', line 34 def client_token @client_token end |
#description ⇒ String? (readonly)
A description of the data quality ruleset.
39 40 41 |
# File 'glue/cfn_data_quality_ruleset_props.rb', line 39 def description @description end |
#name ⇒ String? (readonly)
The name of the data quality ruleset.
44 45 46 |
# File 'glue/cfn_data_quality_ruleset_props.rb', line 44 def name @name end |
#ruleset ⇒ String? (readonly)
A Data Quality Definition Language (DQDL) ruleset.
For more information see the AWS Glue Developer Guide.
51 52 53 |
# File 'glue/cfn_data_quality_ruleset_props.rb', line 51 def ruleset @ruleset end |
#tags ⇒ Object? (readonly)
A list of tags applied to the data quality ruleset.
56 57 58 |
# File 'glue/cfn_data_quality_ruleset_props.rb', line 56 def @tags end |
#target_table ⇒ AWSCDK::IResolvable, ... (readonly)
An object representing an AWS Glue table.
61 62 63 |
# File 'glue/cfn_data_quality_ruleset_props.rb', line 61 def target_table @target_table end |
Class Method Details
.jsii_properties ⇒ Object
63 64 65 66 67 68 69 70 71 72 |
# File 'glue/cfn_data_quality_ruleset_props.rb', line 63 def self.jsii_properties { :client_token => "clientToken", :description => "description", :name => "name", :ruleset => "ruleset", :tags => "tags", :target_table => "targetTable", } end |
Instance Method Details
#to_jsii ⇒ Object
74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'glue/cfn_data_quality_ruleset_props.rb', line 74 def to_jsii result = {} result.merge!({ "clientToken" => @client_token, "description" => @description, "name" => @name, "ruleset" => @ruleset, "tags" => @tags, "targetTable" => @target_table, }) result.compact end |