CrossAccountDestinationProps Struct
Properties for a CrossAccountDestination.
Example
ts
// 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';
import { aws_iam as interfaces_iam } from 'aws-cdk-lib/interfaces';
declare const roleRef: interfaces_iam.IRoleRef;
const crossAccountDestinationProps: logs.CrossAccountDestinationProps = {
role: roleRef,
targetArn: 'targetArn',
// the properties below are optional
destinationName: 'destinationName',
};
Properties
destinationNamestringdestination_namestrdestinationNameStringDestinationNamestringDestinationName*string= Automatically generated#The name of the log destination.
The role to assume that grants permissions to write to 'target'.
The role must be assumable by 'logs.{REGION}.amazonaws.com'.
The log destination target's ARN.