Interface CfnDeliveryProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDeliveryProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:39.822Z")
@Stability(Stable)
public interface CfnDeliveryProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnDelivery.
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.*;
CfnDeliveryProps cfnDeliveryProps = CfnDeliveryProps.builder()
.deliveryDestinationArn("deliveryDestinationArn")
.deliverySourceName("deliverySourceName")
// the properties below are optional
.fieldDelimiter("fieldDelimiter")
.recordFields(List.of("recordFields"))
.s3EnableHiveCompatiblePath(false)
.s3SuffixPath("s3SuffixPath")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDeliveryPropsstatic final classAn implementation forCfnDeliveryProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDeliveryProps.Builderbuilder()The ARN of the delivery destination that is associated with this delivery.The name of the delivery source that is associated with this delivery.default StringThe field delimiter that is used between record fields when the final output format of a delivery is inPlain,W3C, orRawformat.The list of record fields to be delivered to the destination, in order.default ObjectUse this parameter to cause the S3 objects that contain delivered logs to use a prefix structure that allows for integration with Apache Hive.default StringUse this to reconfigure the S3 object prefix to contain either static or variable sections.getTags()An array of key-value pairs to apply to the delivery.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeliveryDestinationArn
The ARN of the delivery destination that is associated with this delivery.- See Also:
-
getDeliverySourceName
The name of the delivery source that is associated with this delivery.- See Also:
-
getFieldDelimiter
The field delimiter that is used between record fields when the final output format of a delivery is inPlain,W3C, orRawformat.- See Also:
-
getRecordFields
The list of record fields to be delivered to the destination, in order.If the delivery's log source has mandatory fields, they must be included in this list.
- See Also:
-
getS3EnableHiveCompatiblePath
Use this parameter to cause the S3 objects that contain delivered logs to use a prefix structure that allows for integration with Apache Hive.Returns union: either
BooleanorIResolvable- See Also:
-
getS3SuffixPath
Use this to reconfigure the S3 object prefix to contain either static or variable sections.The valid variables to use in the suffix path will vary by each log source. To find the values supported for the suffix path for each log source, use the DescribeConfigurationTemplates operation and check the
allowedSuffixPathFieldsfield in the response.- See Also:
-
getTags
An array of key-value pairs to apply to the delivery.For more information, see Tag .
- See Also:
-
builder
- Returns:
- a
CfnDeliveryProps.BuilderofCfnDeliveryProps
-