CfnHostKeyMixinProps

class aws_cdk.cfn_property_mixins.aws_transfer.CfnHostKeyMixinProps(*, description=None, host_key_body=None, server_id=None, tags=None)

Bases: object

Properties for CfnHostKeyPropsMixin.

Parameters:
  • description (Optional[str]) – The text description for this host key.

  • host_key_body (Optional[str]) – The private key portion of an SSH key pair. Transfer Family accepts RSA, ECDSA, and ED25519 keys.

  • server_id (Optional[str]) – The identifier of the server that contains the host key.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – Key-value pairs that can be used to group and search for host keys.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-hostkey.html

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_transfer as transfer

cfn_host_key_mixin_props = transfer.CfnHostKeyMixinProps(
    description="description",
    host_key_body="hostKeyBody",
    server_id="serverId",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

description

The text description for this host key.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-hostkey.html#cfn-transfer-hostkey-description

host_key_body

The private key portion of an SSH key pair.

Transfer Family accepts RSA, ECDSA, and ED25519 keys.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-hostkey.html#cfn-transfer-hostkey-hostkeybody

server_id

The identifier of the server that contains the host key.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-hostkey.html#cfn-transfer-hostkey-serverid

tags

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-hostkey.html#cfn-transfer-hostkey-tags