ProviderProperty Struct
Identifies the AWS Key Management Service ( AWS ) key used to encrypt the secrets.
| 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_eks as eks } from 'aws-cdk-lib';
const providerProperty: eks.CfnCluster.ProviderProperty = {
keyArn: 'keyArn',
};
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_eks as eks
provider_property = eks.CfnCluster.ProviderProperty(
key_arn="keyArn"
)
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.eks.*;
ProviderProperty providerProperty = ProviderProperty.builder()
.keyArn("keyArn")
.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.EKS;
var providerProperty = new ProviderProperty {
KeyArn = "keyArn"
};
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"
providerProperty := &ProviderProperty{
KeyArn: jsii.String("keyArn"),
}
Properties
keyArnoptionalstringkey_arnoptionalstrkeyArnoptionalStringKeyArnoptionalstringKeyArnoptional*string #Amazon Resource Name (ARN) or alias of the KMS key.
notes
The KMS key must be symmetric and created in the same AWS Region as the cluster. If the KMS key was created in a different account, the IAM principal must have access to the KMS key. For more information, see Allowing users in other accounts to use a KMS key in the AWS Key Management Service Developer Guide .