Module: AWSCDK::AppConfig::IExtensible
- Included in:
- Application, Environment, ExtensibleBase, HostedConfiguration, SourcedConfiguration
- Defined in:
- app_config/i_extensible.rb
Overview
Defines the extensible base implementation for extension association resources.
Class Method Summary collapse
Instance Method Summary collapse
-
#add_extension(extension) ⇒ void
Adds an extension association to the derived resource.
-
#at_deployment_tick(event_destination, options = nil) ⇒ void
Adds an AT_DEPLOYMENT_TICK extension with the provided event destination and also creates an extension association to the derived resource.
-
#on(action_point, event_destination, options = nil) ⇒ void
Adds an extension defined by the action point and event destination and also creates an extension association to the derived resource.
-
#on_deployment_baking(event_destination, options = nil) ⇒ void
Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to the derived resource.
-
#on_deployment_complete(event_destination, options = nil) ⇒ void
Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to the derived resource.
-
#on_deployment_rolled_back(event_destination, options = nil) ⇒ void
Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to the derived resource.
-
#on_deployment_start(event_destination, options = nil) ⇒ void
Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to the derived resource.
-
#on_deployment_step(event_destination, options = nil) ⇒ void
Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to the derived resource.
-
#pre_create_hosted_configuration_version(event_destination, options = nil) ⇒ void
Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to the derived resource.
-
#pre_start_deployment(event_destination, options = nil) ⇒ void
Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to the derived resource.
Class Method Details
.jsii_overridable_methods ⇒ Object
126 127 128 129 130 131 132 133 134 135 136 137 138 139 |
# File 'app_config/i_extensible.rb', line 126 def self.jsii_overridable_methods { :add_extension => { kind: :method, name: "addExtension", is_optional: false }, :at_deployment_tick => { kind: :method, name: "atDeploymentTick", is_optional: false }, :on => { kind: :method, name: "on", is_optional: false }, :on_deployment_baking => { kind: :method, name: "onDeploymentBaking", is_optional: false }, :on_deployment_complete => { kind: :method, name: "onDeploymentComplete", is_optional: false }, :on_deployment_rolled_back => { kind: :method, name: "onDeploymentRolledBack", is_optional: false }, :on_deployment_start => { kind: :method, name: "onDeploymentStart", is_optional: false }, :on_deployment_step => { kind: :method, name: "onDeploymentStep", is_optional: false }, :pre_create_hosted_configuration_version => { kind: :method, name: "preCreateHostedConfigurationVersion", is_optional: false }, :pre_start_deployment => { kind: :method, name: "preStartDeployment", is_optional: false }, } end |
Instance Method Details
#add_extension(extension) ⇒ void
This method returns an undefined value.
Adds an extension association to the derived resource.
11 12 13 14 |
# File 'app_config/i_extensible.rb', line 11 def add_extension(extension) Jsii::Type.check_type(extension, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwY29uZmlnLklFeHRlbnNpb24ifQ==")), "extension") jsii_call_method("addExtension", [extension]) end |
#at_deployment_tick(event_destination, options = nil) ⇒ void
This method returns an undefined value.
Adds an AT_DEPLOYMENT_TICK extension with the provided event destination and also creates an extension association to the derived resource.
21 22 23 24 25 26 |
# File 'app_config/i_extensible.rb', line 21 def at_deployment_tick(event_destination, = nil) Jsii::Type.check_type(event_destination, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwY29uZmlnLklFdmVudERlc3RpbmF0aW9uIn0=")), "eventDestination") = .is_a?(Hash) ? ::AWSCDK::AppConfig::ExtensionOptions.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwY29uZmlnLkV4dGVuc2lvbk9wdGlvbnMifQ==")), "options") unless .nil? jsii_call_method("atDeploymentTick", [event_destination, ]) end |
#on(action_point, event_destination, options = nil) ⇒ void
This method returns an undefined value.
Adds an extension defined by the action point and event destination and also creates an extension association to the derived resource.
34 35 36 37 38 39 40 |
# File 'app_config/i_extensible.rb', line 34 def on(action_point, event_destination, = nil) Jsii::Type.check_type(action_point, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwY29uZmlnLkFjdGlvblBvaW50In0=")), "actionPoint") Jsii::Type.check_type(event_destination, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwY29uZmlnLklFdmVudERlc3RpbmF0aW9uIn0=")), "eventDestination") = .is_a?(Hash) ? ::AWSCDK::AppConfig::ExtensionOptions.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwY29uZmlnLkV4dGVuc2lvbk9wdGlvbnMifQ==")), "options") unless .nil? jsii_call_method("on", [action_point, event_destination, ]) end |
#on_deployment_baking(event_destination, options = nil) ⇒ void
This method returns an undefined value.
Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to the derived resource.
47 48 49 50 51 52 |
# File 'app_config/i_extensible.rb', line 47 def on_deployment_baking(event_destination, = nil) Jsii::Type.check_type(event_destination, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwY29uZmlnLklFdmVudERlc3RpbmF0aW9uIn0=")), "eventDestination") = .is_a?(Hash) ? ::AWSCDK::AppConfig::ExtensionOptions.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwY29uZmlnLkV4dGVuc2lvbk9wdGlvbnMifQ==")), "options") unless .nil? jsii_call_method("onDeploymentBaking", [event_destination, ]) end |
#on_deployment_complete(event_destination, options = nil) ⇒ void
This method returns an undefined value.
Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to the derived resource.
59 60 61 62 63 64 |
# File 'app_config/i_extensible.rb', line 59 def on_deployment_complete(event_destination, = nil) Jsii::Type.check_type(event_destination, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwY29uZmlnLklFdmVudERlc3RpbmF0aW9uIn0=")), "eventDestination") = .is_a?(Hash) ? ::AWSCDK::AppConfig::ExtensionOptions.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwY29uZmlnLkV4dGVuc2lvbk9wdGlvbnMifQ==")), "options") unless .nil? jsii_call_method("onDeploymentComplete", [event_destination, ]) end |
#on_deployment_rolled_back(event_destination, options = nil) ⇒ void
This method returns an undefined value.
Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to the derived resource.
71 72 73 74 75 76 |
# File 'app_config/i_extensible.rb', line 71 def on_deployment_rolled_back(event_destination, = nil) Jsii::Type.check_type(event_destination, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwY29uZmlnLklFdmVudERlc3RpbmF0aW9uIn0=")), "eventDestination") = .is_a?(Hash) ? ::AWSCDK::AppConfig::ExtensionOptions.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwY29uZmlnLkV4dGVuc2lvbk9wdGlvbnMifQ==")), "options") unless .nil? jsii_call_method("onDeploymentRolledBack", [event_destination, ]) end |
#on_deployment_start(event_destination, options = nil) ⇒ void
This method returns an undefined value.
Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to the derived resource.
83 84 85 86 87 88 |
# File 'app_config/i_extensible.rb', line 83 def on_deployment_start(event_destination, = nil) Jsii::Type.check_type(event_destination, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwY29uZmlnLklFdmVudERlc3RpbmF0aW9uIn0=")), "eventDestination") = .is_a?(Hash) ? ::AWSCDK::AppConfig::ExtensionOptions.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwY29uZmlnLkV4dGVuc2lvbk9wdGlvbnMifQ==")), "options") unless .nil? jsii_call_method("onDeploymentStart", [event_destination, ]) end |
#on_deployment_step(event_destination, options = nil) ⇒ void
This method returns an undefined value.
Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to the derived resource.
95 96 97 98 99 100 |
# File 'app_config/i_extensible.rb', line 95 def on_deployment_step(event_destination, = nil) Jsii::Type.check_type(event_destination, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwY29uZmlnLklFdmVudERlc3RpbmF0aW9uIn0=")), "eventDestination") = .is_a?(Hash) ? ::AWSCDK::AppConfig::ExtensionOptions.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwY29uZmlnLkV4dGVuc2lvbk9wdGlvbnMifQ==")), "options") unless .nil? jsii_call_method("onDeploymentStep", [event_destination, ]) end |
#pre_create_hosted_configuration_version(event_destination, options = nil) ⇒ void
This method returns an undefined value.
Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to the derived resource.
107 108 109 110 111 112 |
# File 'app_config/i_extensible.rb', line 107 def pre_create_hosted_configuration_version(event_destination, = nil) Jsii::Type.check_type(event_destination, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwY29uZmlnLklFdmVudERlc3RpbmF0aW9uIn0=")), "eventDestination") = .is_a?(Hash) ? ::AWSCDK::AppConfig::ExtensionOptions.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwY29uZmlnLkV4dGVuc2lvbk9wdGlvbnMifQ==")), "options") unless .nil? jsii_call_method("preCreateHostedConfigurationVersion", [event_destination, ]) end |
#pre_start_deployment(event_destination, options = nil) ⇒ void
This method returns an undefined value.
Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to the derived resource.
119 120 121 122 123 124 |
# File 'app_config/i_extensible.rb', line 119 def pre_start_deployment(event_destination, = nil) Jsii::Type.check_type(event_destination, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwY29uZmlnLklFdmVudERlc3RpbmF0aW9uIn0=")), "eventDestination") = .is_a?(Hash) ? ::AWSCDK::AppConfig::ExtensionOptions.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwY29uZmlnLkV4dGVuc2lvbk9wdGlvbnMifQ==")), "options") unless .nil? jsii_call_method("preStartDeployment", [event_destination, ]) end |