Skip to content
v2.276.0

InputReference Struct ​

A reference to a Input resource.

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 interfaces_medialive } from 'aws-cdk-lib/interfaces';
const inputReference: interfaces_medialive.InputReference = {
  inputArn: 'inputArn',
  inputId: 'inputId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_medialive as interfaces_medialive

input_reference = interfaces_medialive.InputReference(
    input_arn="inputArn",
    input_id="inputId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.medialive.*;

InputReference inputReference = InputReference.builder()
        .inputArn("inputArn")
        .inputId("inputId")
        .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.Interfaces.MediaLive;

var inputReference = new InputReference {
    InputArn = "inputArn",
    InputId = "inputId"
};
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"

inputReference := &InputReference{
	InputArn: jsii.String("inputArn"),
	InputId: jsii.String("inputId"),
}

Properties ​

inputArnstringinput_arnstrinputArnStringInputArnstringInputArn*stringrequired#
The ARN of the Input resource.
inputIdstringinput_idstrinputIdStringInputIdstringInputId*stringrequired#
The Id of the Input resource.