Class CfnDeliveryDestination.Builder
java.lang.Object
software.amazon.awscdk.services.logs.CfnDeliveryDestination.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryDestination>
- Enclosing class:
CfnDeliveryDestination
@Stability(Stable)
public static final class CfnDeliveryDestination.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryDestination>
A fluent builder for
CfnDeliveryDestination
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
deliveryDestinationPolicy
(Object deliveryDestinationPolicy) A structure that contains information about one delivery destination policy.destinationResourceArn
(String destinationResourceArn) The ARN of the AWS destination that this delivery destination represents.The name of this delivery destination.outputFormat
(String outputFormat) The format of the logs that are sent to this delivery destination.The tags that have been assigned to this delivery destination.
-
Method Details
-
create
@Stability(Stable) public static CfnDeliveryDestination.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDeliveryDestination.Builder
.
-
name
The name of this delivery destination.- Parameters:
name
- The name of this delivery destination. This parameter is required.- Returns:
this
- See Also:
-
deliveryDestinationPolicy
@Stability(Stable) public CfnDeliveryDestination.Builder deliveryDestinationPolicy(Object deliveryDestinationPolicy) A structure that contains information about one delivery destination policy.- Parameters:
deliveryDestinationPolicy
- A structure that contains information about one delivery destination policy. This parameter is required.- Returns:
this
- See Also:
-
destinationResourceArn
@Stability(Stable) public CfnDeliveryDestination.Builder destinationResourceArn(String destinationResourceArn) The ARN of the AWS destination that this delivery destination represents.That AWS destination can be a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Firehose.
- Parameters:
destinationResourceArn
- The ARN of the AWS destination that this delivery destination represents. This parameter is required.- Returns:
this
- See Also:
-
outputFormat
The format of the logs that are sent to this delivery destination.- Parameters:
outputFormat
- The format of the logs that are sent to this delivery destination. 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:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeliveryDestination>
- Returns:
- a newly built instance of
CfnDeliveryDestination
.
-