import * as cdk from '@aws-cdk/core'; /** * Properties for defining a `AWS::Logs::Destination` * * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html */ export interface CfnDestinationProps { /** * `AWS::Logs::Destination.DestinationName` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html#cfn-logs-destination-destinationname */ readonly destinationName: string; /** * `AWS::Logs::Destination.DestinationPolicy` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html#cfn-logs-destination-destinationpolicy */ readonly destinationPolicy: string; /** * `AWS::Logs::Destination.RoleArn` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html#cfn-logs-destination-rolearn */ readonly roleArn: string; /** * `AWS::Logs::Destination.TargetArn` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html#cfn-logs-destination-targetarn */ readonly targetArn: string; } /** * A CloudFormation `AWS::Logs::Destination` * * @cloudformationResource AWS::Logs::Destination * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html */ export declare class CfnDestination extends cdk.CfnResource implements cdk.IInspectable { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME = "AWS::Logs::Destination"; /** * @cloudformationAttribute Arn */ readonly attrArn: string; /** * `AWS::Logs::Destination.DestinationName` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html#cfn-logs-destination-destinationname */ destinationName: string; /** * `AWS::Logs::Destination.DestinationPolicy` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html#cfn-logs-destination-destinationpolicy */ destinationPolicy: string; /** * `AWS::Logs::Destination.RoleArn` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html#cfn-logs-destination-rolearn */ roleArn: string; /** * `AWS::Logs::Destination.TargetArn` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html#cfn-logs-destination-targetarn */ targetArn: string; /** * Create a new `AWS::Logs::Destination`. * * @param scope - scope in which this resource is defined * @param id - scoped id of the resource * @param props - resource properties */ constructor(scope: cdk.Construct, id: string, props: CfnDestinationProps); /** * Examines the CloudFormation resource and discloses attributes. * * @param inspector - tree inspector to collect and process attributes * * @stability experimental */ inspect(inspector: cdk.TreeInspector): void; protected get cfnProperties(): { [key: string]: any; }; protected renderProperties(props: { [key: string]: any; }): { [key: string]: any; }; } /** * Properties for defining a `AWS::Logs::LogGroup` * * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-loggroup.html */ export interface CfnLogGroupProps { /** * `AWS::Logs::LogGroup.LogGroupName` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-loggroup.html#cfn-cwl-loggroup-loggroupname */ readonly logGroupName?: string; /** * `AWS::Logs::LogGroup.RetentionInDays` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-loggroup.html#cfn-cwl-loggroup-retentionindays */ readonly retentionInDays?: number; } /** * A CloudFormation `AWS::Logs::LogGroup` * * @cloudformationResource AWS::Logs::LogGroup * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-loggroup.html */ export declare class CfnLogGroup extends cdk.CfnResource implements cdk.IInspectable { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME = "AWS::Logs::LogGroup"; /** * @cloudformationAttribute Arn */ readonly attrArn: string; /** * `AWS::Logs::LogGroup.LogGroupName` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-loggroup.html#cfn-cwl-loggroup-loggroupname */ logGroupName: string | undefined; /** * `AWS::Logs::LogGroup.RetentionInDays` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-loggroup.html#cfn-cwl-loggroup-retentionindays */ retentionInDays: number | undefined; /** * Create a new `AWS::Logs::LogGroup`. * * @param scope - scope in which this resource is defined * @param id - scoped id of the resource * @param props - resource properties */ constructor(scope: cdk.Construct, id: string, props?: CfnLogGroupProps); /** * Examines the CloudFormation resource and discloses attributes. * * @param inspector - tree inspector to collect and process attributes * * @stability experimental */ inspect(inspector: cdk.TreeInspector): void; protected get cfnProperties(): { [key: string]: any; }; protected renderProperties(props: { [key: string]: any; }): { [key: string]: any; }; } /** * Properties for defining a `AWS::Logs::LogStream` * * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html */ export interface CfnLogStreamProps { /** * `AWS::Logs::LogStream.LogGroupName` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html#cfn-logs-logstream-loggroupname */ readonly logGroupName: string; /** * `AWS::Logs::LogStream.LogStreamName` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html#cfn-logs-logstream-logstreamname */ readonly logStreamName?: string; } /** * A CloudFormation `AWS::Logs::LogStream` * * @cloudformationResource AWS::Logs::LogStream * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html */ export declare class CfnLogStream extends cdk.CfnResource implements cdk.IInspectable { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME = "AWS::Logs::LogStream"; /** * `AWS::Logs::LogStream.LogGroupName` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html#cfn-logs-logstream-loggroupname */ logGroupName: string; /** * `AWS::Logs::LogStream.LogStreamName` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html#cfn-logs-logstream-logstreamname */ logStreamName: string | undefined; /** * Create a new `AWS::Logs::LogStream`. * * @param scope - scope in which this resource is defined * @param id - scoped id of the resource * @param props - resource properties */ constructor(scope: cdk.Construct, id: string, props: CfnLogStreamProps); /** * Examines the CloudFormation resource and discloses attributes. * * @param inspector - tree inspector to collect and process attributes * * @stability experimental */ inspect(inspector: cdk.TreeInspector): void; protected get cfnProperties(): { [key: string]: any; }; protected renderProperties(props: { [key: string]: any; }): { [key: string]: any; }; } /** * Properties for defining a `AWS::Logs::MetricFilter` * * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-metricfilter.html */ export interface CfnMetricFilterProps { /** * `AWS::Logs::MetricFilter.FilterPattern` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-metricfilter.html#cfn-cwl-metricfilter-filterpattern */ readonly filterPattern: string; /** * `AWS::Logs::MetricFilter.LogGroupName` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-metricfilter.html#cfn-cwl-metricfilter-loggroupname */ readonly logGroupName: string; /** * `AWS::Logs::MetricFilter.MetricTransformations` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-metricfilter.html#cfn-cwl-metricfilter-metrictransformations */ readonly metricTransformations: Array | cdk.IResolvable; } /** * A CloudFormation `AWS::Logs::MetricFilter` * * @cloudformationResource AWS::Logs::MetricFilter * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-metricfilter.html */ export declare class CfnMetricFilter extends cdk.CfnResource implements cdk.IInspectable { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME = "AWS::Logs::MetricFilter"; /** * `AWS::Logs::MetricFilter.FilterPattern` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-metricfilter.html#cfn-cwl-metricfilter-filterpattern */ filterPattern: string; /** * `AWS::Logs::MetricFilter.LogGroupName` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-metricfilter.html#cfn-cwl-metricfilter-loggroupname */ logGroupName: string; /** * `AWS::Logs::MetricFilter.MetricTransformations` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-metricfilter.html#cfn-cwl-metricfilter-metrictransformations */ metricTransformations: Array | cdk.IResolvable; /** * Create a new `AWS::Logs::MetricFilter`. * * @param scope - scope in which this resource is defined * @param id - scoped id of the resource * @param props - resource properties */ constructor(scope: cdk.Construct, id: string, props: CfnMetricFilterProps); /** * Examines the CloudFormation resource and discloses attributes. * * @param inspector - tree inspector to collect and process attributes * * @stability experimental */ inspect(inspector: cdk.TreeInspector): void; protected get cfnProperties(): { [key: string]: any; }; protected renderProperties(props: { [key: string]: any; }): { [key: string]: any; }; } export declare namespace CfnMetricFilter { /** * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-metricfilter-metrictransformation.html */ interface MetricTransformationProperty { /** * `CfnMetricFilter.MetricTransformationProperty.DefaultValue` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-metricfilter-metrictransformation.html#cfn-cwl-metricfilter-metrictransformation-defaultvalue */ readonly defaultValue?: number; /** * `CfnMetricFilter.MetricTransformationProperty.MetricName` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-metricfilter-metrictransformation.html#cfn-cwl-metricfilter-metrictransformation-metricname */ readonly metricName: string; /** * `CfnMetricFilter.MetricTransformationProperty.MetricNamespace` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-metricfilter-metrictransformation.html#cfn-cwl-metricfilter-metrictransformation-metricnamespace */ readonly metricNamespace: string; /** * `CfnMetricFilter.MetricTransformationProperty.MetricValue` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-metricfilter-metrictransformation.html#cfn-cwl-metricfilter-metrictransformation-metricvalue */ readonly metricValue: string; } } /** * Properties for defining a `AWS::Logs::SubscriptionFilter` * * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html */ export interface CfnSubscriptionFilterProps { /** * `AWS::Logs::SubscriptionFilter.DestinationArn` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html#cfn-cwl-subscriptionfilter-destinationarn */ readonly destinationArn: string; /** * `AWS::Logs::SubscriptionFilter.FilterPattern` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html#cfn-cwl-subscriptionfilter-filterpattern */ readonly filterPattern: string; /** * `AWS::Logs::SubscriptionFilter.LogGroupName` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html#cfn-cwl-subscriptionfilter-loggroupname */ readonly logGroupName: string; /** * `AWS::Logs::SubscriptionFilter.RoleArn` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html#cfn-cwl-subscriptionfilter-rolearn */ readonly roleArn?: string; } /** * A CloudFormation `AWS::Logs::SubscriptionFilter` * * @cloudformationResource AWS::Logs::SubscriptionFilter * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html */ export declare class CfnSubscriptionFilter extends cdk.CfnResource implements cdk.IInspectable { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME = "AWS::Logs::SubscriptionFilter"; /** * `AWS::Logs::SubscriptionFilter.DestinationArn` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html#cfn-cwl-subscriptionfilter-destinationarn */ destinationArn: string; /** * `AWS::Logs::SubscriptionFilter.FilterPattern` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html#cfn-cwl-subscriptionfilter-filterpattern */ filterPattern: string; /** * `AWS::Logs::SubscriptionFilter.LogGroupName` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html#cfn-cwl-subscriptionfilter-loggroupname */ logGroupName: string; /** * `AWS::Logs::SubscriptionFilter.RoleArn` * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html#cfn-cwl-subscriptionfilter-rolearn */ roleArn: string | undefined; /** * Create a new `AWS::Logs::SubscriptionFilter`. * * @param scope - scope in which this resource is defined * @param id - scoped id of the resource * @param props - resource properties */ constructor(scope: cdk.Construct, id: string, props: CfnSubscriptionFilterProps); /** * Examines the CloudFormation resource and discloses attributes. * * @param inspector - tree inspector to collect and process attributes * * @stability experimental */ inspect(inspector: cdk.TreeInspector): void; protected get cfnProperties(): { [key: string]: any; }; protected renderProperties(props: { [key: string]: any; }): { [key: string]: any; }; }