@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-22T22:36:23.362Z") @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.kinesisvideo.*;
CfnStream cfnStream = CfnStream.Builder.create(this, "MyCfnStream")
.dataRetentionInHours(123)
.deviceName("deviceName")
.kmsKeyId("kmsKeyId")
.mediaType("mediaType")
.name("name")
.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. |
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)
Create a new `AWS::KinesisVideo::Stream`.
|
|
CfnStream(software.constructs.Construct scope,
String id,
CfnStreamProps props)
Create a new `AWS::KinesisVideo::Stream`.
|
protected |
CfnStream(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnStream(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn() |
protected Map<String,Object> |
getCfnProperties() |
Number |
getDataRetentionInHours()
`AWS::KinesisVideo::Stream.DataRetentionInHours`.
|
String |
getDeviceName()
`AWS::KinesisVideo::Stream.DeviceName`.
|
String |
getKmsKeyId()
`AWS::KinesisVideo::Stream.KmsKeyId`.
|
String |
getMediaType()
`AWS::KinesisVideo::Stream.MediaType`.
|
String |
getName()
`AWS::KinesisVideo::Stream.Name`.
|
TagManager |
getTags()
`AWS::KinesisVideo::Stream.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDataRetentionInHours(Number value)
`AWS::KinesisVideo::Stream.DataRetentionInHours`.
|
void |
setDeviceName(String value)
`AWS::KinesisVideo::Stream.DeviceName`.
|
void |
setKmsKeyId(String value)
`AWS::KinesisVideo::Stream.KmsKeyId`.
|
void |
setMediaType(String value)
`AWS::KinesisVideo::Stream.MediaType`.
|
void |
setName(String value)
`AWS::KinesisVideo::Stream.Name`.
|
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,
@Nullable
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.@Stability(value=Stable)
public CfnStream(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. 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 protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public Number getDataRetentionInHours()
@Stability(value=Stable)
public void setDataRetentionInHours(@Nullable
Number value)
@Stability(value=Stable) @Nullable public String getDeviceName()
@Stability(value=Stable)
public void setDeviceName(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getKmsKeyId()
@Stability(value=Stable)
public void setKmsKeyId(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getMediaType()
@Stability(value=Stable)
public void setMediaType(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
Copyright © 2022. All rights reserved.