Skip to content
v2.278.0

StreamKeyReference Struct ​

A reference to a StreamKey resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ivs as interfaces_ivs } from 'aws-cdk-lib/interfaces';
const streamKeyReference: interfaces_ivs.StreamKeyReference = {
  streamKeyArn: 'streamKeyArn',
};
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_ivs as interfaces_ivs

stream_key_reference = interfaces_ivs.StreamKeyReference(
    stream_key_arn="streamKeyArn"
)
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.ivs.*;

StreamKeyReference streamKeyReference = StreamKeyReference.builder()
        .streamKeyArn("streamKeyArn")
        .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.Ivs;

var streamKeyReference = new StreamKeyReference {
    StreamKeyArn = "streamKeyArn"
};
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"

streamKeyReference := &StreamKeyReference{
	StreamKeyArn: jsii.String("streamKeyArn"),
}

Properties ​

streamKeyArnstringstream_key_arnstrstreamKeyArnStringStreamKeyArnstringStreamKeyArn*string required #
The Arn of the StreamKey resource.