Class CfnStream.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnStream.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStream>
- Enclosing class:
CfnStream
@Stability(Stable)
public static final class CfnStream.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStream>
A fluent builder for
CfnStream.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnStream.Builderdescription(String description) The description of the stream.The files to stream.files(IResolvable files) The files to stream.An IAM role that allows the IoT service principal to access your S3 files.The stream ID.Metadata which can be used to manage streams.
-
Method Details
-
create
@Stability(Stable) public static CfnStream.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
CfnStream.Builder.
-
files
The files to stream.- Parameters:
files- The files to stream. This parameter is required.- Returns:
this- See Also:
-
files
The files to stream.- Parameters:
files- The files to stream. This parameter is required.- Returns:
this- See Also:
-
roleArn
An IAM role that allows the IoT service principal to access your S3 files.- Parameters:
roleArn- An IAM role that allows the IoT service principal to access your S3 files. This parameter is required.- Returns:
this- See Also:
-
streamId
The stream ID.- Parameters:
streamId- The stream ID. This parameter is required.- Returns:
this- See Also:
-
description
The description of the stream.- Parameters:
description- The description of the stream. This parameter is required.- Returns:
this- See Also:
-
tags
Metadata which can be used to manage streams.- Parameters:
tags- Metadata which can be used to manage streams. This parameter is required.- Returns:
this- See Also:
-
build
-