Class: AWSCDK::IoTAnalytics::CfnDataset::ContainerActionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTAnalytics::CfnDataset::ContainerActionProperty
- Defined in:
- io_t_analytics/cfn_dataset.rb
Overview
Information needed to run the "containerAction" to produce data set contents.
Instance Attribute Summary collapse
-
#execution_role_arn ⇒ String
readonly
The ARN of the role which gives permission to the system to access needed resources in order to run the "containerAction".
-
#image ⇒ String
readonly
The ARN of the Docker container stored in your account.
-
#resource_configuration ⇒ AWSCDK::IResolvable, AWSCDK::IoTAnalytics::CfnDataset::ResourceConfigurationProperty
readonly
Configuration of the resource which executes the "containerAction".
-
#variables ⇒ AWSCDK::IResolvable, ...
readonly
The values of variables used within the context of the execution of the containerized application (basically, parameters passed to the application).
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(execution_role_arn:, image:, resource_configuration:, variables: nil) ⇒ ContainerActionProperty
constructor
A new instance of ContainerActionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(execution_role_arn:, image:, resource_configuration:, variables: nil) ⇒ ContainerActionProperty
Returns a new instance of ContainerActionProperty.
681 682 683 684 685 686 687 688 689 690 |
# File 'io_t_analytics/cfn_dataset.rb', line 681 def initialize(execution_role_arn:, image:, resource_configuration:, variables: nil) @execution_role_arn = execution_role_arn Jsii::Type.check_type(@execution_role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "executionRoleArn") @image = image Jsii::Type.check_type(@image, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "image") @resource_configuration = resource_configuration.is_a?(Hash) ? ::AWSCDK::IoTAnalytics::CfnDataset::ResourceConfigurationProperty.new(**resource_configuration.transform_keys(&:to_sym)) : resource_configuration Jsii::Type.check_type(@resource_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19pb3RhbmFseXRpY3MuQ2ZuRGF0YXNldC5SZXNvdXJjZUNvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "resourceConfiguration") @variables = variables Jsii::Type.check_type(@variables, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfaW90YW5hbHl0aWNzLkNmbkRhdGFzZXQuVmFyaWFibGVQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "variables") unless @variables.nil? end |
Instance Attribute Details
#execution_role_arn ⇒ String (readonly)
The ARN of the role which gives permission to the system to access needed resources in order to run the "containerAction".
This includes, at minimum, permission to retrieve the data set contents which are the input to the containerized application.
698 699 700 |
# File 'io_t_analytics/cfn_dataset.rb', line 698 def execution_role_arn @execution_role_arn end |
#image ⇒ String (readonly)
The ARN of the Docker container stored in your account.
The Docker container contains an application and needed support libraries and is used to generate data set contents.
705 706 707 |
# File 'io_t_analytics/cfn_dataset.rb', line 705 def image @image end |
#resource_configuration ⇒ AWSCDK::IResolvable, AWSCDK::IoTAnalytics::CfnDataset::ResourceConfigurationProperty (readonly)
Configuration of the resource which executes the "containerAction".
710 711 712 |
# File 'io_t_analytics/cfn_dataset.rb', line 710 def resource_configuration @resource_configuration end |
#variables ⇒ AWSCDK::IResolvable, ... (readonly)
The values of variables used within the context of the execution of the containerized application (basically, parameters passed to the application).
Each variable must have a name and a value given by one of "stringValue", "datasetContentVersionValue", or "outputFileUriValue".
717 718 719 |
# File 'io_t_analytics/cfn_dataset.rb', line 717 def variables @variables end |
Class Method Details
.jsii_properties ⇒ Object
719 720 721 722 723 724 725 726 |
# File 'io_t_analytics/cfn_dataset.rb', line 719 def self.jsii_properties { :execution_role_arn => "executionRoleArn", :image => "image", :resource_configuration => "resourceConfiguration", :variables => "variables", } end |
Instance Method Details
#to_jsii ⇒ Object
728 729 730 731 732 733 734 735 736 737 |
# File 'io_t_analytics/cfn_dataset.rb', line 728 def to_jsii result = {} result.merge!({ "executionRoleArn" => @execution_role_arn, "image" => @image, "resourceConfiguration" => @resource_configuration, "variables" => @variables, }) result.compact end |