Class: AWSCDK::Glue::CfnCrawler::CatalogTargetProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Glue::CfnCrawler::CatalogTargetProperty
- Defined in:
- glue/cfn_crawler.rb
Overview
Specifies an AWS Glue Data Catalog target.
Instance Attribute Summary collapse
-
#connection_name ⇒ String?
readonly
The name of the connection for an Amazon S3-backed Data Catalog table to be a target of the crawl when using a
Catalogconnection type paired with aNETWORKConnection type. -
#database_name ⇒ String?
readonly
The name of the database to be synchronized.
-
#dlq_event_queue_arn ⇒ String?
readonly
A valid Amazon dead-letter SQS ARN.
-
#event_queue_arn ⇒ String?
readonly
A valid Amazon SQS ARN.
-
#tables ⇒ Array<String>?
readonly
A list of the tables to be synchronized.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(connection_name: nil, database_name: nil, dlq_event_queue_arn: nil, event_queue_arn: nil, tables: nil) ⇒ CatalogTargetProperty
constructor
A new instance of CatalogTargetProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(connection_name: nil, database_name: nil, dlq_event_queue_arn: nil, event_queue_arn: nil, tables: nil) ⇒ CatalogTargetProperty
Returns a new instance of CatalogTargetProperty.
701 702 703 704 705 706 707 708 709 710 711 712 |
# File 'glue/cfn_crawler.rb', line 701 def initialize(connection_name: nil, database_name: nil, dlq_event_queue_arn: nil, event_queue_arn: nil, tables: nil) @connection_name = connection_name Jsii::Type.check_type(@connection_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "connectionName") unless @connection_name.nil? @database_name = database_name Jsii::Type.check_type(@database_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "databaseName") unless @database_name.nil? @dlq_event_queue_arn = dlq_event_queue_arn Jsii::Type.check_type(@dlq_event_queue_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dlqEventQueueArn") unless @dlq_event_queue_arn.nil? @event_queue_arn = event_queue_arn Jsii::Type.check_type(@event_queue_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "eventQueueArn") unless @event_queue_arn.nil? @tables = tables Jsii::Type.check_type(@tables, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tables") unless @tables.nil? end |
Instance Attribute Details
#connection_name ⇒ String? (readonly)
The name of the connection for an Amazon S3-backed Data Catalog table to be a target of the crawl when using a Catalog connection type paired with a NETWORK Connection type.
718 719 720 |
# File 'glue/cfn_crawler.rb', line 718 def connection_name @connection_name end |
#database_name ⇒ String? (readonly)
The name of the database to be synchronized.
723 724 725 |
# File 'glue/cfn_crawler.rb', line 723 def database_name @database_name end |
#dlq_event_queue_arn ⇒ String? (readonly)
A valid Amazon dead-letter SQS ARN.
For example, arn:aws:sqs:region:account:deadLetterQueue .
730 731 732 |
# File 'glue/cfn_crawler.rb', line 730 def dlq_event_queue_arn @dlq_event_queue_arn end |
#event_queue_arn ⇒ String? (readonly)
A valid Amazon SQS ARN.
For example, arn:aws:sqs:region:account:sqs .
737 738 739 |
# File 'glue/cfn_crawler.rb', line 737 def event_queue_arn @event_queue_arn end |
#tables ⇒ Array<String>? (readonly)
A list of the tables to be synchronized.
742 743 744 |
# File 'glue/cfn_crawler.rb', line 742 def tables @tables end |
Class Method Details
.jsii_properties ⇒ Object
744 745 746 747 748 749 750 751 752 |
# File 'glue/cfn_crawler.rb', line 744 def self.jsii_properties { :connection_name => "connectionName", :database_name => "databaseName", :dlq_event_queue_arn => "dlqEventQueueArn", :event_queue_arn => "eventQueueArn", :tables => "tables", } end |
Instance Method Details
#to_jsii ⇒ Object
754 755 756 757 758 759 760 761 762 763 764 |
# File 'glue/cfn_crawler.rb', line 754 def to_jsii result = {} result.merge!({ "connectionName" => @connection_name, "databaseName" => @database_name, "dlqEventQueueArn" => @dlq_event_queue_arn, "eventQueueArn" => @event_queue_arn, "tables" => @tables, }) result.compact end |