LogsFunctions

Functions

Link copied to clipboard

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

suspend fun getAccountPolicy(accountId: String, policyName: String, policyType: AccountPolicyPolicyType): GetAccountPolicyResult
Link copied to clipboard

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.

suspend fun getDestination(destinationName: String): GetDestinationResult
Link copied to clipboard

Resource schema for AWS::Logs::LogGroup

suspend fun getLogGroup(logGroupName: String): GetLogGroupResult
suspend fun getLogGroup(argument: suspend GetLogGroupPlainArgsBuilder.() -> Unit): GetLogGroupResult
Link copied to clipboard

Specifies a metric filter that describes how CloudWatch Logs extracts information from logs and transforms it into Amazon CloudWatch metrics.

suspend fun getMetricFilter(filterName: String, logGroupName: String): GetMetricFilterResult
Link copied to clipboard

The resource schema for AWSLogs QueryDefinition

suspend fun getQueryDefinition(queryDefinitionId: String): GetQueryDefinitionResult
Link copied to clipboard

The resource schema for AWSLogs ResourcePolicy

Link copied to clipboard

Subscription filters allow you to subscribe to a real-time stream of log events and have them delivered to a specific destination.

suspend fun getSubscriptionFilter(filterName: String, logGroupName: String): GetSubscriptionFilterResult