Skip to content
v2.277.0

Experimental

@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

OutputDestinationOptions Struct ​

Options for a URL-based output destination.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
import { aws_ssm as ssm } from 'aws-cdk-lib';

declare const stringParameter: ssm.StringParameter;
const outputDestinationOptions: medialive_alpha.OutputDestinationOptions = {
  password: stringParameter,
  username: 'username',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha
from aws_cdk import aws_ssm as ssm

# string_parameter: ssm.StringParameter

output_destination_options = medialive_alpha.OutputDestinationOptions(
    password=string_parameter,
    username="username"
)
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.alpha.*;
import software.amazon.awscdk.services.ssm.*;

StringParameter stringParameter;

OutputDestinationOptions outputDestinationOptions = OutputDestinationOptions.builder()
        .password(stringParameter)
        .username("username")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;
using Amazon.CDK.AWS.SSM;

StringParameter stringParameter;

var outputDestinationOptions = new OutputDestinationOptions {
    Password = stringParameter,
    Username = "username"
};
go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"
import "github.com/aws/aws-cdk-go/awscdk"

var stringParameter StringParameter

outputDestinationOptions := &OutputDestinationOptions{
	Password: stringParameter,
	Username: jsii.String("username"),
}

Properties ​

passwordoptionalIStringParameterpasswordoptionalIStringParameterpasswordoptionalIStringParameterPasswordoptionalIStringParameterPasswordoptionalIStringParameter #
An SSM String Parameter holding the password for accessing the downstream system.

Default: no credentials

MediaLive reads it from Parameter Store at channel runtime, so the channel role is granted read access.

usernameoptionalstringusernameoptionalstrusernameoptionalStringUsernameoptionalstringUsernameoptional*string #
The username for accessing the downstream system.

Default: no credentials