Class: AWSCDK::Glue::CfnUsageProfile::ProfileConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Glue::CfnUsageProfile::ProfileConfigurationProperty
- Defined in:
- glue/cfn_usage_profile.rb
Overview
Specifies the job and session values that an admin configures in an AWS Glue usage profile.
Instance Attribute Summary collapse
-
#job_configuration ⇒ AWSCDK::IResolvable, ...
readonly
A key-value map of configuration parameters for AWS Glue jobs.
-
#session_configuration ⇒ AWSCDK::IResolvable, ...
readonly
A key-value map of configuration parameters for AWS Glue sessions.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(job_configuration: nil, session_configuration: nil) ⇒ ProfileConfigurationProperty
constructor
A new instance of ProfileConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(job_configuration: nil, session_configuration: nil) ⇒ ProfileConfigurationProperty
Returns a new instance of ProfileConfigurationProperty.
612 613 614 615 616 617 |
# File 'glue/cfn_usage_profile.rb', line 612 def initialize(job_configuration: nil, session_configuration: nil) @job_configuration = job_configuration Jsii::Type.check_type(@job_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZ2x1ZS5DZm5Vc2FnZVByb2ZpbGUuQ29uZmlndXJhdGlvbk9iamVjdFByb3BlcnR5In1dfX0sImtpbmQiOiJtYXAifX1dfX0=")), "jobConfiguration") unless @job_configuration.nil? @session_configuration = session_configuration Jsii::Type.check_type(@session_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZ2x1ZS5DZm5Vc2FnZVByb2ZpbGUuQ29uZmlndXJhdGlvbk9iamVjdFByb3BlcnR5In1dfX0sImtpbmQiOiJtYXAifX1dfX0=")), "sessionConfiguration") unless @session_configuration.nil? end |
Instance Attribute Details
#job_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
A key-value map of configuration parameters for AWS Glue jobs.
623 624 625 |
# File 'glue/cfn_usage_profile.rb', line 623 def job_configuration @job_configuration end |
#session_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
A key-value map of configuration parameters for AWS Glue sessions.
628 629 630 |
# File 'glue/cfn_usage_profile.rb', line 628 def session_configuration @session_configuration end |
Class Method Details
.jsii_properties ⇒ Object
630 631 632 633 634 635 |
# File 'glue/cfn_usage_profile.rb', line 630 def self.jsii_properties { :job_configuration => "jobConfiguration", :session_configuration => "sessionConfiguration", } end |
Instance Method Details
#to_jsii ⇒ Object
637 638 639 640 641 642 643 644 |
# File 'glue/cfn_usage_profile.rb', line 637 def to_jsii result = {} result.merge!({ "jobConfiguration" => @job_configuration, "sessionConfiguration" => @session_configuration, }) result.compact end |