AuthKeyProperty Struct
The shared Slurm key for authentication, also known as the cluster secret .
| 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_pcs as pcs } from 'aws-cdk-lib';
const authKeyProperty: pcs.CfnCluster.AuthKeyProperty = {
secretArn: 'secretArn',
secretVersion: 'secretVersion',
};
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_pcs as pcs
auth_key_property = pcs.CfnCluster.AuthKeyProperty(
secret_arn="secretArn",
secret_version="secretVersion"
)
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.pcs.*;
AuthKeyProperty authKeyProperty = AuthKeyProperty.builder()
.secretArn("secretArn")
.secretVersion("secretVersion")
.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.PCS;
var authKeyProperty = new AuthKeyProperty {
SecretArn = "secretArn",
SecretVersion = "secretVersion"
};
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"
authKeyProperty := &AuthKeyProperty{
SecretArn: jsii.String("secretArn"),
SecretVersion: jsii.String("secretVersion"),
}