AWS::Connect::SecurityKey
The security key for the instance.
Note
Only two security keys are allowed per Amazon Connect instance.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::Connect::SecurityKey", "Properties" : { "InstanceId" :String, "Key" :String} }
YAML
Type: AWS::Connect::SecurityKey Properties: InstanceId:StringKey:String
Properties
InstanceId-
The Amazon Resource Name (ARN) of the instance.
Minimum:
1Maximum:
100Required: Yes
Type: String
Update requires: Replacement
Key-
A valid security key in PEM format.
Minimum:
1Maximum:
1024Required: 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"