interface LogSubscriptionDestinationConfig
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Logs.LogSubscriptionDestinationConfig |
![]() | software.amazon.awscdk.services.logs.LogSubscriptionDestinationConfig |
![]() | aws_cdk.aws_logs.LogSubscriptionDestinationConfig |
![]() | @aws-cdk/aws-logs » LogSubscriptionDestinationConfig |
Obtainable from
Kinesis
.bind()
, Lambda
.bind()
, Cross
.bind()
Properties returned by a Subscription destination.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iam from '@aws-cdk/aws-iam';
import * as logs from '@aws-cdk/aws-logs';
declare const role: iam.Role;
const logSubscriptionDestinationConfig: logs.LogSubscriptionDestinationConfig = {
arn: 'arn',
// the properties below are optional
role: role,
};
Properties
Name | Type | Description |
---|---|---|
arn | string | The ARN of the subscription's destination. |
role? | IRole | The role to assume to write log events to the destination. |
arn
Type:
string
The ARN of the subscription's destination.
role?
Type:
IRole
(optional, default: No role assumed)
The role to assume to write log events to the destination.