Class CfnDelivery
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.logs.CfnDelivery
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IDeliveryRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:39.818Z")
@Stability(Stable)
public class CfnDelivery
extends CfnResource
implements IInspectable, IDeliveryRef, ITaggableV2
This structure contains information about one delivery in your account.
A delivery is a connection between a logical delivery source and a logical delivery destination .
For more information, see CreateDelivery .
To update an existing delivery configuration, use UpdateDeliveryConfiguration .
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.*;
CfnDelivery cfnDelivery = CfnDelivery.Builder.create(this, "MyCfnDelivery")
.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 ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.logs.IDeliveryRef
IDeliveryRef.Jsii$Default, IDeliveryRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnDelivery(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDelivery(software.amazon.jsii.JsiiObjectRef objRef) CfnDelivery(software.constructs.Construct scope, String id, CfnDeliveryProps props) Create a newAWS::Logs::Delivery. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForDelivery(IDeliveryRef resource) The Amazon Resource Name (ARN) that uniquely identifies this delivery.Displays whether the delivery destination associated with this delivery is CloudWatch Logs , Amazon S3 , or Firehose .The unique ID that identifies this delivery in your account.Tag Manager which manages the tags for this resource.The ARN of the delivery destination that is associated with this delivery.A reference to a Delivery resource.The name of the delivery source that is associated with this delivery.The 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.Use this parameter to cause the S3 objects that contain delivered logs to use a prefix structure that allows for integration with Apache Hive.Use 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.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnDelivery.renderProperties(Map<String, Object> props) voidsetDeliveryDestinationArn(String value) The ARN of the delivery destination that is associated with this delivery.voidsetDeliverySourceName(String value) The name of the delivery source that is associated with this delivery.voidsetFieldDelimiter(String value) The field delimiter that is used between record fields when the final output format of a delivery is inPlain,W3C, orRawformat.voidsetRecordFields(List<String> value) The list of record fields to be delivered to the destination, in order.voidUse this parameter to cause the S3 objects that contain delivered logs to use a prefix structure that allows for integration with Apache Hive.voidUse this parameter to cause the S3 objects that contain delivered logs to use a prefix structure that allows for integration with Apache Hive.voidsetS3SuffixPath(String value) Use this to reconfigure the S3 object prefix to contain either static or variable sections.voidAn array of key-value pairs to apply to the delivery.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnDelivery
protected CfnDelivery(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDelivery
protected CfnDelivery(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDelivery
@Stability(Stable) public CfnDelivery(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDeliveryProps props) Create a newAWS::Logs::Delivery.- 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.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForDelivery
- Parameters:
resource- This parameter is required.
-
isCfnDelivery
Checks whether the given object is a CfnDelivery.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) that uniquely identifies this delivery. -
getAttrDeliveryDestinationType
Displays whether the delivery destination associated with this delivery is CloudWatch Logs , Amazon S3 , or Firehose . -
getAttrDeliveryId
The unique ID that identifies this delivery in your account. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getDeliveryRef
A reference to a Delivery resource.- Specified by:
getDeliveryRefin interfaceIDeliveryRef
-
getDeliveryDestinationArn
The ARN of the delivery destination that is associated with this delivery. -
setDeliveryDestinationArn
The ARN of the delivery destination that is associated with this delivery. -
getDeliverySourceName
The name of the delivery source that is associated with this delivery. -
setDeliverySourceName
The name of the delivery source that is associated with this delivery. -
getFieldDelimiter
The field delimiter that is used between record fields when the final output format of a delivery is inPlain,W3C, orRawformat. -
setFieldDelimiter
The field delimiter that is used between record fields when the final output format of a delivery is inPlain,W3C, orRawformat. -
getRecordFields
The list of record fields to be delivered to the destination, in order. -
setRecordFields
The list of record fields to be delivered to the destination, in order. -
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 -
setS3EnableHiveCompatiblePath
Use this parameter to cause the S3 objects that contain delivered logs to use a prefix structure that allows for integration with Apache Hive. -
setS3EnableHiveCompatiblePath
Use this parameter to cause the S3 objects that contain delivered logs to use a prefix structure that allows for integration with Apache Hive. -
getS3SuffixPath
Use this to reconfigure the S3 object prefix to contain either static or variable sections. -
setS3SuffixPath
Use 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. -
setTags
An array of key-value pairs to apply to the delivery.
-