Interface ICfnDeliveryDestinationProps
Properties for defining a CfnDeliveryDestination
.
Namespace: Amazon.CDK.AWS.Logs
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnDeliveryDestinationProps
Syntax (vb)
Public Interface ICfnDeliveryDestinationProps
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.Logs;
var deliveryDestinationPolicy;
var cfnDeliveryDestinationProps = new CfnDeliveryDestinationProps {
Name = "name",
// the properties below are optional
DeliveryDestinationPolicy = deliveryDestinationPolicy,
DestinationResourceArn = "destinationResourceArn",
OutputFormat = "outputFormat",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
Delivery |
An IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account. |
Destination |
The ARN of the AWS destination that this delivery destination represents. |
Name | The name of this delivery destination. |
Output |
The format of the logs that are sent to this delivery destination. |
Tags | An array of key-value pairs to apply to the delivery destination. |
Properties
DeliveryDestinationPolicy
An IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account.
virtual object DeliveryDestinationPolicy { get; }
Property Value
System.
Remarks
For examples of this policy, see Examples in the CloudWatch Logs API Reference.
DestinationResourceArn
The ARN of the AWS destination that this delivery destination represents.
virtual string DestinationResourceArn { get; }
Property Value
System.
Remarks
That AWS destination can be a log group in CloudWatch Logs , an Amazon S3 bucket, or a Firehose stream.
Name
The name of this delivery destination.
string Name { get; }
Property Value
System.
Remarks
OutputFormat
The format of the logs that are sent to this delivery destination.
virtual string OutputFormat { get; }
Property Value
System.
Remarks
Tags
An array of key-value pairs to apply to the delivery destination.
virtual ICfnTag[] Tags { get; }
Property Value
ICfn