You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CodeDeploy::Types::TriggerConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb

Overview

Note:

When making an API call, you may pass TriggerConfig data as a hash:

{
  trigger_name: "TriggerName",
  trigger_target_arn: "TriggerTargetArn",
  trigger_events: ["DeploymentStart"], # accepts DeploymentStart, DeploymentSuccess, DeploymentFailure, DeploymentStop, DeploymentRollback, DeploymentReady, InstanceStart, InstanceSuccess, InstanceFailure, InstanceReady
}

Information about notification triggers for the deployment group.

Instance Attribute Summary collapse

Instance Attribute Details

#trigger_eventsArray<String>

The event type or types for which notifications are triggered.

Returns:

  • (Array<String>)


3802
3803
3804
3805
3806
3807
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3802

class TriggerConfig < Struct.new(
  :trigger_name,
  :trigger_target_arn,
  :trigger_events)
  include Aws::Structure
end

#trigger_nameString

The name of the notification trigger.

Returns:

  • (String)


3802
3803
3804
3805
3806
3807
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3802

class TriggerConfig < Struct.new(
  :trigger_name,
  :trigger_target_arn,
  :trigger_events)
  include Aws::Structure
end

#trigger_target_arnString

The ARN of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.

Returns:

  • (String)


3802
3803
3804
3805
3806
3807
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3802

class TriggerConfig < Struct.new(
  :trigger_name,
  :trigger_target_arn,
  :trigger_events)
  include Aws::Structure
end