Class: AWSCDK::DevOpsAgent::CfnAssociation::EventChannelConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
dev_ops_agent/cfn_association.rb

Overview

Configuration for Event Channel integration.

Defines webhook update settings to enable the Agent Space to receive real-time event notifications from event channel integrations.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enable_webhook_updates: nil) ⇒ EventChannelConfigurationProperty

Returns a new instance of EventChannelConfigurationProperty.

Parameters:

  • enable_webhook_updates (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.



776
777
778
779
# File 'dev_ops_agent/cfn_association.rb', line 776

def initialize(enable_webhook_updates: nil)
  @enable_webhook_updates = enable_webhook_updates
  Jsii::Type.check_type(@enable_webhook_updates, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enableWebhookUpdates") unless @enable_webhook_updates.nil?
end

Instance Attribute Details

#enable_webhook_updatesBoolean, ... (readonly)

When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.



785
786
787
# File 'dev_ops_agent/cfn_association.rb', line 785

def enable_webhook_updates
  @enable_webhook_updates
end

Class Method Details

.jsii_propertiesObject



787
788
789
790
791
# File 'dev_ops_agent/cfn_association.rb', line 787

def self.jsii_properties
  {
    :enable_webhook_updates => "enableWebhookUpdates",
  }
end

Instance Method Details

#to_jsiiObject



793
794
795
796
797
798
799
# File 'dev_ops_agent/cfn_association.rb', line 793

def to_jsii
  result = {}
  result.merge!({
    "enableWebhookUpdates" => @enable_webhook_updates,
  })
  result.compact
end