Interface CfnStreamProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStreamProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:11.837Z")
@Stability(Stable)
public interface CfnStreamProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnStream.
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.iot.*;
CfnStreamProps cfnStreamProps = CfnStreamProps.builder()
.files(List.of(StreamFileProperty.builder()
.fileId(123)
.s3Location(S3LocationProperty.builder()
.bucket("bucket")
.key("key")
.version("version")
.build())
.build()))
.roleArn("roleArn")
.streamId("streamId")
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnStreamPropsstatic final classAn implementation forCfnStreamProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnStreamProps.Builderbuilder()default StringThe description of the stream.getFiles()The files to stream.An IAM role that allows the IoT service principal to access your S3 files.The stream ID.getTags()Metadata which can be used to manage streams.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFiles
The files to stream.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnStream.StreamFileProperty>- See Also:
-
getRoleArn
An IAM role that allows the IoT service principal to access your S3 files.- See Also:
-
getStreamId
The stream ID.- See Also:
-
getDescription
The description of the stream.- See Also:
-
getTags
Metadata which can be used to manage streams.- See Also:
-
builder
- Returns:
- a
CfnStreamProps.BuilderofCfnStreamProps
-