Class: AWSCDK::SMSVoice::CfnConfigurationSet::CloudWatchLogsDestinationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SMSVoice::CfnConfigurationSet::CloudWatchLogsDestinationProperty
- Defined in:
- sms_voice/cfn_configuration_set.rb
Overview
Contains the destination configuration to use when publishing message sending events.
Instance Attribute Summary collapse
-
#iam_role_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of an AWS Identity and Access Management role that is able to write event data to an Amazon CloudWatch destination.
-
#log_group_arn ⇒ String
readonly
The name of the Amazon CloudWatch log group that you want to record events in.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(iam_role_arn:, log_group_arn:) ⇒ CloudWatchLogsDestinationProperty
constructor
A new instance of CloudWatchLogsDestinationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(iam_role_arn:, log_group_arn:) ⇒ CloudWatchLogsDestinationProperty
Returns a new instance of CloudWatchLogsDestinationProperty.
615 616 617 618 619 620 |
# File 'sms_voice/cfn_configuration_set.rb', line 615 def initialize(iam_role_arn:, log_group_arn:) @iam_role_arn = iam_role_arn Jsii::Type.check_type(@iam_role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "iamRoleArn") @log_group_arn = log_group_arn Jsii::Type.check_type(@log_group_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "logGroupArn") end |
Instance Attribute Details
#iam_role_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of an AWS Identity and Access Management role that is able to write event data to an Amazon CloudWatch destination.
626 627 628 |
# File 'sms_voice/cfn_configuration_set.rb', line 626 def iam_role_arn @iam_role_arn end |
#log_group_arn ⇒ String (readonly)
The name of the Amazon CloudWatch log group that you want to record events in.
631 632 633 |
# File 'sms_voice/cfn_configuration_set.rb', line 631 def log_group_arn @log_group_arn end |
Class Method Details
.jsii_properties ⇒ Object
633 634 635 636 637 638 |
# File 'sms_voice/cfn_configuration_set.rb', line 633 def self.jsii_properties { :iam_role_arn => "iamRoleArn", :log_group_arn => "logGroupArn", } end |
Instance Method Details
#to_jsii ⇒ Object
640 641 642 643 644 645 646 647 |
# File 'sms_voice/cfn_configuration_set.rb', line 640 def to_jsii result = {} result.merge!({ "iamRoleArn" => @iam_role_arn, "logGroupArn" => @log_group_arn, }) result.compact end |