MediaLiveChannelRouterInputConfigurationProperty Struct
Configuration settings for connecting a router input to a MediaLive channel output.
To connect the router input to the MediaLive channel output, provide all three of mediaLiveChannelArn, mediaLivePipelineId, and mediaLiveChannelOutputName. To disconnect it, call the update operation and omit all three fields while keeping this configuration object. You can't change sourceTransitDecryption while the router input is connected to a MediaLive channel output. To change it, first disconnect the router input, then update the decryption.
| 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_mediaconnect as mediaconnect } from 'aws-cdk-lib';
declare const automatic: any;
const mediaLiveChannelRouterInputConfigurationProperty: mediaconnect.CfnRouterInput.MediaLiveChannelRouterInputConfigurationProperty = {
sourceTransitDecryption: {
encryptionKeyConfiguration: {
automatic: automatic,
secretsManager: {
roleArn: 'roleArn',
secretArn: 'secretArn',
},
},
// the properties below are optional
encryptionKeyType: 'encryptionKeyType',
},
// the properties below are optional
mediaLiveChannelArn: 'mediaLiveChannelArn',
mediaLiveChannelOutputName: 'mediaLiveChannelOutputName',
mediaLivePipelineId: 'mediaLivePipelineId',
};
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_mediaconnect as mediaconnect
# automatic: Any
media_live_channel_router_input_configuration_property = mediaconnect.CfnRouterInput.MediaLiveChannelRouterInputConfigurationProperty(
source_transit_decryption=mediaconnect.CfnRouterInput.MediaLiveTransitEncryptionProperty(
encryption_key_configuration=mediaconnect.CfnRouterInput.MediaLiveTransitEncryptionKeyConfigurationProperty(
automatic=automatic,
secrets_manager=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty(
role_arn="roleArn",
secret_arn="secretArn"
)
),
# the properties below are optional
encryption_key_type="encryptionKeyType"
),
# the properties below are optional
media_live_channel_arn="mediaLiveChannelArn",
media_live_channel_output_name="mediaLiveChannelOutputName",
media_live_pipeline_id="mediaLivePipelineId"
)
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.mediaconnect.*;
Object automatic;
MediaLiveChannelRouterInputConfigurationProperty mediaLiveChannelRouterInputConfigurationProperty = MediaLiveChannelRouterInputConfigurationProperty.builder()
.sourceTransitDecryption(MediaLiveTransitEncryptionProperty.builder()
.encryptionKeyConfiguration(MediaLiveTransitEncryptionKeyConfigurationProperty.builder()
.automatic(automatic)
.secretsManager(SecretsManagerEncryptionKeyConfigurationProperty.builder()
.roleArn("roleArn")
.secretArn("secretArn")
.build())
.build())
// the properties below are optional
.encryptionKeyType("encryptionKeyType")
.build())
// the properties below are optional
.mediaLiveChannelArn("mediaLiveChannelArn")
.mediaLiveChannelOutputName("mediaLiveChannelOutputName")
.mediaLivePipelineId("mediaLivePipelineId")
.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.MediaConnect;
var automatic;
var mediaLiveChannelRouterInputConfigurationProperty = new MediaLiveChannelRouterInputConfigurationProperty {
SourceTransitDecryption = new MediaLiveTransitEncryptionProperty {
EncryptionKeyConfiguration = new MediaLiveTransitEncryptionKeyConfigurationProperty {
Automatic = automatic,
SecretsManager = new SecretsManagerEncryptionKeyConfigurationProperty {
RoleArn = "roleArn",
SecretArn = "secretArn"
}
},
// the properties below are optional
EncryptionKeyType = "encryptionKeyType"
},
// the properties below are optional
MediaLiveChannelArn = "mediaLiveChannelArn",
MediaLiveChannelOutputName = "mediaLiveChannelOutputName",
MediaLivePipelineId = "mediaLivePipelineId"
};
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"
var automatic interface{}
mediaLiveChannelRouterInputConfigurationProperty := &MediaLiveChannelRouterInputConfigurationProperty{
SourceTransitDecryption: &MediaLiveTransitEncryptionProperty{
EncryptionKeyConfiguration: &MediaLiveTransitEncryptionKeyConfigurationProperty{
Automatic: automatic,
SecretsManager: &SecretsManagerEncryptionKeyConfigurationProperty{
RoleArn: jsii.String("roleArn"),
SecretArn: jsii.String("secretArn"),
},
},
// the properties below are optional
EncryptionKeyType: jsii.String("encryptionKeyType"),
},
// the properties below are optional
MediaLiveChannelArn: jsii.String("mediaLiveChannelArn"),
MediaLiveChannelOutputName: jsii.String("mediaLiveChannelOutputName"),
MediaLivePipelineId: jsii.String("mediaLivePipelineId"),
}
Properties
mediaLiveChannelArnoptionalstringmedia_live_channel_arnoptionalstrmediaLiveChannelArnoptionalStringMediaLiveChannelArnoptionalstringMediaLiveChannelArnoptional*string #The ARN of the MediaLive channel to connect to this router input.
mediaLiveChannelOutputNameoptionalstringmedia_live_channel_output_nameoptionalstrmediaLiveChannelOutputNameoptionalStringMediaLiveChannelOutputNameoptionalstringMediaLiveChannelOutputNameoptional*string #The name of the MediaLive channel output to connect to this router input.
mediaLivePipelineIdoptionalstringmedia_live_pipeline_idoptionalstrmediaLivePipelineIdoptionalStringMediaLivePipelineIdoptionalstringMediaLivePipelineIdoptional*string #sourceTransitDecryptionIResolvable | CfnRouterInput.source_transit_decryptiontyping.Union[IResolvable, MediaLiveTransitEncryptionProperty]sourceTransitDecryptionIResolvableSourceTransitDecryptionIResolvableSourceTransitDecryptioninterface{} required #The encryption configuration that defines how content is encrypted during transit between MediaConnect Router and MediaLive.
This configuration determines whether encryption keys are automatically managed by the service or manually managed through Secrets Manager.