Class S3PutObjectAction
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iot.actions.alpha.S3PutObjectAction
- All Implemented Interfaces:
IAction
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:29.580Z")
@Stability(Experimental)
public class S3PutObjectAction
extends software.amazon.jsii.JsiiObject
implements IAction
(experimental) The action to write the data from an MQTT message to an Amazon S3 bucket.
Example:
Bucket bucket = new Bucket(this, "MyBucket"); TopicRule.Builder.create(this, "TopicRule") .sql(IotSql.fromStringAsVer20160323("SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'")) .actions(List.of( S3PutObjectAction.Builder.create(bucket) .key("${year}/${month}/${day}/${topic(2)}") .build())) .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
(experimental) A fluent builder forS3PutObjectAction
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.iot.alpha.IAction
IAction.Jsii$Default, IAction.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionS3PutObjectAction
(IBucket bucket) S3PutObjectAction
(IBucket bucket, S3PutObjectActionProps props) protected
S3PutObjectAction
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
S3PutObjectAction
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
S3PutObjectAction
protected S3PutObjectAction(software.amazon.jsii.JsiiObjectRef objRef) -
S3PutObjectAction
protected S3PutObjectAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
S3PutObjectAction
@Stability(Experimental) public S3PutObjectAction(@NotNull IBucket bucket, @Nullable S3PutObjectActionProps props) - Parameters:
bucket
- The Amazon S3 bucket to which to write data. This parameter is required.props
- Optional properties to not use default.
-
S3PutObjectAction
- Parameters:
bucket
- The Amazon S3 bucket to which to write data. This parameter is required.
-