Interface CfnDestinationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDestinationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:13.151Z")
@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 classA builder forCfnDestinationPropsstatic final classAn implementation forCfnDestinationProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDestinationProps.Builderbuilder()The name of the destination.default StringAn 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).Returns union: either
StringorIStreamReforIDeliveryStreamReforIFunctionRef- 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.BuilderofCfnDestinationProps
-