Class: AWSCDK::StepFunctions::CfnStateMachine::CloudWatchLogsLogGroupProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::StepFunctions::CfnStateMachine::CloudWatchLogsLogGroupProperty
- Defined in:
- step_functions/cfn_state_machine.rb
Overview
Defines a CloudWatch log group.
For more information see Standard Versus Express Workflows in the AWS Step Functions Developer Guide.
Instance Attribute Summary collapse
-
#log_group_arn ⇒ String?
readonly
The ARN of the the CloudWatch log group to which you want your logs emitted to.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(log_group_arn: nil) ⇒ CloudWatchLogsLogGroupProperty
constructor
A new instance of CloudWatchLogsLogGroupProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(log_group_arn: nil) ⇒ CloudWatchLogsLogGroupProperty
Returns a new instance of CloudWatchLogsLogGroupProperty.
683 684 685 686 |
# File 'step_functions/cfn_state_machine.rb', line 683 def initialize(log_group_arn: nil) @log_group_arn = log_group_arn Jsii::Type.check_type(@log_group_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "logGroupArn") unless @log_group_arn.nil? end |
Instance Attribute Details
#log_group_arn ⇒ String? (readonly)
The ARN of the the CloudWatch log group to which you want your logs emitted to.
The ARN must end with :*
694 695 696 |
# File 'step_functions/cfn_state_machine.rb', line 694 def log_group_arn @log_group_arn end |
Class Method Details
.jsii_properties ⇒ Object
696 697 698 699 700 |
# File 'step_functions/cfn_state_machine.rb', line 696 def self.jsii_properties { :log_group_arn => "logGroupArn", } end |
Instance Method Details
#to_jsii ⇒ Object
702 703 704 705 706 707 708 |
# File 'step_functions/cfn_state_machine.rb', line 702 def to_jsii result = {} result.merge!({ "logGroupArn" => @log_group_arn, }) result.compact end |