@Stability(value=Stable) public static final class CfnDestination.Builder extends Object implements software.amazon.jsii.Builder<CfnDestination>
CfnDestination.| Modifier and Type | Method and Description |
|---|---|
CfnDestination |
build() |
static CfnDestination.Builder |
create(software.constructs.Construct scope,
String id) |
CfnDestination.Builder |
destinationName(String destinationName)
The name of the destination.
|
CfnDestination.Builder |
destinationPolicy(String destinationPolicy)
An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
|
CfnDestination.Builder |
roleArn(String roleArn)
The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource.
|
CfnDestination.Builder |
targetArn(String targetArn)
The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).
|
@Stability(value=Stable) public static CfnDestination.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnDestination.Builder.@Stability(value=Stable) public CfnDestination.Builder destinationName(String destinationName)
destinationName - The name of the destination. This parameter is required.this@Stability(value=Stable) public CfnDestination.Builder destinationPolicy(String destinationPolicy)
destinationPolicy - An IAM policy document that governs which AWS accounts can create subscription filters against this destination. This parameter is required.this@Stability(value=Stable) public CfnDestination.Builder roleArn(String roleArn)
roleArn - The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource. This parameter is required.this@Stability(value=Stable) public CfnDestination.Builder targetArn(String targetArn)
targetArn - The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream). This parameter is required.this@Stability(value=Stable) public CfnDestination build()
build in interface software.amazon.jsii.Builder<CfnDestination>Copyright © 2022. All rights reserved.