Class: AWSCDK::AppConfig::Action
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::AppConfig::Action
- Defined in:
- app_config/action.rb
Overview
Defines an action for an extension.
Class Method Summary collapse
Instance Method Summary collapse
-
#action_points ⇒ Array<AWSCDK::AppConfig::ActionPoint>
The action points that will trigger the extension action.
-
#description ⇒ String?
The description for the action.
-
#event_destination ⇒ AWSCDK::AppConfig::IEventDestination
The event destination for the action.
-
#execution_role ⇒ AWSCDK::IAM::IRole?
The execution role for the action.
-
#initialize(props) ⇒ Action
constructor
A new instance of Action.
-
#invoke_without_execution_role ⇒ Boolean?
The flag that specifies whether to create the execution role.
-
#name ⇒ String?
The name for the action.
Constructor Details
#initialize(props) ⇒ Action
Returns a new instance of Action.
9 10 11 12 13 |
# File 'app_config/action.rb', line 9 def initialize(props) props = props.is_a?(Hash) ? ::AWSCDK::AppConfig::ActionProps.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwY29uZmlnLkFjdGlvblByb3BzIn0=")), "props") Jsii::Object.instance_method(:initialize).bind(self).call(props) end |
Class Method Details
.jsii_overridable_methods ⇒ Object
15 16 17 18 19 20 21 22 23 24 |
# File 'app_config/action.rb', line 15 def self.jsii_overridable_methods { :action_points => { kind: :property, name: "actionPoints", is_optional: false }, :event_destination => { kind: :property, name: "eventDestination", is_optional: false }, :description => { kind: :property, name: "description", is_optional: true }, :execution_role => { kind: :property, name: "executionRole", is_optional: true }, :invoke_without_execution_role => { kind: :property, name: "invokeWithoutExecutionRole", is_optional: true }, :name => { kind: :property, name: "name", is_optional: true }, } end |
Instance Method Details
#action_points ⇒ Array<AWSCDK::AppConfig::ActionPoint>
The action points that will trigger the extension action.
29 30 31 |
# File 'app_config/action.rb', line 29 def action_points() jsii_get_property("actionPoints") end |
#description ⇒ String?
The description for the action.
43 44 45 |
# File 'app_config/action.rb', line 43 def description() jsii_get_property("description") end |
#event_destination ⇒ AWSCDK::AppConfig::IEventDestination
The event destination for the action.
36 37 38 |
# File 'app_config/action.rb', line 36 def event_destination() jsii_get_property("eventDestination") end |
#execution_role ⇒ AWSCDK::IAM::IRole?
The execution role for the action.
50 51 52 |
# File 'app_config/action.rb', line 50 def execution_role() jsii_get_property("executionRole") end |
#invoke_without_execution_role ⇒ Boolean?
The flag that specifies whether to create the execution role.
57 58 59 |
# File 'app_config/action.rb', line 57 def invoke_without_execution_role() jsii_get_property("invokeWithoutExecutionRole") end |
#name ⇒ String?
The name for the action.
64 65 66 |
# File 'app_config/action.rb', line 64 def name() jsii_get_property("name") end |