@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:18.757Z") @Stability(value=Stable) public class CfnStream extends CfnResource implements IInspectable
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.qldb.*;
CfnStream cfnStream = CfnStream.Builder.create(this, "MyCfnStream")
.inclusiveStartTime("inclusiveStartTime")
.kinesisConfiguration(KinesisConfigurationProperty.builder()
.aggregationEnabled(false)
.streamArn("streamArn")
.build())
.ledgerName("ledgerName")
.roleArn("roleArn")
.streamName("streamName")
// the properties below are optional
.exclusiveEndTime("exclusiveEndTime")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnStream.Builder
A fluent builder for
CfnStream. |
static interface |
CfnStream.KinesisConfigurationProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnStream(software.constructs.Construct scope,
String id,
CfnStreamProps props)
Create a new `AWS::QLDB::Stream`.
|
protected |
CfnStream(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnStream(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn() |
String |
getAttrId() |
protected Map<String,Object> |
getCfnProperties() |
String |
getExclusiveEndTime()
`AWS::QLDB::Stream.ExclusiveEndTime`.
|
String |
getInclusiveStartTime()
`AWS::QLDB::Stream.InclusiveStartTime`.
|
Object |
getKinesisConfiguration()
`AWS::QLDB::Stream.KinesisConfiguration`.
|
String |
getLedgerName()
`AWS::QLDB::Stream.LedgerName`.
|
String |
getRoleArn()
`AWS::QLDB::Stream.RoleArn`.
|
String |
getStreamName()
`AWS::QLDB::Stream.StreamName`.
|
TagManager |
getTags()
`AWS::QLDB::Stream.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setExclusiveEndTime(String value)
`AWS::QLDB::Stream.ExclusiveEndTime`.
|
void |
setInclusiveStartTime(String value)
`AWS::QLDB::Stream.InclusiveStartTime`.
|
void |
setKinesisConfiguration(CfnStream.KinesisConfigurationProperty value)
`AWS::QLDB::Stream.KinesisConfiguration`.
|
void |
setKinesisConfiguration(IResolvable value)
`AWS::QLDB::Stream.KinesisConfiguration`.
|
void |
setLedgerName(String value)
`AWS::QLDB::Stream.LedgerName`.
|
void |
setRoleArn(String value)
`AWS::QLDB::Stream.RoleArn`.
|
void |
setStreamName(String value)
`AWS::QLDB::Stream.StreamName`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnStream(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnStream(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnStream(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnStreamProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getExclusiveEndTime()
@Stability(value=Stable)
public void setExclusiveEndTime(@Nullable
String value)
@Stability(value=Stable) @NotNull public String getInclusiveStartTime()
@Stability(value=Stable)
public void setInclusiveStartTime(@NotNull
String value)
@Stability(value=Stable) @NotNull public Object getKinesisConfiguration()
@Stability(value=Stable)
public void setKinesisConfiguration(@NotNull
CfnStream.KinesisConfigurationProperty value)
@Stability(value=Stable)
public void setKinesisConfiguration(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public String getLedgerName()
@Stability(value=Stable)
public void setLedgerName(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getRoleArn()
@Stability(value=Stable)
public void setRoleArn(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getStreamName()
@Stability(value=Stable)
public void setStreamName(@NotNull
String value)
@Stability(value=Stable) @NotNull public TagManager getTags()
Copyright © 2021. All rights reserved.