Class: AWSCDK::Glue::CfnCrawler::LakeFormationConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Glue::CfnCrawler::LakeFormationConfigurationProperty
- Defined in:
- glue/cfn_crawler.rb
Overview
Specifies AWS Lake Formation configuration settings for the crawler.
Instance Attribute Summary collapse
-
#account_id ⇒ String?
readonly
Required for cross account crawls.
-
#use_lake_formation_credentials ⇒ Boolean, ...
readonly
Specifies whether to use AWS Lake Formation credentials for the crawler instead of the IAM role credentials.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(account_id: nil, use_lake_formation_credentials: nil) ⇒ LakeFormationConfigurationProperty
constructor
A new instance of LakeFormationConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(account_id: nil, use_lake_formation_credentials: nil) ⇒ LakeFormationConfigurationProperty
Returns a new instance of LakeFormationConfigurationProperty.
1106 1107 1108 1109 1110 1111 |
# File 'glue/cfn_crawler.rb', line 1106 def initialize(account_id: nil, use_lake_formation_credentials: nil) @account_id = account_id Jsii::Type.check_type(@account_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accountId") unless @account_id.nil? @use_lake_formation_credentials = use_lake_formation_credentials Jsii::Type.check_type(@use_lake_formation_credentials, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "useLakeFormationCredentials") unless @use_lake_formation_credentials.nil? end |
Instance Attribute Details
#account_id ⇒ String? (readonly)
Required for cross account crawls.
For same account crawls as the target data, this can be left as null.
1119 1120 1121 |
# File 'glue/cfn_crawler.rb', line 1119 def account_id @account_id end |
#use_lake_formation_credentials ⇒ Boolean, ... (readonly)
Specifies whether to use AWS Lake Formation credentials for the crawler instead of the IAM role credentials.
1124 1125 1126 |
# File 'glue/cfn_crawler.rb', line 1124 def use_lake_formation_credentials @use_lake_formation_credentials end |
Class Method Details
.jsii_properties ⇒ Object
1126 1127 1128 1129 1130 1131 |
# File 'glue/cfn_crawler.rb', line 1126 def self.jsii_properties { :account_id => "accountId", :use_lake_formation_credentials => "useLakeFormationCredentials", } end |
Instance Method Details
#to_jsii ⇒ Object
1133 1134 1135 1136 1137 1138 1139 1140 |
# File 'glue/cfn_crawler.rb', line 1133 def to_jsii result = {} result.merge!({ "accountId" => @account_id, "useLakeFormationCredentials" => @use_lake_formation_credentials, }) result.compact end |