Class: AWSCDK::ObservabilityAdmin::CfnTelemetryEnrichmentProps

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

Overview

Properties for defining a CfnTelemetryEnrichment.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(scope:) ⇒ CfnTelemetryEnrichmentProps

Returns a new instance of CfnTelemetryEnrichmentProps.

Parameters:

  • scope (String)

    Scope of the Telemetry Enrichment.



10
11
12
13
# File 'observability_admin/cfn_telemetry_enrichment_props.rb', line 10

def initialize(scope:)
  @scope = scope
  Jsii::Type.check_type(@scope, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scope")
end

Instance Attribute Details

#scopeString (readonly)

Scope of the Telemetry Enrichment.



19
20
21
# File 'observability_admin/cfn_telemetry_enrichment_props.rb', line 19

def scope
  @scope
end

Class Method Details

.jsii_propertiesObject



21
22
23
24
25
# File 'observability_admin/cfn_telemetry_enrichment_props.rb', line 21

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

Instance Method Details

#to_jsiiObject



27
28
29
30
31
32
33
# File 'observability_admin/cfn_telemetry_enrichment_props.rb', line 27

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