Class CfnDestinationPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.logs.CfnDestinationPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDestinationPropsMixin>
- Enclosing class:
CfnDestinationPropsMixin
@Stability(Stable)
public static final class CfnDestinationPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDestinationPropsMixin>
A fluent builder for
CfnDestinationPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) destinationName(String destinationName) The name of the destination.destinationPolicy(String destinationPolicy) 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 ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource.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).targetArn(IStreamRef targetArn) The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).targetArn(IDeliveryStreamRef targetArn) The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).targetArn(IFunctionRef targetArn) The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).
-
Method Details
-
create
@Stability(Stable) public static CfnDestinationPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDestinationPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDestinationPropsMixin.Builder.
-
destinationName
The name of the destination.- Parameters:
destinationName- The name of the destination. This parameter is required.- Returns:
this- See Also:
-
destinationPolicy
@Stability(Stable) public CfnDestinationPropsMixin.Builder destinationPolicy(String destinationPolicy) An IAM policy document that governs which AWS accounts can create subscription filters against this destination.- Parameters:
destinationPolicy- An IAM policy document that governs which AWS accounts can create subscription filters against this destination. This parameter is required.- Returns:
this- See Also:
-
roleArn
The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource.- Parameters:
roleArn- The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource. This parameter is required.- Returns:
this- See Also:
-
roleArn
The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource.- Parameters:
roleArn- The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource. This parameter is required.- Returns:
this- See Also:
-
tags
The tags that have been assigned to this delivery destination.- Parameters:
tags- The tags that have been assigned to this delivery destination. This parameter is required.- Returns:
this- See Also:
-
targetArn
The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).- Parameters:
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.- Returns:
this- See Also:
-
targetArn
The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).- Parameters:
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.- Returns:
this- See Also:
-
targetArn
The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).- Parameters:
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.- Returns:
this- See Also:
-
targetArn
The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).- Parameters:
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.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDestinationPropsMixin>- Returns:
- a newly built instance of
CfnDestinationPropsMixin.
-