InputLossBehaviorProperty Struct
The configuration of channel behavior when the input is lost.
The parent of this entity is GlobalConfiguration.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const inputLossBehaviorProperty: medialive.CfnChannel.InputLossBehaviorProperty = {
blackFrameMsec: 123,
inputLossImageColor: 'inputLossImageColor',
inputLossImageSlate: {
passwordParam: 'passwordParam',
uri: 'uri',
username: 'username',
},
inputLossImageType: 'inputLossImageType',
repeatFrameMsec: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_medialive as medialive
input_loss_behavior_property = medialive.CfnChannel.InputLossBehaviorProperty(
black_frame_msec=123,
input_loss_image_color="inputLossImageColor",
input_loss_image_slate=medialive.CfnChannel.InputLocationProperty(
password_param="passwordParam",
uri="uri",
username="username"
),
input_loss_image_type="inputLossImageType",
repeat_frame_msec=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.*;
InputLossBehaviorProperty inputLossBehaviorProperty = InputLossBehaviorProperty.builder()
.blackFrameMsec(123)
.inputLossImageColor("inputLossImageColor")
.inputLossImageSlate(InputLocationProperty.builder()
.passwordParam("passwordParam")
.uri("uri")
.username("username")
.build())
.inputLossImageType("inputLossImageType")
.repeatFrameMsec(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive;
var inputLossBehaviorProperty = new InputLossBehaviorProperty {
BlackFrameMsec = 123,
InputLossImageColor = "inputLossImageColor",
InputLossImageSlate = new InputLocationProperty {
PasswordParam = "passwordParam",
Uri = "uri",
Username = "username"
},
InputLossImageType = "inputLossImageType",
RepeatFrameMsec = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
inputLossBehaviorProperty := &InputLossBehaviorProperty{
BlackFrameMsec: jsii.Number(123),
InputLossImageColor: jsii.String("inputLossImageColor"),
InputLossImageSlate: &InputLocationProperty{
PasswordParam: jsii.String("passwordParam"),
Uri: jsii.String("uri"),
Username: jsii.String("username"),
},
InputLossImageType: jsii.String("inputLossImageType"),
RepeatFrameMsec: jsii.Number(123),
}
Properties
blackFrameMsecoptionalnumberblack_frame_msecoptionalint | floatblackFrameMsecoptionalNumberBlackFrameMsecoptionaldoubleBlackFrameMsecoptional*float64 #On input loss, the number of milliseconds to substitute black into the output before switching to the frame specified by inputLossImageType.
A value x, where 0 <= x <= 1,000,000 and a value of 1,000,000, is interpreted as infinite.
inputLossImageColoroptionalstringinput_loss_image_coloroptionalstrinputLossImageColoroptionalStringInputLossImageColoroptionalstringInputLossImageColoroptional*string #When the input loss image type is "color," this field specifies the color to use.
Value: 6 hex characters that represent the values of RGB.
inputLossImageSlateoptionalIResolvable | CfnChannel.InputLocationPropertyinput_loss_image_slateoptionaltyping.Union[IResolvable, InputLocationProperty]inputLossImageSlateoptionalIResolvableInputLossImageSlateoptionalIResolvableInputLossImageSlateoptionalinterface{} #When the input loss image type is "slate," these fields specify the parameters for accessing the slate.
inputLossImageTypeoptionalstringinput_loss_image_typeoptionalstrinputLossImageTypeoptionalStringInputLossImageTypeoptionalstringInputLossImageTypeoptional*string #Indicates whether to substitute a solid color or a slate into the output after the input loss exceeds blackFrameMsec.
repeatFrameMsecoptionalnumberrepeat_frame_msecoptionalint | floatrepeatFrameMsecoptionalNumberRepeatFrameMsecoptionaldoubleRepeatFrameMsecoptional*float64 #On input loss, the number of milliseconds to repeat the previous picture before substituting black into the output.
A value x, where 0 <= x <= 1,000,000 and a value of 1,000,000, is interpreted as infinite.