Show / Hide Table of Contents

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverydestination.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 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

object

Remarks

For examples of this policy, see Examples in the CloudWatch Logs API Reference.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverydestination.html#cfn-logs-deliverydestination-deliverydestinationpolicy

DestinationResourceArn

The ARN of the AWS destination that this delivery destination represents.

string? DestinationResourceArn { get; }
Property Value

string

Remarks

That AWS destination can be a log group in CloudWatch Logs , an Amazon S3 bucket, or a Firehose stream.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverydestination.html#cfn-logs-deliverydestination-destinationresourcearn

Name

The name of this delivery destination.

string Name { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverydestination.html#cfn-logs-deliverydestination-name

OutputFormat

The format of the logs that are sent to this delivery destination.

string? OutputFormat { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverydestination.html#cfn-logs-deliverydestination-outputformat

Tags

An array of key-value pairs to apply to the delivery destination.

ICfnTag[]? Tags { get; }
Property Value

ICfnTag[]

Remarks

For more information, see Tag .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverydestination.html#cfn-logs-deliverydestination-tags

Back to top Generated by DocFX