Class: AWSCDK::Logs::CfnScheduledQuery::S3ConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Logs::CfnScheduledQuery::S3ConfigurationProperty
- Defined in:
- logs/cfn_scheduled_query.rb
Overview
Instance Attribute Summary collapse
- #destination_identifier ⇒ String readonly
- #role_arn ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(destination_identifier:, role_arn:) ⇒ S3ConfigurationProperty
constructor
A new instance of S3ConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(destination_identifier:, role_arn:) ⇒ S3ConfigurationProperty
Returns a new instance of S3ConfigurationProperty.
709 710 711 712 713 714 |
# File 'logs/cfn_scheduled_query.rb', line 709 def initialize(destination_identifier:, role_arn:) @destination_identifier = destination_identifier Jsii::Type.check_type(@destination_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "destinationIdentifier") @role_arn = role_arn Jsii::Type.check_type(@role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "roleArn") end |
Instance Attribute Details
#destination_identifier ⇒ String (readonly)
718 719 720 |
# File 'logs/cfn_scheduled_query.rb', line 718 def destination_identifier @destination_identifier end |
#role_arn ⇒ String (readonly)
721 722 723 |
# File 'logs/cfn_scheduled_query.rb', line 721 def role_arn @role_arn end |
Class Method Details
.jsii_properties ⇒ Object
723 724 725 726 727 728 |
# File 'logs/cfn_scheduled_query.rb', line 723 def self.jsii_properties { :destination_identifier => "destinationIdentifier", :role_arn => "roleArn", } end |
Instance Method Details
#to_jsii ⇒ Object
730 731 732 733 734 735 736 737 |
# File 'logs/cfn_scheduled_query.rb', line 730 def to_jsii result = {} result.merge!({ "destinationIdentifier" => @destination_identifier, "roleArn" => @role_arn, }) result.compact end |