Class: AWSCDK::LookoutMetrics::CfnAnomalyDetector::AppFlowConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::LookoutMetrics::CfnAnomalyDetector::AppFlowConfigProperty
- Defined in:
- lookout_metrics/cfn_anomaly_detector.rb
Overview
Details about an Amazon AppFlow flow datasource.
Instance Attribute Summary collapse
-
#flow_name ⇒ String
readonly
name of the flow.
-
#role_arn ⇒ String
readonly
An IAM role that gives Amazon Lookout for Metrics permission to access the flow.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(flow_name:, role_arn:) ⇒ AppFlowConfigProperty
constructor
A new instance of AppFlowConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(flow_name:, role_arn:) ⇒ AppFlowConfigProperty
Returns a new instance of AppFlowConfigProperty.
600 601 602 603 604 605 |
# File 'lookout_metrics/cfn_anomaly_detector.rb', line 600 def initialize(flow_name:, role_arn:) @flow_name = flow_name Jsii::Type.check_type(@flow_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "flowName") @role_arn = role_arn Jsii::Type.check_type(@role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "roleArn") end |
Instance Attribute Details
#flow_name ⇒ String (readonly)
name of the flow.
611 612 613 |
# File 'lookout_metrics/cfn_anomaly_detector.rb', line 611 def flow_name @flow_name end |
#role_arn ⇒ String (readonly)
An IAM role that gives Amazon Lookout for Metrics permission to access the flow.
616 617 618 |
# File 'lookout_metrics/cfn_anomaly_detector.rb', line 616 def role_arn @role_arn end |
Class Method Details
.jsii_properties ⇒ Object
618 619 620 621 622 623 |
# File 'lookout_metrics/cfn_anomaly_detector.rb', line 618 def self.jsii_properties { :flow_name => "flowName", :role_arn => "roleArn", } end |
Instance Method Details
#to_jsii ⇒ Object
625 626 627 628 629 630 631 632 |
# File 'lookout_metrics/cfn_anomaly_detector.rb', line 625 def to_jsii result = {} result.merge!({ "flowName" => @flow_name, "roleArn" => @role_arn, }) result.compact end |