Interface CloudWatchOutputConfig.Builder

  • Method Details

    • cloudWatchLogGroupName

      CloudWatchOutputConfig.Builder cloudWatchLogGroupName(String cloudWatchLogGroupName)

      The name of the CloudWatch Logs log group where you want to send command output. If you don't specify a group name, Amazon Web Services Systems Manager automatically creates a log group for you. The log group uses the following naming format:

      aws/ssm/SystemsManagerDocumentName

      Parameters:
      cloudWatchLogGroupName - The name of the CloudWatch Logs log group where you want to send command output. If you don't specify a group name, Amazon Web Services Systems Manager automatically creates a log group for you. The log group uses the following naming format:

      aws/ssm/SystemsManagerDocumentName

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloudWatchOutputEnabled

      CloudWatchOutputConfig.Builder cloudWatchOutputEnabled(Boolean cloudWatchOutputEnabled)

      Enables Systems Manager to send command output to CloudWatch Logs.

      Parameters:
      cloudWatchOutputEnabled - Enables Systems Manager to send command output to CloudWatch Logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.