Class: AWSCDK::ObservabilityAdmin::CfnTelemetryPipelinesProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ObservabilityAdmin::CfnTelemetryPipelinesProps
- Defined in:
- observability_admin/cfn_telemetry_pipelines_props.rb
Overview
Properties for defining a CfnTelemetryPipelines.
Instance Attribute Summary collapse
-
#configuration ⇒ AWSCDK::IResolvable, AWSCDK::ObservabilityAdmin::CfnTelemetryPipelines::TelemetryPipelineConfigurationProperty
readonly
The configuration that defines how the telemetry pipeline processes data, including sources, processors, and destinations.
-
#name ⇒ String?
readonly
The name of the telemetry pipeline to create.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
The key-value pairs to associate with the telemetry pipeline resource for categorization and management purposes.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(configuration:, name: nil, tags: nil) ⇒ CfnTelemetryPipelinesProps
constructor
A new instance of CfnTelemetryPipelinesProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(configuration:, name: nil, tags: nil) ⇒ CfnTelemetryPipelinesProps
Returns a new instance of CfnTelemetryPipelinesProps.
12 13 14 15 16 17 18 19 |
# File 'observability_admin/cfn_telemetry_pipelines_props.rb', line 12 def initialize(configuration:, name: nil, tags: nil) @configuration = configuration.is_a?(Hash) ? ::AWSCDK::ObservabilityAdmin::CfnTelemetryPipelines::TelemetryPipelineConfigurationProperty.new(**configuration.transform_keys(&:to_sym)) : configuration Jsii::Type.check_type(@configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19vYnNlcnZhYmlsaXR5YWRtaW4uQ2ZuVGVsZW1ldHJ5UGlwZWxpbmVzLlRlbGVtZXRyeVBpcGVsaW5lQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "configuration") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#configuration ⇒ AWSCDK::IResolvable, AWSCDK::ObservabilityAdmin::CfnTelemetryPipelines::TelemetryPipelineConfigurationProperty (readonly)
The configuration that defines how the telemetry pipeline processes data, including sources, processors, and destinations.
For more information, see the Amazon CloudWatch User Guide .
27 28 29 |
# File 'observability_admin/cfn_telemetry_pipelines_props.rb', line 27 def configuration @configuration end |
#name ⇒ String? (readonly)
The name of the telemetry pipeline to create.
The name must be unique within your account.
34 35 36 |
# File 'observability_admin/cfn_telemetry_pipelines_props.rb', line 34 def name @name end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
The key-value pairs to associate with the telemetry pipeline resource for categorization and management purposes.
39 40 41 |
# File 'observability_admin/cfn_telemetry_pipelines_props.rb', line 39 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
41 42 43 44 45 46 47 |
# File 'observability_admin/cfn_telemetry_pipelines_props.rb', line 41 def self.jsii_properties { :configuration => "configuration", :name => "name", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
49 50 51 52 53 54 55 56 57 |
# File 'observability_admin/cfn_telemetry_pipelines_props.rb', line 49 def to_jsii result = {} result.merge!({ "configuration" => @configuration, "name" => @name, "tags" => @tags, }) result.compact end |