Creates or updates a destination. This operation is used only to create destinations for cross-account subscriptions.
A destination encapsulates a physical resource (such as an Amazon
Kinesis stream) and enables you to subscribe to a real-time stream of
log events for a different account, ingested using
Through an access policy, a destination controls what is written to it.
put_destination does not
set any access policy with the destination, which means a cross-account
user cannot call
against this destination. To enable this, the destination owner must
To perform a
operation, you must also have the
cloudwatchlogs_put_destination(destinationName, targetArn, roleArn)
[required] A name for the destination.
[required] The ARN of an Amazon Kinesis stream to which to deliver matching log events.
[required] The ARN of an IAM role that grants CloudWatch Logs permissions to call
the Amazon Kinesis
A list with the following syntax:
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5
svc$put_destination( destinationName = "string", targetArn = "string", roleArn = "string" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.