Class CfnDeliverySource.Builder
java.lang.Object
software.amazon.awscdk.services.logs.CfnDeliverySource.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliverySource>
- Enclosing class:
CfnDeliverySource
@Stability(Stable)
public static final class CfnDeliverySource.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliverySource>
A fluent builder for
CfnDeliverySource
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnDeliverySource.Builder
The type of log that the source is sending.The unique name of the delivery source.resourceArn
(String resourceArn) The Amazon Resource Name (ARN) that uniquely identifies this delivery source.The tags that have been assigned to this delivery source.
-
Method Details
-
create
@Stability(Stable) public static CfnDeliverySource.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
CfnDeliverySource.Builder
.
-
name
The unique name of the delivery source.- Parameters:
name
- The unique name of the delivery source. This parameter is required.- Returns:
this
- See Also:
-
logType
The type of log that the source is sending.For valid values for this parameter, see the documentation for the source service.
- Parameters:
logType
- The type of log that the source is sending. This parameter is required.- Returns:
this
- See Also:
-
resourceArn
The Amazon Resource Name (ARN) that uniquely identifies this delivery source.- Parameters:
resourceArn
- The Amazon Resource Name (ARN) that uniquely identifies this delivery source. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags that have been assigned to this delivery source.- Parameters:
tags
- The tags that have been assigned to this delivery source. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeliverySource>
- Returns:
- a newly built instance of
CfnDeliverySource
.
-