Skip to content
v2.277.0

Experimental

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

StreamKeyProps Struct ​

Properties for creating a new Stream Key.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ivs_alpha from '@aws-cdk/aws-ivs-alpha';

declare const channel: ivs_alpha.Channel;
const streamKeyProps: ivs_alpha.StreamKeyProps = {
  channel: channel,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ivs_alpha as ivs_alpha

# channel: ivs_alpha.Channel

stream_key_props = ivs_alpha.StreamKeyProps(
    channel=channel
)
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.ivs.alpha.*;

Channel channel;

StreamKeyProps streamKeyProps = StreamKeyProps.builder()
        .channel(channel)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.IVS.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Ivs.Alpha;

Channel channel;

var streamKeyProps = new StreamKeyProps {
    Channel = channel
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdkivsalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import ivs_alpha "github.com/aws/aws-cdk-go/awscdkivsalpha"

var channel Channel

streamKeyProps := &StreamKeyProps{
	Channel: channel,
}

Properties ​

channelIChannelchannelIChannelchannelIChannelChannelIChannelChannelIChannel required #
Channel ARN for the stream.