Class: AWSCDK::DevOpsAgent::CfnAssociation::ServiceNowConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DevOpsAgent::CfnAssociation::ServiceNowConfigurationProperty
- Defined in:
- dev_ops_agent/cfn_association.rb
Overview
Configuration for ServiceNow integration.
Defines the ServiceNow instance URL, instance ID, and webhook update settings required for the Agent Space to create, update, and manage incidents and change requests.
Instance Attribute Summary collapse
-
#enable_webhook_updates ⇒ Boolean, ...
readonly
When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.
-
#instance_id ⇒ String?
readonly
ServiceNow instance ID.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enable_webhook_updates: nil, instance_id: nil) ⇒ ServiceNowConfigurationProperty
constructor
A new instance of ServiceNowConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enable_webhook_updates: nil, instance_id: nil) ⇒ ServiceNowConfigurationProperty
Returns a new instance of ServiceNowConfigurationProperty.
1583 1584 1585 1586 1587 1588 |
# File 'dev_ops_agent/cfn_association.rb', line 1583 def initialize(enable_webhook_updates: nil, instance_id: 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? @instance_id = instance_id Jsii::Type.check_type(@instance_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "instanceId") unless @instance_id.nil? end |
Instance Attribute Details
#enable_webhook_updates ⇒ Boolean, ... (readonly)
When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.
1594 1595 1596 |
# File 'dev_ops_agent/cfn_association.rb', line 1594 def enable_webhook_updates @enable_webhook_updates end |
#instance_id ⇒ String? (readonly)
ServiceNow instance ID.
1599 1600 1601 |
# File 'dev_ops_agent/cfn_association.rb', line 1599 def instance_id @instance_id end |
Class Method Details
.jsii_properties ⇒ Object
1601 1602 1603 1604 1605 1606 |
# File 'dev_ops_agent/cfn_association.rb', line 1601 def self.jsii_properties { :enable_webhook_updates => "enableWebhookUpdates", :instance_id => "instanceId", } end |
Instance Method Details
#to_jsii ⇒ Object
1608 1609 1610 1611 1612 1613 1614 1615 |
# File 'dev_ops_agent/cfn_association.rb', line 1608 def to_jsii result = {} result.merge!({ "enableWebhookUpdates" => @enable_webhook_updates, "instanceId" => @instance_id, }) result.compact end |