aws-cdk-lib.aws_logs.CfnDestinationProps

interface CfnDestinationProps

LanguageType name
.NETAmazon.CDK.AWS.Logs.CfnDestinationProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslogs#CfnDestinationProps
Javasoftware.amazon.awscdk.services.logs.CfnDestinationProps
Pythonaws_cdk.aws_logs.CfnDestinationProps
TypeScript aws-cdk-lib » aws_logs » CfnDestinationProps

Properties for defining a CfnDestination.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from 'aws-cdk-lib';
const cfnDestinationProps: logs.CfnDestinationProps = {
  destinationName: 'destinationName',
  roleArn: 'roleArn',
  targetArn: 'targetArn',

  // the properties below are optional
  destinationPolicy: 'destinationPolicy',
};

Properties

NameTypeDescription
destinationNamestringThe name of the destination.
roleArnstringThe ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource.
targetArnstringThe Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).
destinationPolicy?stringAn IAM policy document that governs which AWS accounts can create subscription filters against this destination.

destinationName

Type: string

The name of the destination.


roleArn

Type: string

The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource.


targetArn

Type: string

The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).


destinationPolicy?

Type: string (optional)

An IAM policy document that governs which AWS accounts can create subscription filters against this destination.