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>)


5556
5557
5558
5559
5560
5561
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 5556

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)


5556
5557
5558
5559
5560
5561
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 5556

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

#trigger_target_arnString

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

Returns:

  • (String)


5556
5557
5558
5559
5560
5561
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 5556

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