Interface CfnDestinationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDestinationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-09-02T11:25:35.314Z")
@Stability(Stable)
public interface CfnDestinationProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnDestination
.
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.*; CfnDestinationProps cfnDestinationProps = CfnDestinationProps.builder() .destinationName("destinationName") .roleArn("roleArn") .targetArn("targetArn") // the properties below are optional .destinationPolicy("destinationPolicy") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDestinationProps
static final class
An implementation forCfnDestinationProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDestinationProps.Builder
builder()
The name of the destination.default String
An IAM policy document that governs which AWS accounts can create subscription filters against this destination.The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource.getTags()
The tags that have been assigned to this delivery destination.The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestinationName
The name of the destination.- See Also:
-
getRoleArn
The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource.- See Also:
-
getTargetArn
The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).- See Also:
-
getDestinationPolicy
An IAM policy document that governs which AWS accounts can create subscription filters against this destination.- See Also:
-
getTags
The tags that have been assigned to this delivery destination.- See Also:
-
builder
- Returns:
- a
CfnDestinationProps.Builder
ofCfnDestinationProps
-