Package-level declarations

Types

Link copied to clipboard
class AccountPolicy : KotlinCustomResource

The AWS::Logs::AccountPolicy resource specifies a CloudWatch Logs AccountPolicy.

Link copied to clipboard
data class AccountPolicyArgs(val policyDocument: Output<String>? = null, val policyName: Output<String>? = null, val policyType: Output<AccountPolicyPolicyType>? = null, val scope: Output<AccountPolicyScope>? = null, val selectionCriteria: Output<String>? = null) : ConvertibleToJava<AccountPolicyArgs>

The AWS::Logs::AccountPolicy resource specifies a CloudWatch Logs AccountPolicy.

Link copied to clipboard
Link copied to clipboard
object AccountPolicyMapper : ResourceMapper<AccountPolicy>
Link copied to clipboard
Link copied to clipboard
class Delivery : KotlinCustomResource

This structure contains information about one delivery in your account. A delivery is a connection between a logical delivery source and a logical delivery destination. For more information, see CreateDelivery.

Link copied to clipboard
data class DeliveryArgs(val deliveryDestinationArn: Output<String>? = null, val deliverySourceName: Output<String>? = null, val fieldDelimiter: Output<String>? = null, val recordFields: Output<List<String>>? = null, val s3EnableHiveCompatiblePath: Output<Boolean>? = null, val s3SuffixPath: Output<String>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<DeliveryArgs>

This structure contains information about one delivery in your account. A delivery is a connection between a logical delivery source and a logical delivery destination. For more information, see CreateDelivery.

Link copied to clipboard
Link copied to clipboard
class DeliveryDestination : KotlinCustomResource

This structure contains information about one delivery destination in your account. A delivery destination is an AWS resource that represents an AWS service that logs can be sent to CloudWatch Logs, Amazon S3, are supported as Kinesis Data Firehose delivery destinations.

Link copied to clipboard
data class DeliveryDestinationArgs(val deliveryDestinationPolicy: Output<DeliveryDestinationDestinationPolicyArgs>? = null, val destinationResourceArn: Output<String>? = null, val name: Output<String>? = null, val outputFormat: Output<String>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<DeliveryDestinationArgs>

This structure contains information about one delivery destination in your account. A delivery destination is an AWS resource that represents an AWS service that logs can be sent to CloudWatch Logs, Amazon S3, are supported as Kinesis Data Firehose delivery destinations.

Link copied to clipboard
Link copied to clipboard
object DeliveryMapper : ResourceMapper<Delivery>
Link copied to clipboard
Link copied to clipboard
class DeliverySource : KotlinCustomResource

A delivery source is an AWS resource that sends logs to an AWS destination. The destination can be CloudWatch Logs, Amazon S3, or Kinesis Data Firehose. Only some AWS services support being configured as a delivery source. These services are listed as Supported V2 Permissions in the table at Enabling logging from AWS services.

Link copied to clipboard
data class DeliverySourceArgs(val logType: Output<String>? = null, val name: Output<String>? = null, val resourceArn: Output<String>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<DeliverySourceArgs>

A delivery source is an AWS resource that sends logs to an AWS destination. The destination can be CloudWatch Logs, Amazon S3, or Kinesis Data Firehose. Only some AWS services support being configured as a delivery source. These services are listed as Supported V2 Permissions in the table at Enabling logging from AWS services.

Link copied to clipboard
Link copied to clipboard
object DeliverySourceMapper : ResourceMapper<DeliverySource>
Link copied to clipboard
class Destination : KotlinCustomResource

The AWS::Logs::Destination resource specifies a CloudWatch Logs destination. A destination encapsulates a physical resource (such as an Amazon Kinesis data stream) and enables you to subscribe that resource to a stream of log events.

Link copied to clipboard
data class DestinationArgs(val destinationName: Output<String>? = null, val destinationPolicy: Output<String>? = null, val roleArn: Output<String>? = null, val targetArn: Output<String>? = null) : ConvertibleToJava<DestinationArgs>

The AWS::Logs::Destination resource specifies a CloudWatch Logs destination. A destination encapsulates a physical resource (such as an Amazon Kinesis data stream) and enables you to subscribe that resource to a stream of log events.

Link copied to clipboard
Link copied to clipboard
object DestinationMapper : ResourceMapper<Destination>
Link copied to clipboard
Link copied to clipboard
class Integration : KotlinCustomResource

Resource Schema for Logs Integration Resource

Link copied to clipboard
data class IntegrationArgs(val integrationName: Output<String>? = null, val integrationType: Output<IntegrationType>? = null, val resourceConfig: Output<ResourceConfigPropertiesArgs>? = null) : ConvertibleToJava<IntegrationArgs>

Resource Schema for Logs Integration Resource

Link copied to clipboard
Link copied to clipboard
object IntegrationMapper : ResourceMapper<Integration>
Link copied to clipboard
Link copied to clipboard
class LogAnomalyDetector : KotlinCustomResource

The AWS::Logs::LogAnomalyDetector resource specifies a CloudWatch Logs LogAnomalyDetector.

Link copied to clipboard
data class LogAnomalyDetectorArgs(val accountId: Output<String>? = null, val anomalyVisibilityTime: Output<Double>? = null, val detectorName: Output<String>? = null, val evaluationFrequency: Output<LogAnomalyDetectorEvaluationFrequency>? = null, val filterPattern: Output<String>? = null, val kmsKeyId: Output<String>? = null, val logGroupArnList: Output<List<String>>? = null) : ConvertibleToJava<LogAnomalyDetectorArgs>

The AWS::Logs::LogAnomalyDetector resource specifies a CloudWatch Logs LogAnomalyDetector.

Link copied to clipboard
Link copied to clipboard
class LogGroup : KotlinCustomResource

The `AWS::Logs::LogGroup` resource specifies a log group. A log group defines common properties for log streams, such as their retention and access control rules. Each log stream must belong to one log group. You can create up to 1,000,000 log groups per Region per account. You must use the following guidelines when naming a log group:

Link copied to clipboard
data class LogGroupArgs(val dataProtectionPolicy: Output<Any>? = null, val fieldIndexPolicies: Output<List<Any>>? = null, val kmsKeyId: Output<String>? = null, val logGroupClass: Output<LogGroupClass>? = null, val logGroupName: Output<String>? = null, val retentionInDays: Output<Int>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<LogGroupArgs>

The `AWS::Logs::LogGroup` resource specifies a log group. A log group defines common properties for log streams, such as their retention and access control rules. Each log stream must belong to one log group. You can create up to 1,000,000 log groups per Region per account. You must use the following guidelines when naming a log group:

Link copied to clipboard
Link copied to clipboard
object LogGroupMapper : ResourceMapper<LogGroup>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class LogStream : KotlinCustomResource

Resource Type definition for AWS::Logs::LogStream

Link copied to clipboard
data class LogStreamArgs(val logGroupName: Output<String>? = null, val logStreamName: Output<String>? = null) : ConvertibleToJava<LogStreamArgs>

Resource Type definition for AWS::Logs::LogStream

Link copied to clipboard
Link copied to clipboard
object LogStreamMapper : ResourceMapper<LogStream>
Link copied to clipboard
Link copied to clipboard
class MetricFilter : KotlinCustomResource

The `AWS::Logs::MetricFilter` resource specifies a metric filter that describes how CWL extracts information from logs and transforms it into Amazon CloudWatch metrics. If you have multiple metric filters that are associated with a log group, all the filters are applied to the log streams in that group. The maximum number of metric filters that can be associated with a log group is 100.

Link copied to clipboard
data class MetricFilterArgs(val applyOnTransformedLogs: Output<Boolean>? = null, val filterName: Output<String>? = null, val filterPattern: Output<String>? = null, val logGroupName: Output<String>? = null, val metricTransformations: Output<List<MetricFilterMetricTransformationArgs>>? = null) : ConvertibleToJava<MetricFilterArgs>

The `AWS::Logs::MetricFilter` resource specifies a metric filter that describes how CWL extracts information from logs and transforms it into Amazon CloudWatch metrics. If you have multiple metric filters that are associated with a log group, all the filters are applied to the log streams in that group. The maximum number of metric filters that can be associated with a log group is 100.

Link copied to clipboard
Link copied to clipboard
object MetricFilterMapper : ResourceMapper<MetricFilter>
Link copied to clipboard
Link copied to clipboard
class QueryDefinition : KotlinCustomResource

The resource schema for AWSLogs QueryDefinition

Link copied to clipboard
data class QueryDefinitionArgs(val logGroupNames: Output<List<String>>? = null, val name: Output<String>? = null, val queryLanguage: Output<QueryDefinitionQueryLanguage>? = null, val queryString: Output<String>? = null) : ConvertibleToJava<QueryDefinitionArgs>

The resource schema for AWSLogs QueryDefinition

Link copied to clipboard
object QueryDefinitionMapper : ResourceMapper<QueryDefinition>
Link copied to clipboard
class ResourcePolicy : KotlinCustomResource

The resource schema for AWSLogs ResourcePolicy

Link copied to clipboard
data class ResourcePolicyArgs(val policyDocument: Output<String>? = null, val policyName: Output<String>? = null) : ConvertibleToJava<ResourcePolicyArgs>

The resource schema for AWSLogs ResourcePolicy

Link copied to clipboard
Link copied to clipboard
object ResourcePolicyMapper : ResourceMapper<ResourcePolicy>
Link copied to clipboard
class SubscriptionFilter : KotlinCustomResource

The `AWS::Logs::SubscriptionFilter` resource specifies a subscription filter and associates it with the specified log group. Subscription filters allow you to subscribe to a real-time stream of log events and have them delivered to a specific destination. Currently, the supported destinations are:

Link copied to clipboard
data class SubscriptionFilterArgs(val applyOnTransformedLogs: Output<Boolean>? = null, val destinationArn: Output<String>? = null, val distribution: Output<SubscriptionFilterDistribution>? = null, val filterName: Output<String>? = null, val filterPattern: Output<String>? = null, val logGroupName: Output<String>? = null, val roleArn: Output<String>? = null) : ConvertibleToJava<SubscriptionFilterArgs>

The `AWS::Logs::SubscriptionFilter` resource specifies a subscription filter and associates it with the specified log group. Subscription filters allow you to subscribe to a real-time stream of log events and have them delivered to a specific destination. Currently, the supported destinations are:

Link copied to clipboard
Link copied to clipboard
class Transformer : KotlinCustomResource

Specifies a transformer on the log group to transform logs into consistent structured and information rich format.

Link copied to clipboard
data class TransformerArgs(val logGroupIdentifier: Output<String>? = null, val transformerConfig: Output<List<TransformerProcessorArgs>>? = null) : ConvertibleToJava<TransformerArgs>

Specifies a transformer on the log group to transform logs into consistent structured and information rich format.

Link copied to clipboard
Link copied to clipboard
object TransformerMapper : ResourceMapper<Transformer>
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
suspend fun delivery(name: String, block: suspend DeliveryResourceBuilder.() -> Unit): Delivery
Link copied to clipboard
Link copied to clipboard
suspend fun destination(name: String, block: suspend DestinationResourceBuilder.() -> Unit): Destination
Link copied to clipboard
suspend fun integration(name: String, block: suspend IntegrationResourceBuilder.() -> Unit): Integration
Link copied to clipboard
suspend fun logGroup(name: String, block: suspend LogGroupResourceBuilder.() -> Unit): LogGroup
Link copied to clipboard
suspend fun logStream(name: String, block: suspend LogStreamResourceBuilder.() -> Unit): LogStream
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun transformer(name: String, block: suspend TransformerResourceBuilder.() -> Unit): Transformer