View a markdown version of this page

AWS::Transfer::HostKey - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Transfer::HostKey

The AWS::Transfer::HostKey resource Property description not available. for Transfer.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::Transfer::HostKey", "Properties" : { "Description" : String, "HostKeyBody" : String, "ServerId" : String, "Tags" : [ Tag, ... ] } }

YAML

Type: AWS::Transfer::HostKey Properties: Description: String HostKeyBody: String ServerId: String Tags: - Tag

Properties

Description

The text description for this host key.

Required: No

Type: String

Pattern: ^[\p{Print}]*$

Minimum: 0

Maximum: 200

Update requires: No interruption

HostKeyBody

Property description not available.

Required: No

Type: String

Maximum: 4096

Update requires: Replacement

ServerId

Property description not available.

Required: Yes

Type: String

Pattern: ^s-([0-9a-f]{17})$

Minimum: 19

Maximum: 19

Update requires: Replacement

Tags

Key-value pairs that can be used to group and search for host keys.

Required: No

Type: Array of Tag

Maximum: 50

Update requires: No interruption

Return values

Ref

Fn::GetAtt

Arn

The unique Amazon Resource Name (ARN) for the host key.

DateImported

The date on which the host key was added to the server.

HostKeyFingerprint

The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.

HostKeyId

A unique identifier for the host key.

Type

The encryption algorithm that is used for the host key. The Type parameter is specified by using one of the following values:

  • ssh-rsa

  • ssh-ed25519

  • ecdsa-sha2-nistp256

  • ecdsa-sha2-nistp384

  • ecdsa-sha2-nistp521