Class: AWSCDK::ObservabilityAdmin::CfnS3TableIntegration::LogSourceProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
observability_admin/cfn_s3_table_integration.rb

Overview

A data source with an S3 Table integration for query access in the logs namespace.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, type:, identifier: nil) ⇒ LogSourceProperty

Returns a new instance of LogSourceProperty.

Parameters:

  • name (String)

    The name of the data source.

  • type (String)

    The type of the data source.

  • identifier (String, nil) (defaults to: nil)

    The unique identifier for the association between the data source and S3 Table integration.



604
605
606
607
608
609
610
611
# File 'observability_admin/cfn_s3_table_integration.rb', line 604

def initialize(name:, type:, identifier: nil)
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name")
  @type = type
  Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type")
  @identifier = identifier
  Jsii::Type.check_type(@identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "identifier") unless @identifier.nil?
end

Instance Attribute Details

#identifierString? (readonly)

The unique identifier for the association between the data source and S3 Table integration.



627
628
629
# File 'observability_admin/cfn_s3_table_integration.rb', line 627

def identifier
  @identifier
end

#nameString (readonly)

The name of the data source.



617
618
619
# File 'observability_admin/cfn_s3_table_integration.rb', line 617

def name
  @name
end

#typeString (readonly)

The type of the data source.



622
623
624
# File 'observability_admin/cfn_s3_table_integration.rb', line 622

def type
  @type
end

Class Method Details

.jsii_propertiesObject



629
630
631
632
633
634
635
# File 'observability_admin/cfn_s3_table_integration.rb', line 629

def self.jsii_properties
  {
    :name => "name",
    :type => "type",
    :identifier => "identifier",
  }
end

Instance Method Details

#to_jsiiObject



637
638
639
640
641
642
643
644
645
# File 'observability_admin/cfn_s3_table_integration.rb', line 637

def to_jsii
  result = {}
  result.merge!({
    "name" => @name,
    "type" => @type,
    "identifier" => @identifier,
  })
  result.compact
end