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 = new DestinationPolicyProperty {
DeliveryDestinationName = "deliveryDestinationName",
DeliveryDestinationPolicy = deliveryDestinationPolicy
},
DestinationResourceArn = "destinationResourceArn",
OutputFormat = "outputFormat",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
DeliveryDestinationPolicy | An IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account. |
DestinationResourceArn | The ARN of the AWS destination that this delivery destination represents. |
Name | The name of this delivery destination. |
OutputFormat | 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.
object? DeliveryDestinationPolicy { get; }
Property Value
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.
string? DestinationResourceArn { get; }
Property Value
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
Remarks
OutputFormat
The format of the logs that are sent to this delivery destination.
string? OutputFormat { get; }
Property Value
Remarks
Tags
An array of key-value pairs to apply to the delivery destination.
ICfnTag[]? Tags { get; }
Property Value
ICfnTag[]