Skip to content
v2.278.0

Experimental

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

KeyType Class ​

Key types used across AWS Elemental MediaConnect.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mediaconnect_alpha from '@aws-cdk/aws-mediaconnect-alpha';
const keyType = mediaconnect_alpha.KeyType.of('value');
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_mediaconnect_alpha as mediaconnect_alpha

key_type = mediaconnect_alpha.KeyType.of("value")
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.mediaconnect.alpha.*;

KeyType keyType = KeyType.of("value");
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaConnect.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect.Alpha;

var keyType = KeyType.Of("value");
go
// Install: go get github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import mediaconnect_alpha "github.com/aws/aws-cdk-go/awsmediaconnectalpha"

keyType := mediaconnect_alpha.KeyType_Of(jsii.String("value"))

Properties ​

SRT_PASSWORDKeyTypeSRT_PASSWORDKeyTypeSRT_PASSWORDKeyTypeSRT_PASSWORDKeyTypeSRT_PASSWORDKeyType static #
Option for SRT Password.
STATIC_KEYKeyTypeSTATIC_KEYKeyTypeSTATIC_KEYKeyTypeSTATIC_KEYKeyTypeSTATIC_KEYKeyType static #
Option for Static Key.
valuestringvaluestrvalueStringValuestringValue*string #
The key type string value.

Methods ​

of(value: string): KeyType // chainable@staticmethod def of(value: str) -> KeyTypepublic static KeyType of(String value)public static KeyType Of(string value)func Of(Value *string) KeyType static #
Use a custom key type value.
1 parameter

Parameters

  • valuevaluevaluevalueValue — The key type string value.
toString(): stringdef to_string(self, ) -> strpublic String toString()public string ToString()func ToString() *string #
Returns the string value.