Class CfnDestinationProps
Properties for defining a CfnDestination
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Logs
Assembly: Amazon.CDK.AWS.Logs.dll
Syntax (csharp)
public class CfnDestinationProps : Object, ICfnDestinationProps
Syntax (vb)
Public Class CfnDestinationProps
Inherits Object
Implements ICfnDestinationProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html
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.Logs;
var cfnDestinationProps = new CfnDestinationProps {
DestinationName = "destinationName",
RoleArn = "roleArn",
TargetArn = "targetArn",
// the properties below are optional
DestinationPolicy = "destinationPolicy"
};
Synopsis
Constructors
CfnDestinationProps() |
Properties
DestinationName | The name of the destination. |
DestinationPolicy | An IAM policy document that governs which AWS accounts can create subscription filters against this destination. |
RoleArn | The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource. |
TargetArn | The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream). |
Constructors
CfnDestinationProps()
public CfnDestinationProps()
Properties
DestinationName
The name of the destination.
public string DestinationName { get; set; }
Property Value
System.String
Remarks
DestinationPolicy
An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
public string DestinationPolicy { get; set; }
Property Value
System.String
Remarks
RoleArn
The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource.
public string RoleArn { get; set; }
Property Value
System.String
Remarks
TargetArn
The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).
public string TargetArn { get; set; }
Property Value
System.String