CfnLogGroupProps

class aws_cdk.aws_logs.CfnLogGroupProps(*, log_group_name=None, retention_in_days=None)

Bases: object

__init__(*, log_group_name=None, retention_in_days=None)

Properties for defining a AWS::Logs::LogGroup.

Parameters
  • log_group_name (Optional[str]) – AWS::Logs::LogGroup.LogGroupName.

  • retention_in_days (Union[int, float, None]) – AWS::Logs::LogGroup.RetentionInDays.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-loggroup.html

Attributes

log_group_name

AWS::Logs::LogGroup.LogGroupName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-loggroup.html#cfn-cwl-loggroup-loggroupname

Return type

Optional[str]

retention_in_days

AWS::Logs::LogGroup.RetentionInDays.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-loggroup.html#cfn-cwl-loggroup-retentionindays

Return type

Union[int, float, None]