AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Connect::SecurityKey

CfnSecurityKey

The security key for the instance. > Only two security keys are allowed per Amazon Connect instance.

Import

import { CfnSecurityKey } from 'aws-cdk-lib/aws-connect';

Or use the module namespace:

import * as connect from 'aws-cdk-lib/aws-connect';
// connect.CfnSecurityKey

Properties

Configuration passed to the constructor as CfnSecurityKeyProps.

instanceIdRequired
string | IInstanceRef

The Amazon Resource Name (ARN) of the instance. *Minimum* : `1` *Maximum* : `100`

keyRequired
string

A valid security key in PEM format. For example:. `"-----BEGIN PUBLIC KEY-----\ [a lot of characters] ----END PUBLIC KEY-----"` *Minimum* : `1` *Maximum* : `1024`

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter