AWS::Connect::SecurityKey
The security key for the instance.
Only two security keys are allowed per Amazon Connect instance.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::Connect::SecurityKey", "Properties" : { "InstanceId" :
String
, "Key" :String
} }
YAML
Type: AWS::Connect::SecurityKey Properties: InstanceId:
String
Key:String
Properties
InstanceId
-
The Amazon Resource Name (ARN) of the instance.
Minimum:
1
Maximum:
100
Required: Yes
Type: String
Update requires: Replacement
Key
-
A valid security key in PEM format.
Minimum:
1
Maximum:
1024
Required: Yes
Type: String
Update requires: Replacement
Return values
Ref
Fn::GetAtt
Examples
Specify a security key for an Amazon Connect instance
The following example specifies a security key for an Amazon Connect instance.
YAML
AWSTemplateFormatVersion: 2010-09-09 Description: Specifies a security key for an Amazon Connect instance Resources: SecurityKey: Type: AWS::Connect::SecurityKey Properties: InstanceId: arn:aws:connect:region-name:aws-account-id:instance/instance-arn Key: "valid-pem-key"