Class: AWSCDK::AppConfig::Action

Inherits:
Jsii::Object
  • Object
show all
Defined in:
app_config/action.rb

Overview

Defines an action for an extension.

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(props) ⇒ Action

Returns a new instance of Action.

Parameters:



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_methodsObject



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_pointsArray<AWSCDK::AppConfig::ActionPoint>

The action points that will trigger the extension action.

Returns:



29
30
31
# File 'app_config/action.rb', line 29

def action_points()
  jsii_get_property("actionPoints")
end

#descriptionString?

The description for the action.

Returns:

  • (String, nil)


43
44
45
# File 'app_config/action.rb', line 43

def description()
  jsii_get_property("description")
end

#event_destinationAWSCDK::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_roleAWSCDK::IAM::IRole?

The execution role for the action.

Returns:



50
51
52
# File 'app_config/action.rb', line 50

def execution_role()
  jsii_get_property("executionRole")
end

#invoke_without_execution_roleBoolean?

The flag that specifies whether to create the execution role.

Returns:

  • (Boolean, nil)


57
58
59
# File 'app_config/action.rb', line 57

def invoke_without_execution_role()
  jsii_get_property("invokeWithoutExecutionRole")
end

#nameString?

The name for the action.

Returns:

  • (String, nil)


64
65
66
# File 'app_config/action.rb', line 64

def name()
  jsii_get_property("name")
end