Interface CfnDestinationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDestinationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:38.073Z")
@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") .build();
-
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.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. -
getRoleArn
The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource. -
getTargetArn
The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream). -
getDestinationPolicy
An IAM policy document that governs which AWS accounts can create subscription filters against this destination. -
builder
- Returns:
- a
CfnDestinationProps.Builder
ofCfnDestinationProps
-