EndpointEncryptionSecretConfigurationProperty Struct Added in v2.276.0
The configuration for the Secrets Manager secret that holds the key or passphrase used to encrypt an endpoint connection.
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';
const endpointEncryptionSecretConfigurationProperty: mediaconnect.CfnDestinationEndpoint.EndpointEncryptionSecretConfigurationProperty = {
secretArn: 'secretArn',
};
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
endpoint_encryption_secret_configuration_property = mediaconnect.CfnDestinationEndpoint.EndpointEncryptionSecretConfigurationProperty(
secret_arn="secretArn"
)
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.*;
EndpointEncryptionSecretConfigurationProperty endpointEncryptionSecretConfigurationProperty = EndpointEncryptionSecretConfigurationProperty.builder()
.secretArn("secretArn")
.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 endpointEncryptionSecretConfigurationProperty = new EndpointEncryptionSecretConfigurationProperty {
SecretArn = "secretArn"
};
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"
endpointEncryptionSecretConfigurationProperty := &EndpointEncryptionSecretConfigurationProperty{
SecretArn: jsii.String("secretArn"),
}
Properties
The ARN of the Secrets Manager secret that holds the key or passphrase.
notes
The secret must be encrypted with a customer managed Amazon Web Services KMS key that is enabled and symmetric; it cannot use the Amazon Web Services managed key aws/secretsmanager. The secret must be in the same Amazon Web Services account and Region as the endpoint.