CopyFile constructor

CopyFile(
  1. String name, {
  2. CopyFileArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new CopyFile. name The Pulumi resource name. args Arguments used to configure this CopyFile. The set of arguments for CopyFile. options Resource options controlling this resource's behavior.

Implementation

CopyFile(
  String name, {
  CopyFileArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'command:remote:CopyFile',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  connection = registerOutput<Connection>('connection', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return Connection.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  localPath = registerOutput<String>('localPath');
  remotePath = registerOutput<String>('remotePath');
  triggers = registerOutput<List<Map<String, dynamic>>?>('triggers');
}