Class: AWSCDK::Logs::CfnScheduledQuery::S3ConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
logs/cfn_scheduled_query.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(destination_identifier:, role_arn:) ⇒ S3ConfigurationProperty

Returns a new instance of S3ConfigurationProperty.

Parameters:

  • destination_identifier (String)
  • role_arn (String)


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_identifierString (readonly)



718
719
720
# File 'logs/cfn_scheduled_query.rb', line 718

def destination_identifier
  @destination_identifier
end

#role_arnString (readonly)



721
722
723
# File 'logs/cfn_scheduled_query.rb', line 721

def role_arn
  @role_arn
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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