Skip to content

Latest commit

 

History

History
135 lines (78 loc) · 4.5 KB

API.md

File metadata and controls

135 lines (78 loc) · 4.5 KB

API Reference

Constructs

CloudwatchRetentionSetter

Initializers

import { CloudwatchRetentionSetter } from 'cloudwatch-retention-setter'

new CloudwatchRetentionSetter(scope: Construct, id: string, props: CloudwatchRetentionSetterProps)
Name Type Description
scope constructs.Construct No description.
id string No description.
props CloudwatchRetentionSetterProps No description.

scopeRequired
  • Type: constructs.Construct

idRequired
  • Type: string

propsRequired

Methods

Name Description
toString Returns a string representation of this construct.

toString
public toString(): string

Returns a string representation of this construct.

Static Functions

Name Description
isConstruct Checks if x is a construct.

isConstruct
import { CloudwatchRetentionSetter } from 'cloudwatch-retention-setter'

CloudwatchRetentionSetter.isConstruct(x: any)

Checks if x is a construct.

xRequired
  • Type: any

Any object.


Properties

Name Type Description
node constructs.Node The tree node.

nodeRequired
public readonly node: Node;
  • Type: constructs.Node

The tree node.


Structs

CloudwatchRetentionSetterProps

Initializer

import { CloudwatchRetentionSetterProps } from 'cloudwatch-retention-setter'

const cloudwatchRetentionSetterProps: CloudwatchRetentionSetterProps = { ... }

Properties

Name Type Description
retentionDays aws-cdk-lib.aws_logs.RetentionDays No description.

retentionDaysOptional
public readonly retentionDays: RetentionDays;
  • Type: aws-cdk-lib.aws_logs.RetentionDays