Interface CfnLogStreamProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnLogStreamProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:38.079Z") @Stability(Stable) public interface CfnLogStreamProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnLogStream.

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.logs.*;
 CfnLogStreamProps cfnLogStreamProps = CfnLogStreamProps.builder()
         .logGroupName("logGroupName")
         // the properties below are optional
         .logStreamName("logStreamName")
         .build();
 
  • Method Details

    • getLogGroupName

      @Stability(Stable) @NotNull String getLogGroupName()
      The name of the log group where the log stream is created.
    • getLogStreamName

      @Stability(Stable) @Nullable default String getLogStreamName()
      The name of the log stream.

      The name must be unique within the log group.

    • builder

      @Stability(Stable) static CfnLogStreamProps.Builder builder()
      Returns:
      a CfnLogStreamProps.Builder of CfnLogStreamProps