Class: AWSCDK::DevOpsAgent::CfnAssociation::SlackTransmissionTargetProperty

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

Overview

Defines the Slack channels where different types of agent notifications will be sent.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(incident_response_target:) ⇒ SlackTransmissionTargetProperty

Returns a new instance of SlackTransmissionTargetProperty.

Parameters:



1723
1724
1725
1726
# File 'dev_ops_agent/cfn_association.rb', line 1723

def initialize(incident_response_target:)
  @incident_response_target = incident_response_target.is_a?(Hash) ? ::AWSCDK::DevOpsAgent::CfnAssociation::SlackChannelProperty.new(**incident_response_target.transform_keys(&:to_sym)) : incident_response_target
  Jsii::Type.check_type(@incident_response_target, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kZXZvcHNhZ2VudC5DZm5Bc3NvY2lhdGlvbi5TbGFja0NoYW5uZWxQcm9wZXJ0eSJ9XX19")), "incidentResponseTarget")
end

Instance Attribute Details

#incident_response_targetAWSCDK::IResolvable, AWSCDK::DevOpsAgent::CfnAssociation::SlackChannelProperty (readonly)

Destination for AWS DevOps Agent Incident Response.



1732
1733
1734
# File 'dev_ops_agent/cfn_association.rb', line 1732

def incident_response_target
  @incident_response_target
end

Class Method Details

.jsii_propertiesObject



1734
1735
1736
1737
1738
# File 'dev_ops_agent/cfn_association.rb', line 1734

def self.jsii_properties
  {
    :incident_response_target => "incidentResponseTarget",
  }
end

Instance Method Details

#to_jsiiObject



1740
1741
1742
1743
1744
1745
1746
# File 'dev_ops_agent/cfn_association.rb', line 1740

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