Interface ICrossAccountDestinationProps
Properties for a CrossAccountDestination.
Namespace: Amazon.CDK.AWS.Logs
Assembly: Amazon.CDK.AWS.Logs.dll
Syntax (csharp)
public interface ICrossAccountDestinationProps
Syntax (vb)
Public Interface ICrossAccountDestinationProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IAM;
using Amazon.CDK.AWS.Logs;
Role role;
var crossAccountDestinationProps = new CrossAccountDestinationProps {
Role = role,
TargetArn = "targetArn",
// the properties below are optional
DestinationName = "destinationName"
};
Synopsis
Properties
DestinationName | The name of the log destination. |
Role | The role to assume that grants permissions to write to 'target'. |
TargetArn | The log destination target's ARN. |
Properties
DestinationName
The name of the log destination.
virtual string DestinationName { get; }
Property Value
System.String
Remarks
Default: Automatically generated
Role
The role to assume that grants permissions to write to 'target'.
IRole Role { get; }
Property Value
Remarks
The role must be assumable by 'logs.{REGION}.amazonaws.com'.
TargetArn
The log destination target's ARN.
string TargetArn { get; }
Property Value
System.String