EndpointEncryptionConfigurationProperty Struct
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediaconnect as mediaconnect } from 'aws-cdk-lib';
declare const automatic: any;
const endpointEncryptionConfigurationProperty: mediaconnect.CfnRouterInput.EndpointEncryptionConfigurationProperty = {
automatic: automatic,
secretsManager: {
encryptionSecret: {
secretArn: 'secretArn',
},
// the properties below are optional
encryptionSecretType: 'encryptionSecretType',
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_mediaconnect as mediaconnect
# automatic: Any
endpoint_encryption_configuration_property = mediaconnect.CfnRouterInput.EndpointEncryptionConfigurationProperty(
automatic=automatic,
secrets_manager=mediaconnect.CfnRouterInput.SecretsManagerEndpointEncryptionConfigurationProperty(
encryption_secret=mediaconnect.CfnRouterInput.EndpointEncryptionSecretConfigurationProperty(
secret_arn="secretArn"
),
# the properties below are optional
encryption_secret_type="encryptionSecretType"
)
)
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.*;
Object automatic;
EndpointEncryptionConfigurationProperty endpointEncryptionConfigurationProperty = EndpointEncryptionConfigurationProperty.builder()
.automatic(automatic)
.secretsManager(SecretsManagerEndpointEncryptionConfigurationProperty.builder()
.encryptionSecret(EndpointEncryptionSecretConfigurationProperty.builder()
.secretArn("secretArn")
.build())
// the properties below are optional
.encryptionSecretType("encryptionSecretType")
.build())
.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.AWS.MediaConnect;
var automatic;
var endpointEncryptionConfigurationProperty = new EndpointEncryptionConfigurationProperty {
Automatic = automatic,
SecretsManager = new SecretsManagerEndpointEncryptionConfigurationProperty {
EncryptionSecret = new EndpointEncryptionSecretConfigurationProperty {
SecretArn = "secretArn"
},
// the properties below are optional
EncryptionSecretType = "encryptionSecretType"
}
};
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"
var automatic interface{}
endpointEncryptionConfigurationProperty := &EndpointEncryptionConfigurationProperty{
Automatic: automatic,
SecretsManager: &SecretsManagerEndpointEncryptionConfigurationProperty{
EncryptionSecret: &EndpointEncryptionSecretConfigurationProperty{
SecretArn: jsii.String("secretArn"),
},
// the properties below are optional
EncryptionSecretType: jsii.String("encryptionSecretType"),
},
}
Properties
automaticoptionalanyautomaticoptionalAnyautomaticoptionalObjectAutomaticoptionalobjectAutomaticoptionalinterface{} #The configuration for automatic endpoint encryption.
In this mode, MediaConnect determines the encryption key when the endpoint connects. This type does not require any additional settings.
secretsManageroptionalIResolvable | CfnRouterInput.secrets_manageroptionaltyping.Union[IResolvable, SecretsManagerEndpointEncryptionConfigurationProperty]secretsManageroptionalIResolvableSecretsManageroptionalIResolvableSecretsManageroptionalinterface{} #The endpoint encryption configuration for connections that use a key or passphrase that you store in Secrets Manager.