Class CfnApplicationCloudWatchLoggingOption

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.kinesisanalyticsv2.CfnApplicationCloudWatchLoggingOption
All Implemented Interfaces:
IEnvironmentAware, IInspectable, IApplicationCloudWatchLoggingOptionRef, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)", date="2025-11-10T13:40:08.414Z") @Stability(Stable) public class CfnApplicationCloudWatchLoggingOption extends CfnResource implements IInspectable, IApplicationCloudWatchLoggingOptionRef
Adds an Amazon CloudWatch log stream to monitor application configuration errors.

Only one ApplicationCloudWatchLoggingOption resource can be attached per application.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.kinesisanalyticsv2.*;
 CfnApplicationCloudWatchLoggingOption cfnApplicationCloudWatchLoggingOption = CfnApplicationCloudWatchLoggingOption.Builder.create(this, "MyCfnApplicationCloudWatchLoggingOption")
         .applicationName("applicationName")
         .cloudWatchLoggingOption(CloudWatchLoggingOptionProperty.builder()
                 .logStreamArn("logStreamArn")
                 .build())
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnApplicationCloudWatchLoggingOption

      protected CfnApplicationCloudWatchLoggingOption(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnApplicationCloudWatchLoggingOption

      protected CfnApplicationCloudWatchLoggingOption(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnApplicationCloudWatchLoggingOption

      @Stability(Stable) public CfnApplicationCloudWatchLoggingOption(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnApplicationCloudWatchLoggingOptionProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details