Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
InputSourceOptions Struct
Options for a URL-based input source.
| Stability | Experimental |
|---|---|
| Source | lib/input.ts |
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 inputSourceOptions: medialive_alpha.InputSourceOptions = {
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
input_source_options = medialive_alpha.InputSourceOptions(
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;
InputSourceOptions inputSourceOptions = InputSourceOptions.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 inputSourceOptions = new InputSourceOptions {
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
inputSourceOptions := &InputSourceOptions{
Password: stringParameter,
Username: jsii.String("username"),
}
Properties
passwordoptionalIStringParameterpasswordoptionalIStringParameterpasswordoptionalIStringParameterPasswordoptionalIStringParameterPasswordoptionalIStringParameter #The SSM parameter that holds the password for accessing the upstream system.
Default: no password
usernameoptionalstringusernameoptionalstrusernameoptionalStringUsernameoptionalstringUsernameoptional*string #The username for accessing the upstream system.
Default: no username