Class: AWSCDK::StepFunctions::CfnStateMachine::CloudWatchLogsLogGroupProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(log_group_arn: nil) ⇒ CloudWatchLogsLogGroupProperty

Returns a new instance of CloudWatchLogsLogGroupProperty.

Parameters:

  • log_group_arn (String, nil) (defaults to: nil)

    The ARN of the the CloudWatch log group to which you want your logs emitted to.



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_arnString? (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_propertiesObject



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_jsiiObject



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