C# Class Amazon.CloudWatchLogs.Model.CreateLogGroupRequest

Container for the parameters to the CreateLogGroup operation. Creates a log group with the specified name.

You can create up to 5000 log groups per account.

You must use the following guidelines when naming a log group:

  • Log group names must be unique within a region for an AWS account.

  • Log group names can be between 1 and 512 characters long.

  • Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), and '.' (period).

Inheritance: AmazonCloudWatchLogsRequest
Show file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
CreateLogGroupRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

CreateLogGroupRequest ( string logGroupName ) : System

Instantiates CreateLogGroupRequest with the parameterized properties

Private Methods

Method Description
IsSetLogGroupName ( ) : bool
IsSetTags ( ) : bool

Method Details

CreateLogGroupRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public CreateLogGroupRequest ( ) : System
return System

CreateLogGroupRequest() public method

Instantiates CreateLogGroupRequest with the parameterized properties
public CreateLogGroupRequest ( string logGroupName ) : System
logGroupName string The name of the log group.
return System