Class: AWSCDK::ObservabilityAdmin::CfnTelemetryEnrichmentProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ObservabilityAdmin::CfnTelemetryEnrichmentProps
- Defined in:
- observability_admin/cfn_telemetry_enrichment_props.rb
Overview
Properties for defining a CfnTelemetryEnrichment.
Instance Attribute Summary collapse
-
#scope ⇒ String
readonly
Scope of the Telemetry Enrichment.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(scope:) ⇒ CfnTelemetryEnrichmentProps
constructor
A new instance of CfnTelemetryEnrichmentProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(scope:) ⇒ CfnTelemetryEnrichmentProps
Returns a new instance of CfnTelemetryEnrichmentProps.
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
#scope ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |