Interface CfnDeliveryDestinationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDeliveryDestinationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:13.148Z")
@Stability(Stable)
public interface CfnDeliveryDestinationProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnDeliveryDestination.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.logs.*;
Object deliveryDestinationPolicy;
CfnDeliveryDestinationProps cfnDeliveryDestinationProps = CfnDeliveryDestinationProps.builder()
.name("name")
// the properties below are optional
.deliveryDestinationPolicy(DestinationPolicyProperty.builder()
.deliveryDestinationName("deliveryDestinationName")
.deliveryDestinationPolicy(deliveryDestinationPolicy)
.build())
.deliveryDestinationType("deliveryDestinationType")
.destinationResourceArn("destinationResourceArn")
.outputFormat("outputFormat")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDeliveryDestinationPropsstatic final classAn implementation forCfnDeliveryDestinationProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectAn IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account.default StringDisplays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.default StringThe ARN of the AWS destination that this delivery destination represents.getName()The name of this delivery destination.default StringThe format of the logs that are sent to this delivery destination.getTags()An array of key-value pairs to apply to the delivery destination.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of this delivery destination.- See Also:
-
getDeliveryDestinationPolicy
An IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account.For examples of this policy, see Examples in the CloudWatch Logs API Reference.
Returns union: either
IResolvableorCfnDeliveryDestination.DestinationPolicyProperty- See Also:
-
getDeliveryDestinationType
Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.- See Also:
-
getDestinationResourceArn
The ARN of the AWS destination that this delivery destination represents.That AWS destination can be a log group in CloudWatch Logs , an Amazon S3 bucket, or a Firehose stream.
- See Also:
-
getOutputFormat
The format of the logs that are sent to this delivery destination.- See Also:
-
getTags
An array of key-value pairs to apply to the delivery destination.For more information, see Tag .
- See Also:
-
builder
-