SshKey.reference constructor

SshKey.reference(
  1. String urn
)

Creates a typed reference to an existing SshKey resource.

Implementation

SshKey.reference(String urn)
  : super(
      'aws:transfer/sshKey:SshKey',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  body = registerOutput<String>('body');
  region = registerOutput<String>('region');
  serverId = registerOutput<String>('serverId');
  sshKeyId = registerOutput<String>('sshKeyId');
  userName = registerOutput<String>('userName');
}