interface CfnDestinationProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Logs.CfnDestinationProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#CfnDestinationProps |
![]() | software.amazon.awscdk.services.logs.CfnDestinationProps |
![]() | aws_cdk.aws_logs.CfnDestinationProps |
![]() | aws-cdk-lib » aws_logs » CfnDestinationProps |
Properties for defining a CfnDestination
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html
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
Name | Type | Description |
---|---|---|
destination | string | The name of the destination. |
role | string | The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource. |
target | string | The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream). |
destination | string | An 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.