logs

130 actions in the logs service. Select an action to see its access level, resource ARNs, condition keys, and a copy-paste IAM policy.

logs:AssociateKmsKey

Write

Grants permission to associate the specified AWS Key Management Service (AWS KMS) customer master key (CMK) with the specified log group

logs:AssociateSourceToS3TableIntegration

Write

Grants permission to associate a log source to an S3 Tables integration

logs:CallWithBearerToken

Write

Grants permission to authenticate requests using bearer token

logs:CancelExportTask

Write

Grants permission to cancel an export task if it is in PENDING or RUNNING state

logs:CancelImportTask

Write

Grants permission to cancel an import from CloudTrail Lake to CloudWatch

logs:CreateDelivery

Write

Grants permission to create a delivery connecting a delivery source to a delivery destination

logs:CreateExportTask

Write

Grants permission to create an ExportTask which allows you to efficiently export data from a Log Group to your Amazon S3 bucket

logs:CreateImportTask

Write

Grants permission to start an asynchronous process to import data from a CloudTrail Lake event data store into a managed log group in CloudWatch

logs:CreateLogAnomalyDetector

Write

Grants permission to create a log anomaly detector

logs:CreateLogDelivery

Write

Grants permission to create the log delivery

logs:CreateLogGroup

Write

Grants permission to create a new log group with the specified name

logs:CreateLogStream

Write

Grants permission to create a new log stream with the specified name

logs:CreateLookupTable

Write

Grants permission to create a lookup table

logs:CreateScheduledQuery

Write

Grants permission to create a scheduled query

logs:DeleteAccountPolicy

Write

Grants permission to delete an account policy

logs:DeleteDataProtectionPolicy

Write

Grants permission to delete a data protection policy attached to a log group

logs:DeleteDelivery

Write

Grants permission to delete a delivery

logs:DeleteDeliveryDestination

Write

Grants permission to delete a delivery destination after all associated deliveries are deleted

logs:DeleteDeliveryDestinationPolicy

Write

Grants permission to delete a delivery destination policy associated with a delivery destination

logs:DeleteDeliverySource

Write

Grants permission to delete a delivery source after all associated deliveries are deleted

logs:DeleteDestination

Write

Grants permission to delete the destination with the specified name

logs:DeleteIndexPolicy

Write

Grants permission to delete an index policy attached to a log group

logs:DeleteIntegration

Write

Grants permission to delete the integration

logs:DeleteLogAnomalyDetector

Write

Grants permission to delete a log anomaly detector

logs:DeleteLogDelivery

Write

Grants permission to delete the log delivery information for specified log delivery

logs:DeleteLogGroup

Write

Grants permission to delete the log group with the specified name

logs:DeleteLogStream

Write

Grants permission to delete a log stream

logs:DeleteLookupTable

Write

Grants permission to delete a lookup table

logs:DeleteMetricFilter

Write

Grants permission to delete a metric filter associated with the specified log group

logs:DeletePipelineRule

Write

Grants permission to delete telemetry pipeline

logs:DeleteQueryDefinition

Write

Grants permission to delete a saved CloudWatch Logs Insights query definition

logs:DeleteResourcePolicy

Permissions management

Grants permission to delete a resource policy from this account

logs:DeleteRetentionPolicy

Write

Grants permission to delete the retention policy of the specified log group

logs:DeleteScheduledQuery

Write

Grants permission to delete a scheduled query

logs:DeleteSubscriptionFilter

Write

Grants permission to delete a subscription filter associated with the specified log group

logs:DeleteSyslogConfiguration

Write

Grants permission to delete syslog configuration for the specified log group

logs:DeleteTransformer

Write

Grants permission to delete a transformer associated with the specified log group

logs:DescribeAccountPolicies

List

Grants permission to retrieve account policies

logs:DescribeConfigurationTemplates

List

Grants permission to retrieve a list of configuration templates of available log types

logs:DescribeDeliveries

List

Grants permission to retrieve a list of deliveries an account

logs:DescribeDeliveryDestinations

List

Grants permission to retrieve a list of delivery destinations an account

logs:DescribeDeliverySources

List

Grants permission to retrieve a list of delivery sources in an account

logs:DescribeDestinations

List

Grants permission to return all the destinations that are associated with the AWS account making the request

logs:DescribeExportTasks

List

Grants permission to return all the export tasks that are associated with the AWS account making the request

logs:DescribeFieldIndexes

List

Grants permission to return all the indexing attributes that are attached with the log groups

logs:DescribeImportTaskBatches

List

Grants permission to return detailed information about the individual batches within an import task, including status and any error

logs:DescribeImportTasks

List

Grants permission to return all the import tasks associated with the AWS account making the request

logs:DescribeIndexPolicies

List

Grants permission to return all the index policies that are attached with the log groups

logs:DescribeLogGroups

List

Grants permission to return all the log groups that are associated with the AWS account making the request

logs:DescribeLogStreams

List

Grants permission to return all the log streams that are associated with the specified log group

logs:DescribeLookupTables

List

Grants permission to return all lookup tables

logs:DescribeMetricFilters

List

Grants permission to return all the metrics filters associated with the specified log group

logs:DescribeQueries

List

Grants permission to return a list of CloudWatch Logs Insights queries that are scheduled, executing, or have been executed recently in this account

logs:DescribeQueryDefinitions

List

Grants permission to return a paginated list of your saved CloudWatch Logs Insights query definitions

logs:DescribeResourcePolicies

List

Grants permission to return all the resource policies in this account

logs:DescribeSubscriptionFilters

List

Grants permission to return all the subscription filters associated with the specified log group

logs:DisassociateKmsKey

Write

Grants permission to disassociate the associated AWS Key Management Service (AWS KMS) customer master key (CMK) from the specified log group

logs:DisassociateSourceFromS3TableIntegration

Write

Grants permission to disassociate a log source from an S3 Tables integration

logs:FilterLogEvents

Read

Grants permission to retrieve log events, optionally filtered by a filter pattern from the specified log group

logs:GetDataProtectionPolicy

Read

Grants permission to retrieve a data protection policy attached to a log group

logs:GetDelivery

Read

Grants permission to retrieve a single delivery

logs:GetDeliveryDestination

Read

Grants permission to retrieve a single delivery destination

logs:GetDeliveryDestinationPolicy

Read

Grants permission to retrieve a delivery destination policy attached to a delivery destination

logs:GetDeliverySource

Read

Grants permission to retrieve a single delivery source

logs:GetIntegration

Read

Grants permission to retrieve a single integration

logs:GetLogAnomalyDetector

Read

Grants permission to get a log anomaly detector

logs:GetLogDelivery

Read

Grants permission to get the log delivery information for specified log delivery

logs:GetLogEvents

Read

Grants permission to retrieve log events from the specified log stream

logs:GetLogFields

Read

Grants permission to retrieve a list of log fields for a data source

logs:GetLogGroupFields

Read

Grants permission to return a list of the fields that are included in log events in the specified log group, along with the percentage of log events that contain each field

logs:GetLogRecord

Read

Grants permission to retrieve all the fields and values of a single log event

logs:GetLookupTable

Read

Grants permission to retrieve a lookup table

logs:GetQueryResults

Read

Grants permission to return the results from the specified query

logs:GetScheduledQuery

Read

Grants permission to retrieve information about a specified scheduled query

logs:GetScheduledQueryHistory

Read

Grants permission to return the execution history for a specified scheduled query

logs:GetTransformer

Read

Grants permission to return transformer associated with the specified log group

logs:IntegrateWithS3Table

Write

Grants permission to deliver log events to S3 Tables

logs:Link

Write

Grants permission to share CloudWatch resources with a monitoring account

logs:ListAggregateLogGroupSummaries

List

Grants permission to return an aggregate summary of all log groups in the region grouped by specified data-source characteristics

logs:ListAnomalies

List

Grants permission to list all anomalies detected in the AWS account making the request

logs:ListEntitiesForLogGroup

List

Grants permission to retrieve all the entities that are associated with log group

logs:ListIntegrations

List

Grants permission to list all integrations associated with the AWS account making the request

logs:ListLogAnomalyDetectors

List

Grants permission to return all the anomaly detectors that are associated with the AWS account making the request

logs:ListLogDeliveries

List

Grants permission to list all the log deliveries for specified account and/or log source

logs:ListLogGroups

List

Grants permission to return all the log groups that are associated with the AWS account making the request

logs:ListLogGroupsForEntity

List

Grants permission to retrieve all the log groups that are associated with entity

logs:ListLogGroupsForQuery

List

Grants permission to return all the log groups that are associated with the specified query

logs:ListScheduledQueries

List

Grants permission to return all scheduled queries that are associated with the AWS account making the request

logs:ListSourcesForS3TableIntegration

List

Grants permission to return all log sources associated with an S3 Tables integration

logs:ListSyslogConfigurations

List

Grants permission to return all syslog configurations associated with the AWS account making the request

logs:ListTagsForResource

List

Grants permission to list the tags for the specified resource

logs:ListTagsLogGroup

List

Grants permission to list the tags for the specified log group

logs:ProcessWithPipeline

Write

Grants permission to process and transform log events through pipeline transformers before storage

logs:PutAccountPolicy

Write

Grants permission to attach an account policy

logs:PutBearerTokenAuthentication

Write

Grants permission to enable or disable bearer token based authentication for the specified log group

logs:PutDataProtectionPolicy

Write

Grants permission to attach a data protection policy to detect and redact sensitive information from log events

logs:PutDeliveryDestination

Write

Grants permission to create/update a delivery destination

logs:PutDeliveryDestinationPolicy

Write

Grants permission to attach a delivery destination policy to a delivery destination

logs:PutDeliverySource

Write

Grants permission to create/update a delivery source

logs:PutDestination

Write

Grants permission to create or update a Destination

logs:PutDestinationPolicy

Write

Grants permission to create or update an access policy associated with an existing Destination

logs:PutIndexPolicy

Write

Grants permission to attach an index policy at log group level to optimize search and query

logs:PutIntegration

Write

Grants permission to create integration between cloudwatch logs and opensearch

logs:PutLogEvents

Write

Grants permission to upload a batch of log events to the specified log stream

logs:PutLogGroupDeletionProtection

Write

Grants permission to enable or disable deletion protection for the specified log group

logs:PutMetricFilter

Write

Grants permission to create or update a metric filter and associates it with the specified log group

logs:PutPipelineRule

Write

Grants permission to create telemetry pipeline

logs:PutQueryDefinition

Write

Grants permission to create or update a query definition

logs:PutResourcePolicy

Permissions management

Grants permission to create or update a resource policy allowing other AWS services to put log events to this account

logs:PutRetentionPolicy

Write

Grants permission to set the retention of the specified log group

logs:PutSubscriptionFilter

Write

Grants permission to create or update a subscription filter and associates it with the specified log group

logs:PutSyslogConfiguration

Write

Grants permission to add syslog configuration for the specified log group

logs:PutTransformer

Write

Grants permission to create or update a transformer and associates it with the specified log group

logs:StartLiveTail

Read

Grants permission to start a Live Tail session in CloudWatch Logs

logs:StartQuery

Read

Grants permission to schedule a query of a log group using CloudWatch Logs Insights

logs:StopLiveTail

Read

Grants permission to stop a Live Tail session that is in progress

logs:StopQuery

Read

Grants permission to stop a CloudWatch Logs Insights query that is in progress

logs:TagLogGroup

Tagging

Grants permission to add or update the specified tags for the specified log group

logs:TagResource

Tagging

Grants permission to add or update the specified tags for the specified resource

logs:TestMetricFilter

Read

Grants permission to test the filter pattern of a metric filter against a sample of log event messages

logs:TestTransformer

Read

Grants permission to test the transformer against a sample of log event messages

logs:Unmask

Read

Grants permission to fetch unmasked log events that have been redacted with a data protection policy

logs:UntagLogGroup

Tagging

Grants permission to remove the specified tags from the specified log group

logs:UntagResource

Tagging

Grants permission to remove the specified tags from the specified resource

logs:UpdateAnomaly

Write

Grants permission to update an anomaly reported by a log anomaly detector

logs:UpdateDeliveryConfiguration

Write

Grants permission to update configuration related to a delivery

logs:UpdateLogAnomalyDetector

Write

Grants permission to update a log anomaly detector

logs:UpdateLogDelivery

Write

Grants permission to update the log delivery information for specified log delivery

logs:UpdateLookupTable

Write

Grants permission to update a lookup table

logs:UpdateScheduledQuery

Write

Grants permission to update a scheduled query