Skip to content
v2.274.0

CfnSecurityKeyProps Struct ​

Properties for defining a CfnSecurityKey.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const cfnSecurityKeyProps: connect.CfnSecurityKeyProps = {
  instanceId: 'instanceId',
  key: 'key',
};

Properties ​

instanceIdstring | IInstanceRefinstance_idtyping.Union[str, IInstanceRef]instanceIdStringInstanceIdstringInstanceIdinterface{}required#
The Amazon Resource Name (ARN) of the instance.

Minimum : 1

Maximum : 100

keystringkeystrkeyStringKeystringKey*stringrequired#
A valid security key in PEM format. For example:.

"-----BEGIN PUBLIC KEY-----\ [a lot of characters] ----END PUBLIC KEY-----"

Minimum : 1

Maximum : 1024