Class: AWSCDK::Pipes::CfnPipe::PipeTargetEventBridgeEventBusParametersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Pipes::CfnPipe::PipeTargetEventBridgeEventBusParametersProperty
- Defined in:
- pipes/cfn_pipe.rb
Overview
The parameters for using an EventBridge event bus as a target.
Instance Attribute Summary collapse
-
#detail_type ⇒ String?
readonly
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
-
#endpoint_id ⇒ String?
readonly
The URL subdomain of the endpoint.
-
#resources ⇒ Array<String>?
readonly
AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.
-
#source ⇒ String?
readonly
The source of the event.
-
#time ⇒ String?
readonly
The time stamp of the event, per RFC3339 .
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(detail_type: nil, endpoint_id: nil, resources: nil, source: nil, time: nil) ⇒ PipeTargetEventBridgeEventBusParametersProperty
constructor
A new instance of PipeTargetEventBridgeEventBusParametersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(detail_type: nil, endpoint_id: nil, resources: nil, source: nil, time: nil) ⇒ PipeTargetEventBridgeEventBusParametersProperty
Returns a new instance of PipeTargetEventBridgeEventBusParametersProperty.
3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 |
# File 'pipes/cfn_pipe.rb', line 3323 def initialize(detail_type: nil, endpoint_id: nil, resources: nil, source: nil, time: nil) @detail_type = detail_type Jsii::Type.check_type(@detail_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "detailType") unless @detail_type.nil? @endpoint_id = endpoint_id Jsii::Type.check_type(@endpoint_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "endpointId") unless @endpoint_id.nil? @resources = resources Jsii::Type.check_type(@resources, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "resources") unless @resources.nil? @source = source Jsii::Type.check_type(@source, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "source") unless @source.nil? @time = time Jsii::Type.check_type(@time, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "time") unless @time.nil? end |
Instance Attribute Details
#detail_type ⇒ String? (readonly)
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
3340 3341 3342 |
# File 'pipes/cfn_pipe.rb', line 3340 def detail_type @detail_type end |
#endpoint_id ⇒ String? (readonly)
The URL subdomain of the endpoint.
For example, if the URL for Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo .
3347 3348 3349 |
# File 'pipes/cfn_pipe.rb', line 3347 def endpoint_id @endpoint_id end |
#resources ⇒ Array<String>? (readonly)
AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.
Any number, including zero, may be present.
3354 3355 3356 |
# File 'pipes/cfn_pipe.rb', line 3354 def resources @resources end |
#source ⇒ String? (readonly)
The source of the event.
3359 3360 3361 |
# File 'pipes/cfn_pipe.rb', line 3359 def source @source end |
Class Method Details
.jsii_properties ⇒ Object
3366 3367 3368 3369 3370 3371 3372 3373 3374 |
# File 'pipes/cfn_pipe.rb', line 3366 def self.jsii_properties { :detail_type => "detailType", :endpoint_id => "endpointId", :resources => "resources", :source => "source", :time => "time", } end |
Instance Method Details
#to_jsii ⇒ Object
3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 |
# File 'pipes/cfn_pipe.rb', line 3376 def to_jsii result = {} result.merge!({ "detailType" => @detail_type, "endpointId" => @endpoint_id, "resources" => @resources, "source" => @source, "time" => @time, }) result.compact end |