SshKey constructor
SshKey(
- String name, {
- SshKeyArgs? args,
- CustomResourceOptions? options,
Creates a new SshKey.
name The Pulumi resource name.
args Arguments used to configure this SshKey. The set of arguments for SshKey.
options Resource options controlling this resource's behavior.
Implementation
SshKey(
String name, {
SshKeyArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:transfer/sshKey:SshKey',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
body = registerOutput<String>('body');
region = registerOutput<String>('region');
serverId = registerOutput<String>('serverId');
sshKeyId = registerOutput<String>('sshKeyId');
userName = registerOutput<String>('userName');
}