Class: AWSCDK::CodeDeploy::CfnDeploymentGroup::TriggerConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CodeDeploy::CfnDeploymentGroup::TriggerConfigProperty
- Defined in:
- code_deploy/cfn_deployment_group.rb
Overview
Information about notification triggers for the deployment group.
Instance Attribute Summary collapse
-
#trigger_events ⇒ Array<String>?
readonly
The event type or types that trigger notifications.
-
#trigger_name ⇒ String?
readonly
The name of the notification trigger.
-
#trigger_target_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(trigger_events: nil, trigger_name: nil, trigger_target_arn: nil) ⇒ TriggerConfigProperty
constructor
A new instance of TriggerConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(trigger_events: nil, trigger_name: nil, trigger_target_arn: nil) ⇒ TriggerConfigProperty
Returns a new instance of TriggerConfigProperty.
1968 1969 1970 1971 1972 1973 1974 1975 |
# File 'code_deploy/cfn_deployment_group.rb', line 1968 def initialize(trigger_events: nil, trigger_name: nil, trigger_target_arn: nil) @trigger_events = trigger_events Jsii::Type.check_type(@trigger_events, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "triggerEvents") unless @trigger_events.nil? @trigger_name = trigger_name Jsii::Type.check_type(@trigger_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "triggerName") unless @trigger_name.nil? @trigger_target_arn = trigger_target_arn Jsii::Type.check_type(@trigger_target_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "triggerTargetArn") unless @trigger_target_arn.nil? end |
Instance Attribute Details
#trigger_events ⇒ Array<String>? (readonly)
The event type or types that trigger notifications.
1981 1982 1983 |
# File 'code_deploy/cfn_deployment_group.rb', line 1981 def trigger_events @trigger_events end |
#trigger_name ⇒ String? (readonly)
The name of the notification trigger.
1986 1987 1988 |
# File 'code_deploy/cfn_deployment_group.rb', line 1986 def trigger_name @trigger_name end |
#trigger_target_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.
1991 1992 1993 |
# File 'code_deploy/cfn_deployment_group.rb', line 1991 def trigger_target_arn @trigger_target_arn end |
Class Method Details
.jsii_properties ⇒ Object
1993 1994 1995 1996 1997 1998 1999 |
# File 'code_deploy/cfn_deployment_group.rb', line 1993 def self.jsii_properties { :trigger_events => "triggerEvents", :trigger_name => "triggerName", :trigger_target_arn => "triggerTargetArn", } end |
Instance Method Details
#to_jsii ⇒ Object
2001 2002 2003 2004 2005 2006 2007 2008 2009 |
# File 'code_deploy/cfn_deployment_group.rb', line 2001 def to_jsii result = {} result.merge!({ "triggerEvents" => @trigger_events, "triggerName" => @trigger_name, "triggerTargetArn" => @trigger_target_arn, }) result.compact end |